Plugin
diagram-kit
Architecture / UML diagramming kit. 1 skill (v0.1.0). `arch-diagram` (`/diagram-kit:arch-diagram <target>`): turns a codebase / system's source facts into evidence-bound Mermaid diagrams across 7 types — context / container / component / code (C4 structural L1–L4) + sequence / state-machine (behavior) + deployment (physical) — for ANY domain (docker / python / postgreSQL / claude-code-plugin / ...). 5-step fact-first flow: scope + domain auto-detect → L0–L3 acquisition ladder (L0 声明扫描 → L1 结构 → L2 命名归类 → L3 HITL) → pick high-value types via the global applicability matrix → draft Mermaid (§5 edge semantics + §6 naming SSOT) → validate-fix-repeat. 铁律: every node/edge traces to file:行号 evidence, never fabricated. Bundles 9 domain-agnostic references (architecture-methodology + domain-acquisition + 7 per-type prompts, progressive disclosure) + a pure-stdlib Mermaid linter (validate_diagram.py; generalized from a PostgreSQL-specific version, dual-source forked). Generated diagrams use ```text``` fences (show source + %% Name/%% Slug metadata). No MCP / no network — local Read/Glob/Grep/Bash/Write only; validator degrades gracefully when no Python. See [ADR]_Diagram_Kit_Addition.