i-onlabs/claude-code-skills/api-design-patterns
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Use when creating REST APIs, FastAPI endpoints, GraphQL schemas, or designing API architecture. Provides patterns for models, services, routers, and comprehensive testing.
Install
npx vskill@latest install i-onlabs/claude-code-skills/api-design-patternsSKILL.md
API Design Patterns
When This Skill Activates
- Creating new API endpoints
- Designing REST or GraphQL APIs
- Building FastAPI/Flask/Express services
- Questions about API architecture
- CRUD operation implementation
The 5-Layer Pattern
Every API endpoint should have these layers:
Model Patterns (Pydantic)
Service Layer Pattern
Router Pattern (FastAPI)
REST Conventions
| Operation | Method | Path | Status | |
|---|---|---|---|---|
| Create | POST | /users | 201 | |
| Read one | GET | /users/{id} | 200 | |
| Read all | GET | /users | 200 | |
| Update | PATCH | /users/{id} | 200 | |
| Replace | PUT | /users/{id} | 200 | |
| Delete | DELETE | /users/{id} | 204 |
Pagination Pattern
Error Handling
Integration
- Works with
/fastapi-endpointcommand - Delegates complex work to
backend-developeragent - Follows
python-best-practicesskill for code quality
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 repositoryCheckingapi-design-patterns/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/i-onlabs/claude-code-skills/api-design-patterns)