Skip to content
Back to skills

Doc Gen

ASecurity

Generate documentation for code

  • 205 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 3, 2026
ai-agentsapidocumentation

Works with

  • api

Security analysis

A100/100

Scanned September 3, 2026

npx -y skills add prapaa-ai/agav --skill doc-gen --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Doc Gen?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Doc Gen
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/prapaa-ai-doc-gen/badge)](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.

Download with Pro
SKILL.md
---
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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.