forest6511/claude-code-cookbook/api-design

Claude Code and agent skill by forest6511/claude-code-cookbook

Trust tier 3
  • community
Source check pending

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

Design a REST API and generate an OpenAPI 3.1 spec. Use for new APIs or documenting existing endpoints.

Install

npx vskill@latest install forest6511/claude-code-cookbook/api-design

SKILL.md

The same SKILL.md was published earlier as forest6511/claude-code-cookbook/api-design.

API Design & OpenAPI Generation

Target

$ARGUMENTS

Phase 1: Resource Design

Define the resource:

  • Resource name (plural English noun)
  • Attributes (type, required/optional, validation)
  • Relationships to other resources
Endpoint Template
MethodPathDescriptionResponse
GET/resourcesList200: array
GET/resources/:idDetail200/404
POST/resourcesCreate201/400
PUT/resources/:idUpdate200/404
DELETE/resources/:idDelete204/404
Design Principles
  • RESTful (resource-oriented, stateless)
  • Consistent naming (kebab-case paths, camelCase fields)
  • Standard HTTP status codes
  • Pagination, filtering, and sorting patterns

Phase 2: OpenAPI 3.1 Spec Generation

Generate a YAML file with:

  • info (title, version, description)
  • paths (all endpoints)
  • components/schemas (request/response schemas)
  • components/responses (standard error format)
Standard Error Format

{ "error": { "code": "RESOURCE_NOT_FOUND", "message": "The requested resource was not found" } }

Phase 3: Output

  1. Save the OpenAPI 3.1 spec as YAML
  2. Display a summary of design decisions

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
1
Repository forks
1
7-day trend score
8

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/forest6511/claude-code-cookbook/api-design/badge)](https://verified-skill.com/skills/forest6511/claude-code-cookbook/api-design)

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