diff --git a/.claude/commands/memory/docs.md b/.claude/commands/memory/docs.md index 52416c9a..76f0142c 100644 --- a/.claude/commands/memory/docs.md +++ b/.claude/commands/memory/docs.md @@ -44,7 +44,11 @@ Lightweight planner that analyzes project structure, decomposes documentation wo /memory:docs [path] [--tool ] [--mode ] [--cli-execute] ``` -- **path**: Target directory (default: current directory) +- **path**: Source directory to analyze (default: current directory) + - Specifies the source code directory to be documented + - Documentation is generated in a separate `.workflow/docs/{project_name}/` directory at the workspace root, **not** within the source `path` itself + - The source path's structure is mirrored within the project-specific documentation folder + - Example: analyzing `src/modules` produces documentation at `.workflow/docs/{project_name}/src/modules/` - **--mode**: Documentation generation mode (default: full) - `full`: Complete documentation (modules + README + ARCHITECTURE + EXAMPLES + HTTP API) - `partial`: Module documentation only (API.md + README.md)