api-builder
Skill48 starsChanged 5 months agoMITView on GitHub
Design, scaffold, and document REST/GraphQL APIs with OpenAPI specs. Use when the user wants to build an API, create endpoints, generate docs, or scaffold a backend service.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- berriosb/data-analytics-agentstheir own version, first seen Oct 20, 2026
- kevinaimonster/skill-hubtheir own version, first seen Mar 18, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- kevinaimonster/skill-hub★ 4same name
- berriosb/data-analytics-agents★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository22 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agent-hardeningSkill
- arxiv-watcherSkill
- data-analystSkill
- diagram-makerSkill
- docker-managerSkill
- github-workflowSkill
- google-workspaceSkill
- hermeshub-reviewerSkill
- hermes-workspaceSkill
- notion-integrationSkill
- paperclipSkill
- project-plannerSkill
- react-reasoningSkill
- relay-for-telegramSkill
- scraplingSkill
- security-auditorSkill
- Skill FactorySkill
- slack-botSkill
- synapse-swarmSkill
- test-runnerSkill
- web-researcherSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 30
Add error handling and middleware
- Distinctive: line 44
DELETE /resources/:id — delete one
- Distinctive: line 55
Don't expose internal IDs in public APIs
- Distinctive: line 56
Always validate request bodies
- Distinctive: line 58
Don't return sensitive data in error messages
- Distinctive: line 61
All endpoints respond with correct status codes
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
API Builder
End-to-end API design, scaffolding, and documentation.
When to Use
- User wants to create a new API
- User needs endpoints for a specific domain
- User wants OpenAPI/Swagger documentation
- User asks for API scaffolding or boilerplate
Procedure
- Gather requirements: resources, operations, auth model
- Design the API schema (resources, relationships, endpoints)
- Generate OpenAPI 3.0 spec
- Scaffold route handlers with validation
- Add error handling and middleware
- Generate documentation
- Create test fixtures
Supported Frameworks
- Express (Node.js): express + zod + swagger-jsdoc
- FastAPI (Python): automatic OpenAPI generation
- Flask (Python): flask-restx or flask-smorest
REST Conventions
- GET /resources — list all
- POST /resources — create one
- GET /resources/:id — get one
- PATCH /resources/:id — update one
- DELETE /resources/:id — delete one
Best Practices
- Consistent error response format
- Pagination for list endpoints
- Rate limiting middleware
- Request validation on all inputs
- CORS configuration
- Authentication middleware
Pitfalls
- Don't expose internal IDs in public APIs
- Always validate request bodies
- Version your API (v1, v2) from the start
- Don't return sensitive data in error messages
Verification
- All endpoints respond with correct status codes
- Validation rejects malformed input
- Documentation renders correctly
- Auth middleware blocks unauthorized requests
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

