Api Docs Generate
Helps with API, code generation as part of writing, documentation, and content creation workflows.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add api-docs-generate npx -- -y @trustedskills/api-docs-generate
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"api-docs-generate": {
"command": "npx",
"args": [
"-y",
"@trustedskills/api-docs-generate"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill automatically generates API documentation from OpenAPI specifications (formerly known as Swagger). It can parse a given OpenAPI file and produce formatted documentation, suitable for developer portals or internal knowledge bases. The generated documentation includes descriptions of endpoints, parameters, request bodies, and response schemas.
When to use it
- Onboarding new developers: Quickly provide clear documentation for your APIs, reducing onboarding time and improving understanding.
- Maintaining API consistency: Automatically update documentation whenever the underlying API changes, ensuring accuracy.
- Creating developer portals: Generate a complete set of API reference materials with minimal manual effort.
- Internal knowledge base creation: Populate an internal wiki or documentation system with up-to-date API information.
Key capabilities
- Parses OpenAPI specifications (YAML and JSON formats).
- Generates formatted API documentation.
- Supports various output formats (specific formats not listed).
Example prompts
- "Generate API documentation from this file: [OpenAPI YAML/JSON file URL]"
- "Create developer-friendly documentation for my API based on the following OpenAPI spec."
- "Can you produce a formatted document describing the endpoints defined in this OpenAPI specification?"
Tips & gotchas
- The skill requires a valid OpenAPI specification (YAML or JSON) as input. Ensure your specification is well-formed and complete for best results.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.