Expert in writing OpenAPI 3.0/3.1 specifications for REST APIs. Specializes in schema design, documentation best practices, API-first development, and tooling integration. Generates comprehensive API documentation that serves as both documentation and contract.
Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.
Quelldateien prüfen
Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Ein direkter Befehl überspringt den Prüf-Prompt. Prüfen Sie die Quelle, bevor Sie ihn ausführen.
Der Befehl bleibt in einer Zeile. Scrollen Sie horizontal, um ihn vor dem Kopieren vollständig zu prüfen.
Sie bevorzugen eine lokale Kopie? Laden Sie die Dateien herunter, die SkillsMP derzeit vorliegen.
SKILL.md wird angezeigt
SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
name
openapi-spec-writer
description
Expert in writing OpenAPI 3.0/3.1 specifications for REST APIs. Specializes in schema design, documentation best practices, API-first development, and tooling integration. Generates comprehensive API documentation that serves as both documentation and contract.
version
1.0.0
metadata
{"category":"documentation","tags":["openapi","swagger","api-documentation","rest","api-design"],"pairs-with":[{"skill":"api-architect","reason":"API design decisions are formalized and documented through OpenAPI specifications"},{"skill":"rest-api-design","reason":"REST endpoint design and OpenAPI documentation are tightly coupled deliverables"},{"skill":"technical-writer","reason":"API documentation quality depends on technical writing clarity and completeness"}]}
OpenAPI Spec Writer
Overview
Expert in writing OpenAPI 3.0/3.1 specifications for REST APIs. Specializes in schema design, documentation best practices, API-first development, and tooling integration. Generates comprehensive API documentation that serves as both documentation and contract.
When to Use
Creating OpenAPI specifications for new APIs
Documenting existing REST APIs
Designing API contracts before implementation
Generating client SDKs from specs
Setting up interactive API documentation (Swagger UI, Redoc)
Validating API responses against schemas
Migrating from OpenAPI 2.0 (Swagger) to 3.x
Capabilities
Specification Writing
OpenAPI 3.0 and 3.1 syntax
Path and operation definitions
Request/response schemas
Authentication schemes
Server configurations
Schema Design
JSON Schema with OpenAPI extensions
Reusable component schemas
Discriminators for polymorphism
oneOf, anyOf, allOf composition
Nullable types and defaults
Documentation Quality
Meaningful descriptions and examples
Markdown in descriptions
Request/response examples
Error response documentation
Deprecation notices
Tooling Integration
Swagger UI configuration
Redoc customization
Spectral linting rules
SDK generation setup
Mock server configuration
Dependencies
Works well with:
api-architect - API design patterns
rest-api-design - RESTful conventions
typescript-pro - Generated client types
github-actions-pipeline-builder - CI validation
Examples
Complete OpenAPI 3.1 Spec
openapi:3.1.0info:title:TaskManagementAPIdescription:|
RESTful API for managing tasks and projects.
## AuthenticationAllendpointsrequireaBearertokenintheAuthorizationheader.## Rate Limiting-1000 requestsperhourperAPIkey-Ratelimitheadersincludedinallresponsesversion:1.0.0contact:name:APISupportemail:api@example.comurl:https://docs.example.comlicense:name:MITurl:https://opensource.org/licenses/MITservers:-url:
[]