What problem does it solve?
This Skill provides comprehensive guidance and best practices for designing robust and developer-friendly REST and GraphQL APIs, ensuring consistency, scalability, and maintainability.
Core Features & Use Cases
- API Design Principles: Covers RESTful resource-oriented architecture, HTTP method semantics, and GraphQL schema-first development.
- Design Patterns: Offers practical patterns for resource collection design, pagination, filtering, error handling, and HATEOAS for REST, and schema design, resolver patterns, and DataLoader for GraphQL.
- Best Practices & Pitfalls: Details common mistakes and essential guidelines for both API paradigms.
- Use Case: A team is about to design a new microservice API. They can use this Skill to establish clear design standards, choose the right patterns, and avoid common pitfalls, leading to a more successful and maintainable API.
Quick Start
Use the api-design-principles skill to review the best practices for designing RESTful API endpoints.