design-api
Skill0 starsChanged 53 days agoApache-2.0View on GitHub
Designs an HTTP or library API: endpoints or functions, inputs, outputs, errors, versioning. Use before implementing a public interface.
7 other projects use a version of this.
Adopted by
Most recently taken up by
- kensaurus/cursor-kenjitheir own version, first seen Nov 17, 2026
- kensaurus/skillstheir own version, first seen Nov 17, 2026
- foryouself83/harness-tiertheir own version, first seen Oct 13, 2026
- videojs/video.jstheir own version, first seen Oct 8, 2026
- RndmCodeGuy20/ordnancetheir own version, first seen Aug 25, 2026
- fabianmagrini/skillstheir own version, first seen May 10, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- videojs/video.js★ 40ksame name
- foryouself83/harness-tier★ 10same name
- kensaurus/cursor-kenji★ 10same name
- kensaurus/skills★ 10same name
- fabianmagrini/skills★ 1same name
- RndmCodeGuy20/ordnance★ 0same name
- wachawo/claude-skills★ 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 repository33 other files it gives its agents.
- algorithmsSkill
- break-down-workSkill
- ci-cdSkill
- clarify-requirementsSkill
- concurrencySkill
- containers-and-deploySkill
- data-analysisSkill
- data-durabilitySkill
- debugSkill
- dependenciesSkill
- design-architectureSkill
- estimate-and-risksSkill
- explain-codeSkill
- git-workflowSkill
- handle-errors-and-loggingSkill
- implement-featureSkill
- incident-responseSkill
- ml-experimentSkill
- model-dataSkill
- observabilitySkill
- performanceSkill
- refactorSkill
- research-and-compareSkill
- review-codeSkill
- security-reviewSkill
- write-adrSkill
- write-cliSkill
- write-docsSkill
- write-goSkill
- write-pythonSkill
- write-sqlSkill
- write-testsSkill
- write-typescriptSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
Add pagination, idempotency, and versioning.
“Common” is measured: kept by at least 6 in 10 of the 7 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
Steps
- Define resource paths and HTTP methods. Use plural nouns (
/tasks,/users). MapGETfor retrieval,POSTfor creation,PUTfor full updates,PATCHfor partial updates,DELETEfor removal. - Draft request and response examples. Use JSON. Example:
POST /v1/tasksbody{"title": "fix auth"}. Response201 Createdwith{"id": "t_123", "status": "open"}. - Specify the error model. Return standard HTTP codes.
400for malformed input,401for missing auth,403for insufficient permissions,404for missing resources,422for validation failures,429for rate limits. Include{"error": "code", "message": "string"}. - Add pagination, idempotency, and versioning. Use
?page=1&limit=20withLinkheaders. Accept anIdempotency-Keyheader onPOST(PUT and DELETE are idempotent by definition). Prefix all paths with/v1/. - Define boundary validation. Reject unknown fields. Enforce types, formats, and ranges. Return
422with field-level error arrays. - Generate the contract. Write OpenAPI 3.1 YAML or TypeScript interfaces. Validate with
swagger-cli validateortsc.
Checklist
- Paths use plural nouns and standard HTTP methods
- Request/response examples match the contract
- Error codes follow the specified model
- Pagination, idempotency keys, and
/v1/prefix are defined - Validation rules cover all required fields and types
- OpenAPI spec or type signatures are complete
- No business logic leaks into the interface
Output
- Path definitions and method mappings
- JSON request/response examples
- OpenAPI YAML or TypeScript interfaces
- Validation and error handling rules
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.

