api-generator · git:20260901.1a5254f · 2026-09-01 · sha256 b5f8583430b4205b

api-generator git:20260901.1a5254fA

Immutable. This exact content never changes and is served at /api/v1/blob/b5f8583430b4205b.

No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_kbrduzgrwjxtzwxy/b5f8583430b4205b8c193a59d730694f5fda8a14d3e4f6d3603dcea88c12e5c2.json

Then /plugin install api-generator@markdownregistry-kbrduzgrwjxtzwxy in Claude Code. It installs this exact version, the one graded A here, pinned to the commit it was graded at, and leaves it there.

---
name: api-generator
description: Scaffold a new REST route with validation, handler, query and tests.
---

# API generator

Use this skill when a task asks for a new endpoint on the orders service.

## Steps

1. Read `references/route-checklist.md` and confirm every item applies.
2. Add the zod request schema next to the handler in `src/routes`.
3. Add the query builder in `src/db`, never inline SQL in a handler.
4. Write the failing route test first, then implement until it passes.
5. Update `AGENTS.md` only if the layout convention changed.