What problem does it solve?
This Skill helps you design, review, and standardize intuitive, scalable, and maintainable APIs by providing comprehensive principles and patterns for both REST and GraphQL.
Core Features & Use Cases
- RESTful Design: Learn resource-oriented architecture, HTTP method semantics, and common patterns like pagination, filtering, and HATEOAS.
- GraphQL Design: Understand schema-first development, query/mutation structure, and patterns like Relay-style pagination and DataLoader for efficiency.
- Best Practices & Pitfalls: Avoid common mistakes and implement industry-standard best practices for API versioning, error handling, security, and performance.
- Use Case: When designing a new microservice API, use this Skill to ensure your REST endpoints are well-structured, your GraphQL schema is robust, and your error handling is consistent across the board.
Quick Start
Review the best practices for designing REST APIs by reading the 'references/rest-best-practices.md' document.