kg_init
Create a persistent knowledge graph file to store system architecture as the source of truth for rendering diagrams.
Instructions
Create a new architecture knowledge graph file (markdown).
The knowledge graph is the persistent source of truth for your system's services and dependencies. Diagrams are rendered from it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph_path | No | Where to store the knowledge file. Default ``.claude/architecture.md``. | .claude/architecture.md |
| title | No | Human title for the architecture. | System Architecture |
| direction | No | Default layout direction for rendered views (LR/TD/BT/RL). | LR |
| overwrite | No | Replace an existing file if present. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |