Generate C4 diagrams from a Feature Design Document (FDD). Usage: /generate-c4 <path-to-fdd.md> [output-folder] [--no-images]
Generates C4 diagrams from Feature Design Documents, creating PlantUML files and optional PNG images.
/plugin marketplace add devfullcycle/claude-mkt-place/plugin install diagrams-generator@fullcycle-claude-marketplaceYou MUST invoke the c4-diagram-generator agent using the Task tool with subagent_type="c4-diagram-generator".
Extract the FDD file path, optional output folder, and optional --no-images flag from the command arguments:
Pass the following prompt to the agent:
"Generate C4 diagrams from the Feature Design Document located at [FDD_FILE_PATH].
Output folder: [OUTPUT_FOLDER] PNG generation: [PNG_INSTRUCTION]
Execute your complete workflow (Phases 1-6) following all internal guidelines.
CRITICAL REMINDERS:
REPORT must include:
Replace [FDD_FILE_PATH] with the actual file path from command arguments. Replace [OUTPUT_FOLDER] with the specified output folder or "docs/c4" if not provided. Replace [feature-name] with the appropriate feature name extracted from the FDD filename.
Replace [PNG_INSTRUCTION] and [PNG_BEHAVIOR] based on --no-images flag:
If --no-images flag IS present:
If --no-images flag IS NOT present (default):