agent/codex/code/commands/doc.md
Snider ecd47fe3db revert fcb9c189e5
revert fix(agentic): harden TODO workspace write

Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-18 11:22:27 +00:00

24 lines
504 B
Markdown

---
name: doc
description: Auto-generate documentation from code.
hooks:
PostToolUse:
- matcher: "Tool"
hooks:
- type: command
command: "${CLAUDE_PLUGIN_ROOT}/scripts/doc.sh"
---
# Documentation Generator
This command generates documentation from your codebase.
## Usage
`/core:doc <type> <name>`
## Subcommands
- **class <ClassName>**: Document a single class.
- **api**: Generate OpenAPI spec for the project.
- **changelog**: Generate a changelog from git commits.