xiaowen-jiang/agent-enterprise/api-design

Claude Code and agent skill by xiaowen-jiang/agent-enterprise

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Design RESTful APIs with endpoint specifications, request/response schemas, and error handling

Install

npx vskill@latest install xiaowen-jiang/agent-enterprise/api-design

SKILL.md

Process

  1. Identify resources — Map the domain entities to REST resources (nouns, not verbs)
  2. Define endpoints — GET, POST, PUT/PATCH, DELETE for each resource
  3. Design request/response schemas — JSON payloads with field types, required/optional
  4. Error handling — Standard error response format with HTTP status codes
  5. Pagination & filtering — Cursor or offset-based pagination, query parameters for filtering
  6. Authentication — Specify auth method (API key, Bearer token, OAuth)
  7. Versioning — URL prefix (/api/v1) or header-based versioning strategy

Output Format

For each endpoint, provide:

### [METHOD] /api/resource
Description: What this endpoint does
Auth: Required / Optional
Request Body:
{ field: type (required/optional) }
Response 200:
{ field: type }
Error Responses:
400: Validation error
404: Resource not found

Guidelines

  • Use plural nouns for collections (/users, not /user)
  • Use nested routes for relationships (/users/{id}/orders)
  • Keep payloads flat — avoid deeply nested objects
  • Return created/updated resource in response body
  • Use consistent field naming (camelCase or snake_case, not both)
  • Include pagination metadata in list responses (total, page, per_page)
  • Document rate limits if applicable

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

Popularity

Repository stars
52
Repository forks
3
7-day trend score
20

Stars and forks are for the whole GitHub repository, not this skill alone. 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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/xiaowen-jiang/agent-enterprise/api-design/badge)](https://verified-skill.com/skills/xiaowen-jiang/agent-enterprise/api-design)

Something wrong with this skill or its page? Tell us.