revert fix(agentic): harden TODO workspace write Co-Authored-By: Virgil <virgil@lethean.io>
24 lines
504 B
Markdown
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.
|