What It Does
No external dependencies or Java. Script are required — every output opens correctly in any modern browser and embeds cleanly into Word or Power. Point.
It produces light-themed, print-ready visualizations suitable for court documents, client presentations, contract reviews, and legal knowledge management.
Legal Architecture is a diagramming skill that transforms legal concepts, case structures, and regulatory frameworks into polished, self-contained HTML files with inline SVG.
Key Features
- Self-Contained HTML Output — Every diagram is delivered as a single `.html` file with all CSS and SVG inlined. No external images, no JavaScript, and no server required — just open in a browser or embed directly into Word or PowerPoint.
- Semantic Legal Color System — Seven predefined color categories map to distinct legal component types: parties (blue), facts (slate), evidence (amber), law (emerald), procedure (violet), judgment (red), and disputed issues (orange). This makes diagrams instantly scannable for legal professionals.
- Multiple Legal Layout Patterns — Supports three specialized layouts: **litigation flow** (top-to-bottom layered with dashed group boxes), **contract relationship** (hub-and-spoke or two-column), and **legal framework** (hierarchical tree). Layout is chosen automatically based on the content type.
- Print-Ready Design — Uses a light `#f8fafc` background, the Inter typeface (loaded via Google Fonts), and clean rounded-rectangle components with precise spacing rules. Output looks professional when printed directly from a browser.
- Correct SVG Z-Order Rendering — Arrows are always drawn before component boxes in the SVG document order, so connection lines appear cleanly behind nodes. Opaque white background rectangles further prevent arrows from bleeding through colored boxes.
- Structured Page Layout — Each output includes a header (title, case number, court), a diagram card, a three-column metadata grid (parties, evidence summary, judgment key points), and a footer — delivering a complete document, not just a raw diagram.
Use Cases
- Litigation Case Analysis — A lawyer preparing for trial uses this skill to generate a layered flow diagram showing plaintiff/defendant → disputed issues → evidence → factual findings → legal basis → judgment. The output is shared with the client as a print-ready HTML file.
- Contract Relationship Mapping — A contract manager inputs a complex multi-party agreement and receives a hub-and-spoke diagram illustrating each party's obligations, key performance milestones, and breach liability clauses — ready to embed in a review report.
- Regulatory Procedure Visualization — A compliance team uses this skill to diagram an administrative procedure (application → review → decision → appeal/remedy) for a regulatory filing guide or internal training material.
- Evidence Chain Documentation — An attorney visualizes the logical chain linking individual pieces of evidence to established facts and ultimately to the legal claim basis, creating a clear exhibit for court or arbitration submissions.