# Code documentation (/docs--doc-gen)

/docs--doc-gen is a Claude Code skill in the Code section. Documents a file, module or API with overview, usage examples, function reference and configuration, in your project doc format.

- Web version: https://skills.sgomez.dev/en/s/docs--doc-gen
- Section: [Code](https://skills.sgomez.dev/en/code.md)
- Author: Santiago Gómez de la Torre
- License: MIT
- Source: https://github.com/sgomez-dev/claude-skills/blob/main/skills/docs/doc-gen.md
- Updated 26 Mar 2026

## How to ask for it

- `/docs--doc-gen document the entire payments module`
- `/docs--doc-gen generate documentation for these utility functions`
- `/docs--doc-gen I need full docs for this internal library`

## Install

macOS · Linux:

```
curl -fsSL https://raw.githubusercontent.com/sgomez-dev/claude-skills/main/install.sh | bash
```

Windows:

```
irm https://raw.githubusercontent.com/sgomez-dev/claude-skills/main/install.ps1 | iex
```

Claude Code plugin:

```
/plugin marketplace add sgomez-dev/claude-skills
/plugin install docs-skills@claude-skills-collection
```

## Permissions

- Reads: `**/*`
- Writes: `**/*`
- Runs: —
- Network: No
- Destructive: No

## Author's description

Generate comprehensive documentation for code, APIs, or entire modules

- [How we review this](https://skills.sgomez.dev/en/methodology.md)
