api-endpoint-builder
Skill by sickn33
Builds reviewable REST API endpoint scaffolds with validation, error handling, authentication and documentation. Aimed at developers adding routes to backend features or existing APIs.
Install api-endpoint-builder
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/api-endpoint-builder ~/.claude/skills/api-endpoint-builderRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/api-endpoint-builder ~/.gemini/antigravity-cli/skills/api-endpoint-builderAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install api-endpoint-builder in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
API Endpoint Builder is an agent skill that helps an assistant create REST API endpoint scaffolds. For each endpoint it covers a route definition, input validation for body, params and query, authentication and authorization checks, business logic, error handling, response formatting, API documentation and optional tests. The skill includes Express and Fastify examples, a status code list, a standard response format, a security checklist and pagination and filtering patterns.
It is aimed at developers who ask for a new API endpoint, a REST API, or CRUD operations on a backend. The source says the examples need an actual database, models, auth middleware and application setup, and that the output is not a substitute for environment-specific testing or expert review. The metadata lists a critical risk level.
Written from the project's SKILL.md and checked against it.
What it can do
- Route definitionCreates route handlers with an HTTP method, shown for Express and Fastify.
- Input validationValidates request body, params and query before processing.
- Auth checksAdds authentication and authorization checks to protected routes.
- Error handlingProvides a centralized error handler that hides error details in production.
- Response formattingUses a consistent success, error and pagination response structure.
- API documentationProvides a documentation template with route, body, returns and example fields.
- Example testsIncludes sample tests for valid and invalid requests, if tests are requested.
- Pagination and filteringShows list endpoints with page limits and allowlisted filter and sort values.
What you need
- Existing database and models
- Authentication middleware
- Existing application setup
Try asking
- Create a POST /api/users endpoint with email, name and password validation
- Build CRUD endpoints for resources with error handling and documentation
- Add a paginated, filtered and sorted list endpoint to my API
Good to know
- Code fragments require your own database, models, auth middleware and app setup.
- Output is not a substitute for environment-specific validation, testing or expert review.
- Tests are included only if requested.
- The metadata marks the skill as critical risk.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/api-endpoint-builder/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
README.md757 B -
SKILL.md8 KB
Alternatives to api-endpoint-builder
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
api-endpoint-builder: common questions
Does it write tests for endpoints?
Tests are listed as part of an endpoint only if requested. The skill includes a sample test file for creating a user and rejecting an invalid email.
How does it handle duplicate users?
The example checks for an existing user and returns 409. The source says a precheck is not enough, so the database should enforce unique normalized emails and map duplicate-key races to 409.
Does it avoid returning passwords?
The example removes the password before responding, and the security checklist says no sensitive data such as passwords or tokens should appear in responses.
How do I install api-endpoint-builder?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is api-endpoint-builder free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is api-endpoint-builder safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to api-endpoint-builder?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
