smithery.ai

api-docs-generate

Generate OpenAPI/Swagger documentation from code analysis

First seen Mar 24, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Declared agents claude-code

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 855 B
  • docs SUMMARY.md 82 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

API Documentation Generation

I'll generate comprehensive OpenAPI/Swagger documentation from your API code.

Features:

  • Auto-generate from Express, FastAPI, Next.js API routes
  • OpenAPI 3.0 specification format
  • Interactive Swagger UI setup
  • Automatic schema extraction
  • Integration with /api-test-generate

Token Optimization

Expected range: 1,500–2,500 tokens (initial), 400–600 tokens (cache hit)

Caching: Caches OpenAPI spec analysis in .claude/cache/api-docs/ for 7 days. Invalidated when API routes change.

Early exit: Returns immediately if spec already exists and is current.

Patterns used: Grep-before-Read, early exit, template-based generation, git diff scope default