API Design Principles & Contracts
Establishes standardized API contracts and RESTful design patterns to prevent context drift during framework development.
This skill provides a comprehensive framework for designing robust, scalable APIs by enforcing a contract-first approach. It guides developers and AI agents through the creation of a centralized api-contracts.md file, which serves as the single source of truth for endpoints, request/response schemas, and status codes. By standardizing resource naming, HTTP methods, and validation rules, it eliminates common integration errors, enables parallel frontend/backend development, and ensures consistency across complex, multi-agent coding sessions where context drift might otherwise lead to incorrect endpoint implementation.
主な機能
01Standardized RESTful resource naming and HTTP method mapping
02Detailed validation rule documentation for request payloads
030 GitHub stars
04Unified response envelope and error handling patterns
05Contract-first design orchestration for multi-agent workflows
06Security scope and rate-limiting specification templates
ユースケース
01Planning a new backend service architecture with a single source of truth
02Preventing AI hallucinations and endpoint guessing in long Claude Code sessions
03Syncing frontend and backend development through shared API specifications