api-design
RESTful API 设计最佳实践。当用户需要设计 API 接口、定义端点规范、编写 API 文档、或评估现有 API 设计时使用此技能。
RESTful API 设计最佳实践。当用户需要设计 API 接口、定义端点规范、编写 API 文档、或评估现有 API 设计时使用此技能。
Create new Next.js API routes following project patterns. Use when user mentions "new endpoint", "add API", "create route", or "POST/GET handler".
Patterns for building Next.js API routes in TaxHelper. Use when creating or modifying /api/ routes, adding authentication, validation, rate limiting, or error handling.
controller and API setup and basic patterns. Use when you need controller permissions, controller post data, controller params and queries, or setup a new controller or API route
Cria Server Actions com autenticação, validação Zod e operações de banco de dados usando Drizzle ORM. Use quando precisar criar ou modificar Server Actions seguindo padrões de segurança Bewear.
Generate realistic fake data from JSON schemas, producing 1-50 valid records that conform exactly to the schema. Use when creating sample datasets from schema definitions, populating test databases, or generating example API responses. Returns only valid JSON that passes schema validation.
tRPC router patterns for Otaku Odyssey. Use when creating or modifying tRPC routers, procedures, or API endpoints.
Create RESTful APIs, handle HTTP requests/responses, implement middleware, and connect to databases. Use for building server-side applications and APIs.
Design RESTful APIs with proper HTTP methods, status codes, pagination, filtering, error responses, and OpenAPI documentation. Follows FastAPI best practices with Pydantic validation.
ASP.NET Core controller patterns including thin controllers, routing, parameter binding, response types, and DTOs. Use when creating or reviewing API controllers.
Refactor FastAPI/Python code to improve maintainability, readability, and adherence to best practices. This skill transforms working code into exemplary code following FastAPI patterns, Pydantic v2, and SOLID principles. It addresses fat route handlers, blocking I/O in async routes, code duplication, deep nesting, missing type hints, and improper dependency injection. Apply when you notice business logic in routes, Pydantic v1 patterns, or code violating PEP 8 conventions.
Debuggt Python Flask API Server, findet Endpoint-Fehler, CORS-Probleme
Build Python backend APIs with FastAPI, Django, Flask, SQLAlchemy, and Pydantic. WHEN: Creating REST APIs, implementing authentication (JWT, OAuth2), database integration with SQLAlchemy/Django ORM, Pydantic validation, background tasks with Celery, OpenAPI documentation. WHEN NOT: Frontend development, async-specific patterns (use python-async-patterns), data science workflows (use python-data-transform). - ORM : SQLAlchemy 2.0, Django ORM, Tortoise - Library : Pydantic v2, Marshmallow
Next.js API route patterns for this project. Runtime config, circuit breakers, demo mode fallback, multiple AWS invocation strategies. Triggers on "api route", "next.js", "route handler", "POST", "GET".
FastAPI best practices, async patterns, and Pydantic validation
Build and debug data mutations and protected access in this No Name Running Club app using Next.js App Router server actions + Prisma + NextAuth v5. Use when implementing/repairing server actions, route handlers, admin-only flows, session/role propagation, Prisma queries/transactions, or caching/revalidation behavior.
Generate Python FastAPI code following project design patterns. Use when creating models, schemas, repositories, services, controllers, database migrations, authentication, or tests. Enforces layered architecture, async patterns, OWASP security, and Alembic migration naming conventions (yyyymmdd_HHmm_feature).
Backend patterns for MiGestion API - Express, Prisma, module architecture. Trigger: When working on API code (controllers, services, repositories, middleware, validation).
Design and implement RESTful APIs, GraphQL endpoints, and backend API architecture following modern standards. Use this skill when creating or modifying API endpoints, route handlers, controllers, API middleware, authentication/authorization logic, or any files that define HTTP endpoints such as routes.py, api.js, controllers/, endpoints/, or API specification files (OpenAPI/Swagger). Apply this skill when implementing API versioning, rate limiting, request/response handling, API documentation, or when working with API gateway configurations. This skill is essential for building scalable, secure, and well-documented APIs that follow RESTful principles, handle errors gracefully, and provide consistent developer experiences across microservices and serverless architectures.
Configure Moodle Boost Union theme settings and customizations. Use when theming Moodle, configuring layouts, or customizing Boost Union features.