← ClaudeAtlas

api-devlisted

Modern API development patterns for building high-performance, scalable web services. Expert in async/await patterns, REST/GraphQL APIs, middleware, error handling, rate limiting, OpenAPI documentation, testing, and production optimizations. Framework-agnostic patterns that work with Python, Node.js, Go, and other languages.
aiskillstore/marketplace · ★ 329 · API & Backend · score 82
Install: claude install-skill aiskillstore/marketplace
# API Development Patterns & Best Practices This skill provides comprehensive patterns for building modern APIs in 2025, focusing on async/await patterns, performance optimization, security, testing, and production-ready configurations that work across different frameworks and languages. ## When to Use This Skill Use this skill when you need to: - Design RESTful or GraphQL APIs - Implement async/await patterns for high performance - Add middleware for authentication, logging, and validation - Handle errors gracefully with proper HTTP status codes - Implement rate limiting and throttling - Generate OpenAPI/Swagger documentation - Set up comprehensive testing strategies - Optimize API performance with caching and connection pooling - Implement API versioning and backward compatibility - Set up monitoring and observability ## Core API Design Principles ### 1. Async/Await Patterns for Performance ```python # patterns/async_patterns.py import asyncio import aiohttp import aioredis from typing import AsyncGenerator, Optional, List, Dict, Any from contextlib import asynccontextmanager from dataclasses import dataclass from functools import wraps import time @dataclass class RequestMetrics: """Request metrics for monitoring""" duration: float status_code: int endpoint: str method: str user_id: Optional[str] = None def with_metrics(func): """Decorator to add request metrics""" @wraps(func) async def wrapper(*args, **kwargs): start_ti