rest-api-best-practices
Installation
SKILL.md
REST API Best Practices
Use this skill when the main question is how to design, review, or improve a REST API — from URL structure to error formats to security.
Working Style
- Start from what the consumer needs, not from what the database looks like.
- Use HTTP as designed — methods, status codes, and headers carry meaning.
- Express domain capabilities, not data operations.
- Make errors as informative as successes.
- Design for change: version early, break compatibility deliberately.
Design Workflow
- Define the resources.
- What are the concepts the consumer needs to interact with?
- Name them with nouns, in plural form.
- Avoid verbs in URLs — the HTTP method is the verb.