@lythos/mermaid-describe
v0.2.2
Published
Convert descriptions to Mermaid diagram syntax
Readme
@lythos/mermaid-describe
Mermaid diagram scaffolding for CLI and agent workflows. Provides templates to help generate Mermaid syntax from natural language descriptions.
This tool does NOT call an LLM API. The NL → Mermaid conversion happens in the agent's reasoning context. This package only supplies templates.
Usage
# No installation required — bunx runs it directly
bunx @lythos/mermaid-describe template <type>Commands
template <type>
Output a skeleton Mermaid template.
bunx @lythos/mermaid-describe template flowchart
bunx @lythos/mermaid-describe template sequence
bunx @lythos/mermaid-describe template architecture
bunx @lythos/mermaid-describe template er
bunx @lythos/mermaid-describe template classTypical Workflow
# 1. Get a template skeleton
bunx @lythos/mermaid-describe template architecture > diagram.mmd
# 2. Validate syntax
bunx @lythos/mermaid-validate check diagram.mmd
# 3. Render to SVG
bunx @lythos/mermaid-render render diagram.mmd diagram.svgAgent Skill
For agent-facing instructions (when to use, prompt structure, workflow composition),
see the accompanying SKILL.md.
