halflength-ampleness75

API Gen — Development skill for Claude Code

Development community

Generate REST API endpoints with routes, validation, error handling, and tests.

How to install API Gen

Installs to ~/.claude/skills/halflength-ampleness75-claude-code-recipes-api-gen/SKILL.md

Terminal
mkdir -p ~/.claude/skills/halflength-ampleness75-claude-code-recipes-api-gen && curl -fsSL https://raw.githubusercontent.com/halflength-ampleness75/claude-code-recipes/HEAD/commands/api-gen.md -o ~/.claude/skills/halflength-ampleness75-claude-code-recipes-api-gen/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What API Gen does


model: sonnet description: Generate REST API endpoints with routes, validation, error handling, and tests

Generate production-quality REST API endpoints from a description provided in `$ARGUMENTS`.

Step 1 — Understand the Requirements

Parse `$ARGUMENTS` to determine:

  • Resource name (e.g., "users", "products", "orders")
  • Operations needed (CRUD by default, or specific operations if stated)
  • Fields and types (if specified, otherwise infer reasonable defaults)
  • **Relat

Alternatives in Development

Full documentation available on GitHub

View Source Repository