What problem does it solve?
Many codebases lack consistent, tested, and framework-aware documentation, which makes APIs hard to adopt, increases onboarding time, and creates maintenance debt. This Skill addresses inconsistent or missing docstrings, incomplete OpenAPI specifications, and the overhead of building and configuring documentation sites.
Core Features & Use Cases
- Language & Framework Detection: Automatically detect Python, TypeScript, FastAPI, Django, NestJS, Express, GraphQL, and gRPC patterns to choose the correct documentation strategy.
- Docstring & API Spec Generation: Add consistent docstrings (Google/NumPy/Sphinx), produce OpenAPI/Swagger specs, and generate JSDoc for TypeScript projects.
- Doc Site & Portal Setup: Create site structure and configuration for Docusaurus, MkDocs, or VitePress and prepare Swagger UI/Redoc/Stoplight integrations.
- Validation & Coverage: Test code examples, validate generated specs, and produce documentation coverage reports and checklists.
- Use Case Examples: Add Google-style docstrings to a Python library, generate OpenAPI for a FastAPI service, and scaffold a Docusaurus site with API pages.
Quick Start
Document the public functions in src/utils.py using Google-style docstrings, generate an OpenAPI spec for any REST endpoints, and produce a documentation coverage report.