/diagrams-generator:mermaid-generatefrom diagrams-generator
Generate Mermaid diagrams from a Feature Design Document (FDD). Usage: /mermaid-generate <path-to-fdd.md> [output-folder]
Ships in diagrams-generator. Installing the plugin adds it to Claude Code.
You MUST invoke the mermaid-diagram-generator agent using the Task tool with subagent_type="mermaid-diagram-generator".
Extract the FDD file path and optional output folder from the command arguments:
Pass the following detailed prompt to the agent:
"Generate Mermaid diagrams from the Feature Design Document located at [FDD_FILE_PATH].
Output folder: [OUTPUT_FOLDER]
The agent will execute its complete workflow (Phases 1-9). Your task is to ensure the agent receives the correct FDD path and output folder.
Key requirements the agent will follow:
ANALYSIS & SELECTION:
GENERATION:
QUALITY ASSURANCE:
CRITICAL RULES:
Replace [FDD_FILE_PATH] with the actual file path from command arguments. Replace [OUTPUT_FOLDER] with the specified output folder or "docs/mermaid" if not provided. Replace [feature-name] with the appropriate feature name extracted from the FDD filename (e.g., "sample-feature" from "sample-feature-fdd.md").
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub alessandrotraversi/docs-ia --plugin diagrams-generator2 commands in this plugin
Other plugins' commands for the same job