legal-visualization SKILL.md skillA
legal-visualization from cat-xierluo/legal-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add cat-xierluo/legal-skills/legal-visualization@v0.8.2Pins v0.8.2 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- cat-xierluo/legal-skills
- Path
skills/legal-visualization/SKILL.md- Versions recorded
- 5
- Latest version
- v0.8.2, committed Jul 28, 2026
- First version recorded
- Jun 12, 2026
- Size
- 15,292 bytes
- Repository stars
- 775
- License
- none declared
Legal Visualization。面向法律业务场景的法律图解与图表生成技能;当用户要求把案件材料、合同材料、合规事项、交易安排、证据链、诉讼流程、时间轴、法律关系、客户汇报、法律服务方案或律师团队工作整理成关系图、流程图、时间轴、证据链、风险图、路线图、PNG/SVG/PDF/.drawio 时使用;也兼容“法律可视化”“案件事实图”“法律关系图”等说法。先按受众、任务动词和路由规则筛选场景,再生成可交付图片,并保留 draw.io 源文件作为可编辑底稿。本技能不用于事实核验,也不替代法律结论判断。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Legal Visualization 面向法律业务场景的法律图解与图表生成技能。覆盖案件、非诉项目、合规管理、客户协作、团队办案、客户汇报和法律服务方案,生成可直接提交、汇报或嵌入文档的法律图表。对外英文名使用 `Legal Visualization`,中文可称“法律可视化”;Skill 标识和目录名统一为 `legal-visualization`。draw.io / diagrams.net 是默认可编辑底层格式,不是对外定位的边界。 ## 硬约束 1. **缺失事实必须显式标注**:材料中未见的主体、时间、金额、合同、证据,不得出现在图中;必须显式写"待补充/待核/一方主张",禁止补全或推断。 2. **业务条线优先于图型**:先识别"诉讼/公司/合规/知产/争议/合同/客户/服务"等业务条线,再选图型。 3. **VizSpec.routing 必填**:未填 `routing.primary_scene` 与 `routing.selection_reason` 禁止写 drawio。 4. **一图一观点**:超过 1 个核心观点必须拆主图+附图;时间、计算、程序等 ≥3 类不同语义区域不得自由堆进同一画布,只能拆图或使用已定义容量的分区模板。 5. **领域校验必须通过**:`.drawio` 在复制、导出和交付前必须通过 `scripts/validate_drawio.py`;几何重叠、确定性文本溢出、无效容器关系或超长连线标签属于阻断错误;连线标签与独立节点/文字块的估算叠压属于必须目视复核的 warning。 6. **命中模板必须锁定几何**:已有适配模板时,使用 `scripts/instantiate_template.py` 只替换 `value` 占位符;随后可用 `scripts/apply_visual_roles.py` 编译样式,但编译前后每个 `mxGeometry` 必须完全一致。不得为了塞入更多材料而移动节点、缩小字号或扩写 edge 标签;容量不足时拆附图。 ## 默认目标 - 默认交付三件套:`.drawio` 源文件、`.svg` 矢量图、`.png` 高清预览图;SVG 和 PNG 都从 `.drawio` 通过 draw.io / diagrams.net 导出。 - 用户要求庭审、报告、PPT 或归档时,按需追加 `PDF`。 - PNG 默认按 2 倍倍率导出;如用于打印、大屏汇报或高清插图,可通过 `--png-scale 3` 或 `--png-scale 4` 提高清晰度。 - 默认追求一步到位出图;只有在导出工具不可用或材料关键事实缺失时,才把 draw.io 手工编辑作为兜底。 - 图表必须服务一个核心观点或一个清晰的信息任务,不把所有材料堆进一张图。 …
Read the whole file at its exact version.
How to install
mdr add cat-xierluo/legal-skills/legal-visualization@sha256:dacc79bc8f7c0239The line at the top of this page pins the label v0.8.2, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_lkf5ozobx667q2qm)
1 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Jun 12, 2026 and Jul 28, 2026, about one every 11 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v0.8.2 latest | 2026-07-28 | 7a95c75 | 15,292 B | A | view · diff |
| v0.8.1 | 2026-07-28 | 462af09 | 14,654 B | A | view · diff |
| v0.8.0 | 2026-07-28 | b1f6c78 | 14,530 B | A | view · diff |
| v0.7.0 | 2026-07-26 | 1f7c34e | 13,405 B | A | view · diff |
| v0.6.14 | 2026-06-12 | 1808fe2 | 11,956 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (15292 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
cat-xierluo/legal-skills · 775 stars · license none declared · pushed 2026-11-01 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_lkf5ozobx667q2qm GET https://markdownregistry.com/api/v1/resolve?ref=cat-xierluo/legal-skills/legal-visualization GET https://markdownregistry.com/api/v1/blob/dacc79bc8f7c0239e3b45d92207153a5c887f506aab47f0375b628659c4cfee1
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.