Api Design Principles sickn33-api-design-principles

Master REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight developers and stand the test of time.

Works in Claude, ChatGPT, Codex and more
Our test
8/10✓ Verified
tested Dec 6, 2026
GitHub stars
51k
sickn33/agentic-awesome-skills
Added by
0
members
Updated
Dec 6
commit 5480446
Content
6 files
1 script · 41 KB
License
MIT
free to use

What our test found

The skill provides practical REST conventions, pagination and error patterns, plus relevant security and testing checks; its examples are useful but should be verified and adapted before production.

Request we tested it on“Design a REST API for a project-management app where users can list, create, and update projects. Include endpoints, pagination, error handling, and key security considerations.”

Limits spotted

  • The FastAPI template is explicitly a mock and omits persistence and authentication, so it should not be mistaken for production-ready code.
  • Some checklist items are broad or context-dependent; for example, versioning every endpoint and always supporting sparse fieldsets may not suit every API.
  • The main instructions are brief and rely on the linked playbook for substantive guidance.
View on GitHub ↗
name: api-design-principles
description: Master REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight developers and stand the test of time.
metadata:
  aas-risk: safe
  aas-source: community
  aas-date-added: '2026-02-27'

API Design Principles

Master REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight developers and stand the test of time.

Use this skill when

  • Designing new REST or GraphQL APIs
  • Refactoring existing APIs for better usability
  • Establishing API design standards for your team
  • Reviewing API specifications before implementation
  • Migrating between API paradigms (REST to GraphQL, etc.)
  • Creating developer-friendly API documentation
  • Optimizing APIs for specific use cases (mobile, third-party integrations)

Do not use this skill when

  • You only need implementation guidance for a specific framework
  • You are doing infrastructure-only work without API contracts
  • You cannot change or version public interfaces

Instructions

  1. Define consumers, use cases, and constraints.
  2. Choose API style and model resources or types.
  3. Specify errors, versioning, pagination, and auth strategy.
  4. Validate with examples and review for consistency.

Refer to resources/implementation-playbook.md for detailed patterns, checklists, and templates.

Resources

  • resources/implementation-playbook.md for detailed patterns, checklists, and templates.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.