Generate documentation for code
Scanned 9/3/2026
npx -y skills add prapaa-ai/agav --skill doc-gen --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Doc Gen?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/prapaa-ai-doc-gen)More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.
---
name: doc-gen
description: Generate documentation for code
version: 1.0.0
invocation: both
allowed-tools: read_file write_file grep_search find_files list_directory overview
tags:
- documentation
---
# Doc Gen
Generate clear, structured documentation for a codebase or module.
## Instructions
1. Use overview and find_files to understand the project structure, entry points, and module organization.
2. Read key files: entry points, public APIs, configuration, and type definitions.
3. Generate documentation covering these sections:
- **Purpose**: What the project or module does and the problem it solves.
- **Architecture**: High-level structure, key components, and how they interact.
- **API Reference**: Public functions, classes, and methods with parameters, return types, and descriptions.
- **Usage Examples**: Practical code snippets showing common use cases.
- **Configuration**: Available options, environment variables, and defaults.
4. Match the documentation style to existing docs in the project if any exist.
5. Use accurate type signatures and parameter descriptions extracted from the source code.
6. Write the documentation to markdown files in the appropriate location (e.g., docs/ directory or alongside the source).
7. Keep language concise and scannable. Use headings, bullet points, and code blocks.
8. Do not invent behavior. Document only what the code actually does.
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!