0xc000022070/agentic-flake/api-design
Claude Code and agent skill by 0xc000022070/agentic-flake
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
REST API design patterns and conventions
Install
npx vskill@latest install 0xc000022070/agentic-flake/api-designSKILL.md
The same SKILL.md was published earlier as 0xc000022070/agentic-flake/api-design.
API Design Patterns
Guidelines for designing REST APIs.
Resource-Oriented Design
Design around resources, not actions.
Good
GET /users/123— Get a userPOST /users— Create a userPUT /users/123— Update a userDELETE /users/123— Delete a user
Avoid
GET /getUser— Action-orientedPOST /createNewUser— Redundant with HTTP method
HTTP Methods
| Method | Purpose | Idempotent | |
|---|---|---|---|
| GET | Retrieve | Yes | |
| POST | Create | No | |
| PUT | Full update | Yes | |
| PATCH | Partial update | No | |
| DELETE | Delete | Yes |
Status Codes
2xx Success
200 OK— Request succeeded201 Created— Resource created (include Location header)204 No Content— Success, no response body
4xx Client Error
400 Bad Request— Invalid input401 Unauthorized— Authentication required403 Forbidden— Authenticated, not allowed404 Not Found— Resource doesn't exist422 Unprocessable Entity— Valid format, semantic error
5xx Server Error
500 Internal Server Error— Unexpected error503 Service Unavailable— Temporarily down
Error Responses
Consistent error format:
Request/Response Bodies
JSON Structure
- Use camelCase for fields
- Flat structure (max 2-3 nesting levels)
- Avoid redundant wrappers
Timestamps
- Use ISO 8601:
2026-01-15T10:30:00Z - Timezone-aware (UTC)
Pagination
Response:
Filtering, Sorting
Filtering
Sorting
Versioning
URL Path (Recommended)
Header
Announce 12 months before deprecating old versions.
Authentication
Bearer Token
API Key
Rate Limiting
Include in response headers:
Common Patterns
Nested Resources
Or flatten with query params:
Batch Operations
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingexamples/3-home-manager/skills/api-design/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/0xc000022070/agentic-flake/api-design)