update_documentation
Avoid stale documentation by updating project files (CLAUDE.md, README.md) with current workflow information. Auto-detects sections or targets specific ones for accurate updates.
Instructions
Updates project documentation (CLAUDE.md, README.md) with information from the current workflow. Can auto-detect sections or target specific ones. Useful for keeping docs in sync with development.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | How to update the section: append, replace, or prepend | append |
| content | No | Content to add. If not provided, auto-generates from workflow info | |
| section | No | Section name to update (e.g., "## Features", "### Recent Changes") | |
| doc_path | No | Path to documentation file. Default: auto-detects CLAUDE.md or README.md | |
| workflow_id | No | Workflow ID to extract info from. Default: current workflow |