api-patterns
REST API design patterns, authentication, and error handling for this SaaS application
REST API design patterns, authentication, and error handling for this SaaS application
Prevent leaking database errors and P-codes to clients. Use when implementing API error handling or user-facing error messages.
Backend patterns for Convex queries, mutations, and Clerk authentication integration
ALWAYS USE when working with Pydantic models, BaseModel, Field, validators, or data contracts. MUST be loaded before creating any Pydantic schemas, configuration classes, or API contracts. Provides v2 syntax validation and SDK research steps.
BoxLogのtRPC v11ルーターを作成。サービス層分離、Zodバリデーション、エラーハンドリングを適用。
Auto-generate Pydantic models from schema descriptions with type hints, validation rules, examples, and JSON schema export. 75% token savings (2,000→500).
Standards pour la conception d'API REST. Use when "api", "endpoint", "route", "rest api", "http".
API design and implementation. Use for 'API', 'endpoint', 'route' requests
Generates gRPC/HTTP service handlers for go-kratos microservices. Creates service structs, handler methods, and integrates with protobuf definitions. Use when implementing RPC handlers, adding API endpoints, creating dual transport (HTTP/gRPC) handlers, or connecting transport layer to business logic in kratos services.
Design and implement RESTful API endpoints following REST principles, resource-based URL conventions, and HTTP method best practices. Use this skill when creating new API endpoints, defining routes or controllers, implementing REST resources, updating endpoint URL structures, working with HTTP method handlers (GET, POST, PUT, PATCH, DELETE), implementing API versioning, designing nested resource endpoints, adding query parameter support for filtering/sorting/pagination, setting up route middleware, implementing rate limiting headers, working with API routing configuration files, creating or updating API documentation, or refactoring endpoint structure for consistency. Use when working with Express.js routes, NestJS controllers, FastAPI endpoints, Django views, Rails controllers, or any backend framework's routing mechanisms.
Add a new authenticated business-scoped API endpoint in Kyora backend (Gin) with correct tenant isolation, RBAC/plan gates, error handling, and Swagger annotations.
Design and implement RESTful API endpoints following REST principles with proper HTTP methods, status codes, and resource-based URLs. Use this skill when creating or modifying API endpoints, route handlers, controllers, or API configuration files. Apply when working on REST API design, endpoint implementations, API versioning, request/response handling, HTTP method routing (GET, POST, PUT, PATCH, DELETE), query parameter filtering, API rate limiting, or any file that defines API routes such as routes.py, api.js, controllers/, endpoints/, or API documentation files.
Especialista em design de APIs RESTful e GraphQL, documentação e boas práticas de arquitetura de APIs
This skill should be used when implementing secure, high-performance REST API endpoints for task management with strictly enforced multi-tenant isolation and async performance.
Design new API endpoints following the Hoon-Rust-HTTP pattern used in this NockApp. Use when adding endpoints, modifying SNARK structure, extending the API, or implementing new features.
Use this when implementing TanStack Start server functions and middleware (validation, auth, redirects, request context) in the Cloudflare Workers runtime.
Create Pydantic v2 data models with validation, type hints, and proper configuration. Use when designing data structures or schemas.