Loaded Mermaid
Design Doc Mermaid
Same scenario handed to a subagent with the local design-doc-mermaid SKILL.md attached. Viewer syntax is normalized from the raw handoff.
Rendering diagram…
Mermaid Source46 lines
1flowchart TD2Brief["Feature brief: collaborative-plan-comments"] --> O["Orchestrator owns PlanPack JSON"]34O --> P1["Research lane"]5O --> P2["Idea generation lane"]6O --> P3["Planning constraints lane"]7P1 --> C["Consolidate findings into JSON plan"]8P2 --> C9P3 --> C1011C --> V["Web viewer opens PlanPack"]12V --> H{"Human reviews readable plan"}13H -->|"section comments"| CM["Comments tied to plan sections"]14H -->|"quick actions"| QA["Approve, block, rescope, clarify"]15CM --> EX["Copy or export comment bundle"]16QA --> EX17EX --> O2["Orchestrator applies feedback"]18O2 --> JP["Updated PlanPack JSON"]1920JP --> VC["Write validation contract and test design"]21VC --> HG{"Human gate: contract clear?"}22HG -->|"revise"| O223HG -->|"approved"| IA["Implementation agent builds feature"]2425VC --> VA0["Validation agent receives contract only"]26IA --> IH["Implementation handoff"]27IH --> VA["Validation agent verifies independently"]28VA --> VR{"Validation passes?"}29VR -->|"no"| O230VR -->|"yes"| CR["Final code review"]3132CR --> CRD{"Review decision"}33CRD -->|"block"| O234CRD -->|"mortem or process feedback"| M["Structured feedback to orchestrator"]35M --> O236CRD -->|"approve"| Done["Ready for merge / release lane"]3738classDef human fill:#fff3bf,stroke:#8a6d00,color:#1f1f1f39classDef json fill:#d9fdd3,stroke:#247a38,color:#102a1440classDef agent fill:#dbeafe,stroke:#2563eb,color:#10233f41classDef gate fill:#ffe4e6,stroke:#be123c,color:#3f10184243class H,HG human44class O,C,O2,JP json45class IA,VA0,VA agent46class VR,CRD gate