kevinzai/commander/api-first-workflow
Claude Code and agent skill by kevinzai/commander
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
API-first development — OpenAPI spec authoring, contract-first dev, SDK generation, mock servers, and API documentation
Install
npx vskill@latest install kevinzai/commander/api-first-workflowSKILL.md
API-First Development Workflow
Design the API contract before writing any implementation code. The spec IS the source of truth.
Process
1. Design the API Spec (OpenAPI 3.1)
2. Generate Types from Spec
3. Mock Server for Frontend Development
4. Contract Testing
5. API Documentation
API Design Rules
- Use nouns, not verbs —
/usersnot/getUsers - Plural resource names —
/usersnot/user - Version in URL —
/api/v1/users - Consistent error format —
{ error: { code, message } } - Pagination on all list endpoints —
?page=1&limit=20 - Use HTTP status codes correctly — 200, 201, 204, 400, 401, 403, 404, 409, 422, 500
- Idempotency keys for mutations —
Idempotency-Keyheader - Rate limiting headers —
X-RateLimit-Limit,X-RateLimit-Remaining
Versioning Strategy
| Strategy | When | Example | |
|---|---|---|---|
| URL versioning | Public APIs, breaking changes | /api/v2/users | |
| Header versioning | Internal APIs | Accept: application/vnd.api.v2+json | |
| No versioning | Rapid iteration, single client | Evolve in place |
Checklist
- [ ] OpenAPI spec written BEFORE implementation
- [ ] Types generated from spec (not hand-written)
- [ ] Mock server running for frontend team
- [ ] Contract tests validating implementation matches spec
- [ ] API documentation accessible at
/docs - [ ] Error responses follow consistent format
- [ ] Pagination on all list endpoints
- [ ] Authentication documented in spec
- [ ] Rate limiting configured and documented
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 repositoryCheckingskills/api-first-workflow/SKILL.md
Popularity
- Repository stars
- 6
- Repository forks
- 1
- 7-day trend score
- 10
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 9 Oct 2026, a month ago.
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/kevinzai/commander/api-first-workflow)