api-spec
Skill0 starsChanged 4 months agoMITView on GitHub
Use when the user wants to design, review, or document an API (REST, OpenAPI, versioning, error models, contract testing, authentication), or when generating/maintaining OpenAPI specs as machine-readable context for AI agents.
In this repository77 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/project-bootstrap/templates/agents.mdAGENTS.md
- a11y-auditSkill
- ai3d-genSkill
- ai-coding-dictionarySkill
- ai-toolsSkill
- architecture-diagramsSkill
- architectureSkill
- ask-bundleSkill
- bragSkill
- code-reviewSkill
- computer-useSkill
- context7Skill
- context-hygieneSkill
- creative-engineeringSkill
- cu-realtimeSkill
- data-analystSkill
- databaseSkill
- debuggingSkill
- deploySkill
- devin-configSkill
- dispatching-parallel-agentsSkill
- dockerSkill
- e2e-testingSkill
- executionSkill
- fact-checkSkill
- finishing-a-development-branchSkill
- gatesSkill
- ghSkill
- git-workflowsSkill
- grillingSkill
- handoffSkill
- humanizerSkill
- i18nSkill
- impeccableSkill
- implement-layaSkill
- intakeSkill
- jiraSkill
- knowledge-modelingSkill
- mcp-governanceSkill
- media-toolsSkill
- memory-managementSkill
- mesh-utilsSkill
- observability-qualitySkill
- obsidian-workflowSkill
- operate-blenderSkill
- operate-godotSkill
- performanceSkill
- planningSkill
- playbookSkill
- project-bootstrapSkill
- project-orchestratorSkill
- prompt-compilerSkill
- prototypeSkill
- researchSkill
- scanSkill
- scheduled-turnsSkill
- scrape-toolsSkill
- securitySkill
- self-improvementSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
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 43
No spec, or an outdated one.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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 Spec
Design and review HTTP/gRPC/GraphQL APIs, and keep the contract explicit, versioned, and machine-readable (OpenAPI). The spec is the primary context for agents — they work from the spec, not from implementation memory.
Design protocol
- Collect constraints — consumers, auth, rate limits, error handling, versioning.
- Choose style — REST, gRPC, GraphQL, or hybrid per use case.
- Design endpoints — nouns as resources, consistent paths, status codes, error model.
- Specify input/output/behavior — every endpoint declares input schema, output schema, observable behavior. A spec lacking I/O is incomplete.
- Write the contract — OpenAPI spec (or proto), validated with tools.
- Add tests — contract, serialization, happy/unhappy paths.
- Document + sync — spec stays in version control, in sync with code.
What a spec must include
- Endpoints — paths, methods, parameters, request/response schemas.
- Authentication — type, headers, token format.
- Error responses — status codes, error schemas, retry semantics.
- Versioning — version, deprecation policy, migration path.
- Rate limits — rps, burst, backoff strategy.
Process
Design/review API → generate/update OpenAPI → validate against impl →
use spec as agent context → keep in VCSAnti-patterns
- No spec, or an outdated one.
- Spec in prose instead of OpenAPI.
- Spec not versioned / not in version control.
- Agents reading implementation code instead of the spec.
Output rule
Deliver a spec file, examples, and a test command. Validate with
swagger-codegen or equivalent when available.
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.

