dragonked2/alphacode/api-design

Claude Code and agent skill by dragonked2/alphacode

Trust tier 3
  • community
Source check pending

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

RESTful and GraphQL API design: OpenAPI specs, pagination, rate limiting, error schemas, versioning, and backwards compatibility.

Install

npx vskill@latest install dragonked2/alphacode/api-design

SKILL.md

API Design Skill

Design clean, consistent, and maintainable APIs.

RESTful Design Principles

  • Use nouns for resources, HTTP verbs for actions
  • Consistent URL patterns: /resources/{id}/sub-resources
  • Proper HTTP status codes (200, 201, 204, 400, 401, 403, 404, 409, 422, 500)
  • Stateless: each request contains all needed info
  • HATEOAS: include links for discoverability

API Response Schema

json
{
"data": {},
"meta": { "page": 1, "per_page": 20, "total": 100 },
"links": { "self": "...", "next": "...", "prev": "..." },
"errors": []
}

Error Schema

json
{
"error": {
"code": "VALIDATION_ERROR",
"message": "Human-readable description",
"details": [{"field": "email", "issue": "invalid format"}]
}
}

Key Patterns

  • Pagination: cursor-based for large datasets, offset for small
  • Filtering: query params ?status=active&created_after=2024-01-01
  • Sorting: ?sort=-created_at,name
  • Rate Limiting: 429 + Retry-After header
  • Versioning: URL path (/v2/) or header
  • Idempotency: idempotency keys for safe retries

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
342
Repository forks
20
7-day trend score
0

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/dragonked2/alphacode/api-design/badge)](https://verified-skill.com/skills/dragonked2/alphacode/api-design)

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