
API Endpoint Builder
Scaffolds REST API endpoints with validation, auth checks, error handling and docs
- Repository
- sickn33/agentic-awesome-skills
- Stars
- 49,023
- Licence
- MIT
- Files
- 2 files
What it does
When you ask an AI agent to build a backend API route, this skill makes it follow a consistent pattern: define the route, validate incoming data, check authentication and authorization, write the handler, return standard status codes and response shapes, and add documentation and optionally tests. It gives the agent code examples in Express and Fastify style to copy from. It only guides how code is written; it does not deploy or run anything by itself.
Great for
- Developers adding new CRUD or user-facing endpoints to an existing Express or Fastify backend
- Teams that want a consistent response format and status code convention across endpoints
- Engineers who want a security checklist (validation, auth, no leaked secrets) applied while code is drafted
Skip it if
- Non-developers without a backend project: the output is code that needs a server, database and review to be useful
- Production auth or payments code used without review: the examples are generic scaffolds (e.g. simple email/password checks, a placeholder db object) and may miss security requirements for your stack
- Projects not using JavaScript/Node frameworks: examples are JavaScript only, so other languages will need the agent to adapt the patterns
Try asking
- “Create a POST /api/users endpoint with email and password validation and bcrypt hashing”
- “Build a paginated GET endpoint for orders with status filtering and sorting”
- “Add CRUD routes for a products resource following our existing error format”
- “Write documentation comments and Jest tests for the new login endpoint”
Install in 3 steps
- 1
Download the skill
The ZIP contains the 2 original files, the MIT licence and an attribution note.
api-endpoint-builder.zip - 2
Add it to your agent
Claude Code (all projects)
mkdir -p ~/.claude/skills && unzip api-endpoint-builder.zip -d ~/.claude/skills/Claude Code / Agent SDK (this project only)
mkdir -p .claude/skills && unzip api-endpoint-builder.zip -d .claude/skills/Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.
- 3
Ask for the task
No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.
Get better results
- Give the agent your framework, database and existing auth method so it adapts the scaffold instead of using the generic examples
- Review all generated validation and authorization logic yourself before merging; the skill itself flags its security checklist as a guide, not a guarantee
- Ask for tests explicitly, since the skill only includes tests when requested
What's inside
- README.md
- SKILL.md
Redistributed unmodified from sickn33/agentic-awesome-skills under the MIT licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.