Api design principles

From Anhvu1107/all-agent-skill · View interactive version

Api design principles is an AI agent skill from the GitHub repository Anhvu1107/all-agent-skill. ALWAYS use this when the request matches 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.

How to use this skill

Skill file

API Design Principles

Selective Reading Rule

Start with:

Then load only the inherited docs, scripts, assets, or examples that match the user's actual task.

Selective Reading Rule

Start with:

Then load only the references, scripts, assets, or examples needed for the user's actual task.

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

Do not use this skill when

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

Limitations

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.