assemble_docs
Assembles per-module JSON context files into progressive-disclosure Markdown documentation, organizing code context for efficient AI agent understanding.
Instructions
Assemble all per-module JSON context files into progressive-disclosure MD docs.
Args: project_dir: Path to the project root. ctx_dir: Path to the ctx/ directory with per-module JSONs. out_docs: Output directory for MD docs. project_name: Optional project name (default: inferred from project_dir).
Returns: Dict with: main_doc, module_docs[], errors[].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_dir | Yes | ||
| ctx_dir | Yes | ||
| out_docs | Yes | ||
| project_name | No |