api-designer
Skill0 starsChanged 7 months agoMITView on GitHub
Designs REST API endpoints with resource modeling, URL structure, request/response schemas, status codes, and OpenAPI snippets. Use this skill when the user asks to "design an API", "what endpoints do I need", needs CRUD routes for a resource, wants OpenAPI/Swagger spec, or asks for REST best practices for a feature.
34 other projects use a version of this.
Adopted by
Most recently taken up by
- santiago-migoni/claude-skillstheir own version, first seen Nov 8, 2026
- AxlZero21/Skillstheir own version, first seen Nov 8, 2026
- lsyamsiar/claude-skillstheir own version, first seen Nov 1, 2026
- k1lgor/virtual-companytheir own version, first seen Nov 1, 2026
- jaskirat1616/grok-skillstheir own version, first seen Nov 1, 2026
- codeApe-7/ai-agent-workflowGrouptheir own version, first seen Nov 1, 2026
Used with
Projects with it also use shopify-expert, monitoring-expert and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
JeffallanSkillshopify-expert
Builds and debugs Shopify themes (.liquid files, theme.json, sections), develops custom Shopify apps (shopify.app.toml, OAuth, webhooks), and implements Storefront API integrations for headless storefronts. Use when building or customizing Shopify themes, creating Hydrogen or custom React storefronts, developing Shopify apps, implementing checkout UI extensions or Shopify Functions, optimizing performance, or integrating third-party services. Invoke for Liquid templating, Storefront API, app development, checkout customization, Shopify Plus features, App Bridge, Polaris, or Shopify CLI workflows.
Also in 7 projects that use this
JeffallanSkillmonitoring-expert
Configures monitoring systems, implements structured logging pipelines, creates Prometheus/Grafana dashboards, defines alerting rules, and instruments distributed tracing. Implements Prometheus/Grafana stacks, conducts load testing, performs application profiling, and plans infrastructure capacity. Use when setting up application monitoring, adding observability to services, debugging production issues with logs/metrics/traces, running load tests with k6 or Artillery, profiling CPU/memory bottlenecks, or forecasting capacity needs.
Also in 9 projects that use this
- +10 more from Jeffallan
Other versions34 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 34
- Jeffallan/claude-skills★ 12ksame name
- nahisaho/MUSUBI★ 74same name
- AutumnsGrove/ClaudeSkills★ 30same name
- jshsakura/awesome-opencode-skills★ 30same name
- jaskirat1616/grok-skills★ 22same name
- codeApe-7/ai-agent-workflowGroup★ 18same name
- JayRHa/agent-skills★ 12same name
- JayRHa/AgentSkills★ 12same name
- belokonm/claude-supercode-skills★ 11same name
- PIXARTSeu/Synapse★ 9same name
24 more not listed
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 repository14 other files it gives its agents.
- bug-report-formatterSkill
- changelog-writerSkill
- code-reviewerSkill
- commit-message-writerSkill
- dependency-upgraderSkill
- dockerfile-doctorSkill
- env-var-auditorSkill
- error-message-improverSkill
- migration-plannerSkill
- pr-description-writerSkill
- readme-generatorSkill
- regex-builderSkill
- sql-query-expertSkill
- test-generatorSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 5 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 33 edited versions we read keep these.
5
Distinctive
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 42
Default to cursor pagination for unbounded lists:
- Distinctive: line 47
Use offset pagination only for small bounded lists.
- Distinctive: line 64
When designing an API, produce:
- Distinctive: line 69
OpenAPI 3.1 snippet: if requested — only the relevant paths, not a full spec dump.
- Distinctive: line 78
Don't over-engineer. If the user needs 3 endpoints, design 3 endpoints — not a microservice architecture.
“Common” is measured: kept by at least 6 in 10 of the 33 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
API Designer
You design clean, predictable REST APIs that follow industry conventions.
Design checklist
For every resource, decide:
- Resource name — plural noun, lowercase, hyphenated (
/user-profiles, not/UserProfile). - Identifier strategy — UUID, slug, or integer; document which.
- Standard verbs:
GET /resources— list (with pagination + filters)GET /resources/:id— single resourcePOST /resources— createPATCH /resources/:id— partial updatePUT /resources/:id— full replace (use only if truly idempotent replace)DELETE /resources/:id— delete
- Sub-resources —
/resources/:id/sub-resourcesfor nested ownership. - Actions that aren't CRUD —
POST /resources/:id/actions/<verb>(e.g./orders/123/actions/cancel).
Status codes
200OK — successful GET/PATCH/PUT201Created — successful POST (includeLocationheader)204No Content — successful DELETE400Bad Request — validation failure401Unauthorized — missing/invalid auth403Forbidden — auth ok, not allowed404Not Found — resource doesn't exist409Conflict — version conflict, duplicate422Unprocessable Entity — semantic validation failure429Too Many Requests — rate limited500/503— server errors
Pagination
Default to cursor pagination for unbounded lists:
GET /resources?cursor=<opaque>&limit=50
→ { data: [...], next_cursor: "...", has_more: true }Use offset pagination only for small bounded lists.
Error format
Return errors as:
{
"error": {
"code": "validation_failed",
"message": "Email is required",
"fields": { "email": "required" }
}
}Output format
When designing an API, produce:
- Resource model — fields, types, required/optional.
- Endpoint table — method, path, purpose, auth scope.
- Request/response examples — JSON for the non-trivial endpoints.
- OpenAPI 3.1 snippet if requested — only the relevant paths, not a full spec dump.
- Open questions — anything the user needs to decide before implementing.
Rules
- Don't put verbs in URLs for CRUD (
/getUseris wrong;GET /users/:idis right). Verbs are fine for non-CRUD actions. - Be consistent with naming — pick
snake_caseorcamelCasefor fields and stick to it. - Version the API in the URL (
/v1/...) or header — pick one and document it. - Idempotency — POST creates that retry-safe should accept an
Idempotency-Keyheader. - Don't over-engineer. If the user needs 3 endpoints, design 3 endpoints — not a microservice architecture.
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.

