Generate and edit Draw.io, Mermaid, and Excalidraw diagrams from natural language using a structured JSON spec.
Documents
OpenAPI Docs Generator
Try itGenerate, repair, and validate OpenAPI or Swagger documentation for REST APIs from routes, handlers, schemas, examples, and observed behavior. Use when a use...
What it does
Use this skill when an API lacks an OpenAPI spec, the current spec drifts from implementation, examples are missing, or docs fail downstream SDK, gateway, or contract-test tooling.
The skill document
OpenAPI Docs Generator
Purpose
Use this skill when an API lacks an OpenAPI spec, the current spec drifts from implementation, examples are missing, or docs fail downstream SDK, gateway, or contract-test tooling.
Audience: backend engineers, platform teams, SDK maintainers, and developer-experience teams responsible for accurate REST API documentation.
Read references/requirement-plan.md when demand evidence, source links, scoring rationale, or review criteria are needed.
Workflow
- Inventory base URLs, auth, routes, controllers, schema validators, request samples, response samples, and existing OpenAPI fragments.
- Map each operation to method, path, parameters, request body, responses, errors, auth, idempotency, pagination, and rate limits.
- Draft or patch the OpenAPI document with reusable components for schemas, security schemes, errors, and shared parameters.
- Add realistic examples that match production constraints while redacting secrets and customer data.
- Validate with an OpenAPI parser or linter, then note contract mismatches that require code or docs changes.
- Return the spec changes, validation command, and follow-up tasks for SDK generation, docs publishing, or CI enforcement.
Expected Outputs
- A new or patched OpenAPI YAML/JSON fragment.
- Endpoint-by-endpoint documentation gaps and proposed fixes.
- Validation commands for linting, bundling, SDK generation, or contract tests.
- Examples for success, validation failure, authorization failure, and rate limits.
Validation
- Every operation has method, path, auth, parameters, request body, responses, and examples where relevant.
- Schemas reuse components instead of duplicating incompatible shapes.
- The spec is parseable by standard OpenAPI tooling and does not include secrets.
- Known implementation/spec drift is called out clearly.
Triggers
Keywords: OpenAPI, Swagger, REST API, API docs, schema, SDK, contract testing
Example trigger sentences:
Use $openapi-docs-generator to create an OpenAPI spec from these Express routes.Patch this Swagger file so it matches the handler responses.Review our API docs for missing schemas and examples.
Related skills
Stores durable facts in a categorized, plain-markdown vault on disk, alongside your agent's built-in memory.
Join a video meeting as an AI bot with voice, avatar, and screenshare across four operating modes.
Find why your productivity system keeps failing, then apply the smallest fix — capacity math, bottleneck routing, durable local notes.
Write, debug, and tune Playwright specs with locator strategy, trace diagnosis, and CI-aware timeouts.
Fetch raw ad creative, app, ranking, and revenue data from AdMapix as structured JSON.
More from kyro-ma
Browse all skills2026 世界杯观赛助手。触发词:世界杯、world cup、赛程、强队对决、赔率高、菜鸡互啄、签表、淘汰赛、淘汰赛程、小组赛、夺冠热门、签运、世界杯抽签、wc2026、worldcup2026。三种模式:(1) 球队模式 - 看某支队伍的所有比赛;(2) 强度模式 - 按两队实力+恩怨+赛事阶段算强度分,过滤菜...
Discover real user demand from public online sources and turn validated opportunities into reviewed, publishable Skill packages. Use when a team wants to sca...
Diagnose and repair Microsoft Word DOCX formatting problems, including styles, numbering, section breaks, headers and footers, comments, tracked changes, and...
Helps with Agent users show strong demand for Self-Improving...
Helps with Agent users show strong demand for Gog-style workf...
Helps with Agent users show strong demand for Tavily 搜索-style...