openapi-designer
Skill1 starsChanged 5 months agoMITView on GitHub
Use this to design and lint an OpenAPI specification from requirements before any code is written.
In this repository37 other files it gives its agents.
- a11y-auditorSkill
- aria-annotatorSkill
- color-contrast-fixerSkill
- keyboard-nav-checkerSkill
- agent-scaffoldSkill
- prompt-engineerSkill
- migration-plannerSkill
- system-design-reviewerSkill
- tradeoff-analyzerSkill
- rest-endpoint-scaffoldSkill
- cloud-resource-provisionerSkill
- index-advisorSkill
- migration-writerSkill
- query-optimizerSkill
- schema-designerSkill
- project-scaffolderSkill
- cd-deployment-builderSkill
- ci-pipeline-generatorSkill
- incident-runbook-builderSkill
- observability-instrumenterSkill
- release-automatorSkill
- changelog-generatorSkill
- doc-linterSkill
- doc-writerSkill
- client-perf-optimizerSkill
- component-scaffoldSkill
- code-review-coachSkill
- stakeholder-comms-writerSkill
- codebase-explorerSkill
- dependency-vuln-auditorSkill
- secret-scannerSkill
- security-headers-configurerSkill
- threat-modelerSkill
- coverage-gap-finderSkill
- load-test-designerSkill
- test-refactorerSkill
- unit-test-generatorSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is 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.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 49
Design status codes + errors: Use correct HTTP semantics.
- Very specific: line 51
Specify auth + security: Add securitySchemes and apply them.
≈ “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
OpenAPI Designer
Use this to design and lint an OpenAPI specification from requirements before any code is written.
Tech profile — Technology: REST API · Language: n/a · Stack: OpenAPI 3.1 · Toolchain: any · Domain: backend (Contract-first: produces a portable OpenAPI spec, independent of server language.)
When to use this skill
- Designing a new REST API contract-first, before implementation.
- Formalizing an existing/implicit API into a reviewable OpenAPI spec.
- Producing the contract that
backend/rest-endpoint-scaffoldand consumers build against.
When NOT to use this skill
- GraphQL/gRPC — use
backend/graphql-schema-builder(or the gRPC equivalent). - Implementing endpoints — use
backend/rest-endpoint-scaffold. - Generating reference docs from a spec — use
documentation/api-reference-generator.
Prerequisites
- The API's purpose, its resources, and the operations clients need.
Inputs
| Input | Required | Description |
requirements | yes | What the API must let clients do |
resources | no | Domain resources/entities, if known |
auth_model | no | Auth scheme (e.g. bearer/OAuth); flagged if unspecified |
Instructions
- Model resources + operations. Derive resources and their CRUD/actions from the requirements; map to REST paths and methods.
- Define schemas. Specify request/response schemas as reusable
components(DRY); include types, required fields, formats, and constraints. - Design status codes + errors. Use correct HTTP semantics; define a consistent error response schema; cover success, client-error, and server-error cases.
- Specify auth + security. Add
securitySchemesand apply them; ifauth_modelis unspecified, flag it (don't leave the API open by omission — /standards/security.md). - Add pagination/filtering for collection endpoints; be consistent across the API.
- Lint the spec. Validate OpenAPI 3.1 correctness; check naming consistency, missing descriptions, and unused components.
- Document each operation with a summary + example; produce an example request/response.
Output
A valid OpenAPI 3.1 document: paths + operations, reusable component schemas,
consistent error model, security schemes, pagination, and per-operation
descriptions/examples — plus a lint summary. Ready for
backend/rest-endpoint-scaffold and documentation/api-reference-generator.
Constraints & safety
- Correct HTTP semantics (status codes, idempotency, methods).
- Security explicit, never implicit — unspecified auth is flagged.
- DRY schemas via
components; consistent naming (/standards/naming.md).
Examples
Minimal below; full examples in EXAMPLES.md.
Given: "Clients manage tasks (list, create, get, complete)."
Produces: an OpenAPI 3.1 spec with /tasks + /tasks/{id} operations, a Task
component schema, a shared Error schema, bearer auth, and paginated list responses.
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.

