/doc

Documentation generator helpers. Subcommands: docstring, readme, diagram.

/doc docstring <file> [symbol]

Suggest docstrings for a file or symbol.

/doc docstring core/runtime.py

/doc readme [path]

Generate README.md for a project or directory.

/doc readme .

/doc readme <file>

Generate README-style docs for a single file.

/doc readme app/main.py

/doc diagram <file>

Code-to-diagram (mermaid / plantuml / text).

/doc diagram core/agent/loop.py

Examples

/doc
/doc docstring vritraai.py
/doc readme .
/doc diagram core/agent/loop.py

The old tutorial subcommand was removed - use /doc readme or /learn <topic> instead.