legal-architecture
Installation
SKILL.md
Legal Diagram Skill
Create professional legal structure diagrams as self-contained HTML files with inline SVG. Designed for court document analysis, contract review, legal knowledge management, and client presentations. Output is light-themed and print-ready.
Design System
Color Palette
Use these semantic colors for legal component types:
| Component Type | Fill (rgba) | Stroke | Use Case |
|---|---|---|---|
| 当事人/主体 (Party) | rgba(219,234,254,0.9) |
#2563eb (blue-600) |
原告、被告、甲方、乙方、第三人 |
| 事实/行为 (Fact) | rgba(241,245,249,0.9) |
#475569 (slate-600) |
侵权行为、违约事实、案件经过 |
| 证据 (Evidence) | rgba(254,243,199,0.9) |
#b45309 (amber-700) |
书证、物证、证人证言、鉴定意见 |
| 法律规范 (Law) | rgba(209,250,229,0.9) |
#047857 (emerald-700) |
法条、司法解释、行政法规 |
| 程序节点 (Procedure) | rgba(237,233,254,0.9) |
#6d28d9 (violet-700) |
立案、开庭、举证、质证、裁定 |
| 裁判/结论 (Judgment) | rgba(254,226,226,0.9) |
#b91c1c (red-700) |
判决主文、责任认定、风险结论 |
| 争议焦点 (Issue) | rgba(255,237,213,0.9) |
#c2410c (orange-700) |
争议焦点、待查明事实 |