What problem does it solve?
Manually adding consistent, standards-compliant documentation to source code across multiple programming languages is extremely time-consuming, often leads to inconsistent formatting and missing documentation for critical functions, classes and modules, and creates unnecessary technical debt for development teams.
Core Features & Use Cases
- Multi-language support: Automatically detects the programming language of each source file and applies the correct, industry-standard documentation format (Google-style docstrings for Python, JSDoc for JavaScript/TypeScript, JavaDoc for Java, Go doc comments for Go, etc.) for 9+ common languages.
- Non-destructive editing: Only adds missing or incomplete documentation, never modifies existing code logic, function signatures, or well-written existing documentation to preserve codebase integrity.
- Optional formatting: Runs language-appropriate formatters (ruff, black, prettier, rustfmt, gofmt, etc.) after adding documentation to ensure consistent code style across the entire codebase.
- Use case: For a development team maintaining a codebase with hundreds of undocumented Python, TypeScript and Go files, this skill can automatically add compliant documentation to all public functions, classes and modules in minutes, drastically reducing the time spent on manual documentation work.
Quick Start
Use the add-docs skill to add compliant documentation to all source code files in the ./src directory.