CSlawyer1985/legal-skillhub / skills/ambiguity-report
ambiguity-report
Verified将法律文本(合同、法规、规章或司法意见)的诠释性歧义审查转化为精美的交付物。可生成多页面网站(默认)、单页面交互式网站、Microsoft Word 文档、PowerPoint 演示文稿或 LaTeX/PDF。当用户持有压力测试结果、歧义审查或"这将在何处被诉"场景分析,并希望发布、演示或分享时使用。触发词包括"发布审查报告"、"据此制作报告"、"将其转化为网站/演示文稿/简报/Word 文档"、"制作 Netlify 网站"、"制作这些歧义点的幻灯片"、"渲染场景"、"打包这份压力测试"、"生成 LaTeX 版本"等。与歧义压力测试技能(底层分析)配套使用,但也适用于任何结构化或半结构化的歧义分析。视觉设计有明确风格倾向,但用户可覆盖颜色、字体和品牌标识。大多数格式需要 Python 和可写的文件系统;单文件 HTML 在主机两者皆无时仍可运行。
| File | Kind | Size |
|---|---|---|
| LICENSE | other | 11.1 KB |
| NOTICE | other | 1.7 KB |
| README.md | markdown | 964 B |
| SKILL.md | skill md | 16.8 KB |
| assets/latex-preamble.tex | other | 3.8 KB |
| assets/site-style.css | other | 23.9 KB |
| resources/data-format.md | markdown | 11.7 KB |
| resources/format-docx.md | markdown | 6.5 KB |
| resources/format-inline-html.md | markdown | 3.6 KB |
| resources/format-latex.md | markdown | 6.4 KB |
| resources/format-pptx.md | markdown | 6.1 KB |
| resources/format-website.md | markdown | 6.1 KB |
| resources/parsing-unstructured.md | markdown | 6.5 KB |
| scripts/generate_latex.py | script | 19.4 KB |
| scripts/generate_site.py | script | 37.7 KB |
resources/format-pptx.md
View on GitHub# 格式——PowerPoint 演示文稿
PowerPoint 路径生成适合在会议、继续法律教育(CLE)、客户简报或立法听证会上呈现审查结果的 `.pptx`。每张幻灯片一个场景;演讲者备注承载不适合放在幻灯片上的分析深度。
## 委托给 pptx 技能
本技能不直接实现 pptx 生成。它委托给现有的 `pptx` 技能(通过 Skill 工具加载)。该技能使用 `python-pptx`,了解版式、母版、形状、字体和演讲者备注的模式。
**工作流程。**
1. 读取规范。
2. 调用 `pptx` 技能(如果无法直接调用则阅读其 SKILL.md)。
3. 遍历规范构建演示文稿,应用下面的幻灯片结构。
4. 保存到 `<output-dir>/deck.pptx`。
5. 通过主机提供的任何机制将文件交付给用户;如果没有,则陈述输出路径。
## 幻灯片结构
演示文稿为现场演示而构建。幻灯片总数 = 约 6 张 + N 个场景 + 2 张结尾幻灯片。
**幻灯片 1——标题。**
- 居中:`meta.title`(大号、衬线、主色)、`meta.subtitle`(较小、次要色)。
- 下方:`meta.kicker` 小型大写。
- 底部:`meta.audit_date`、演示者姓名(留空供用户填写)。
- 背景:纯 `design.background_color`,左边缘有细窄的 `design.accent_color` 色带。
**幻灯片 2——本次审查是什么。**
- 标题:"What this audit is"
- 概括交付物的项目符号:
- "[N] places in {source} where the text is unclear enough to produce litigation"
- "For each: the situation, both sides' arguments, the likely outcome, a proposed amendment"
- "Methodology: {profile} profile, canon filter applied"
- 演讲者备注:较长的叙述版本,取自 `meta.page_subtitle`。
**幻灯片 3——源文本一览。**
- 标题:`source.name`
- 章节结构的精简渲染——仅标题或带简短文本。如果源文本较小,完整渲染;如果较长,仅渲染顶层结构(例如"(a) Definitions / (b) Acts that constitute the business / (c) Extraterritorial reach"),并注明哪些分项存在争议。
- 视觉:有锚定场景的条款获得 `design.accent_color` 的小圆点标记。
- 演讲者备注:该文档作用的简要摘要。
**幻灯片 4——N 场争议一览。**
- 标题:"The {N} fights"
- 2 或 3 列版式:每个场景作为小卡片,含 S-N、简短标题和按 `design.family_palette` 着色的类别标签。
- 这是视觉目录。
- 演讲者备注:"接下来我将逐一详细讲解。"
**幻灯片 5 至 5+N——每个场景一张。**
- 标题:"S-N · {title}"
- 顶部有类别颜色的色带(如果有多个类别,用 `families[0]`)。
- 主体版式:左半部分 = 情境(短段落),右半部分 = 立场 A 和立场 B 的两个堆叠框(主体名小型大写 + 2-3 句论证)。
- 底部:内联锚点标签。
- 演讲者备注承载:
- 完整情境文本(如果幻灯片上已缩写)。
- 弱点。
- 可能结果。
- 对改写文本的引用(不含改写文本本身——如果包含改写文本幻灯片,它稍后有自己的幻灯片)。
**幻灯片 5+N+1——改写文本概览。**
- 标题:"Proposed amendments"
- R-1 至 R-N 的列表,每项一行描述和目标条款。
- 视觉:与源文本一览幻灯片相同的类别颜色圆点。
- 演讲者备注:整体说明该组合。
**幻灯片 5+N+2 至 5+2N+1——每个改写文本一张(可选)。**
- 标题:"R-N · {target provision}"
- 主体:2-3 行说明问题,然后在醒目框中显示拟议修改文本(淡黄色背景)。
- 演讲者备注:理由、交叉引用回场景。
如果时间紧张(用户要求"精简演示文稿"),跳过每个改写文本的幻灯片,只保留概览。
**幻灯片 N——方法论。**
- 标题:"Methodology"
- 3-4 条简短项目符号:使用的分析档案、解释规则过滤器、排除的内容(有效性/合法性、现行法律核查)。
- 演讲者备注:`methodology.workflow` + `methodology.filter` + `methodology.scope` 的完整文本。
**幻灯片 N+1——结尾/问答。**
- "Thank you" 或 "Questions?"
- 底部为审查元数据(日期、分析档案)。
- 演示者联系方式行——留空。
## 视觉设计
**颜色。**
- 标题幻灯片和章节幻灯片:纯色背景 = `design.background_color`。
- 场景幻灯片上的类别颜色色带:顶部 8px 高,颜色取自类别调色板。
- 立场 A 框:顶部细边框用 `design.dept_color`,浅色背景。
- 立场 B 框:顶部细边框用 `design.adv_color`,浅色背景。
- 改写文本醒目框:黄色背景(默认 `#f7f2e3`),斜体正文。
**字体。**
- 标题:衬线体,约 32pt,半粗。
- 正文:无衬线体,14-16pt。
- 演讲者备注:不操心格式;纯文本即可。
**图片。** 默认无。演示文稿应呈现为干净的文字加颜色的演示,而不是素材图演示。如果用户明确想要页眉图片(法院大楼、州徽等),可以之后自行添加。
**幻灯片母版。** 定义一个带两种版式的母版:标题加正文(用于内容幻灯片)和仅标题(用于章节分隔页)。大多数幻灯片使用标题加正文。
## 常见需求
**"更精简的演示文稿。"** 合并一览幻灯片并跳过每个改写文本的幻灯片。15 分钟简报以 10 张幻灯片为目标。
**"更长的演示文稿,每张幻灯片更多分析。"** 将部分演讲者备注移到幻灯片上(弱点作为场景幻灯片上的一行,可能结果作为改写文本幻灯片上的一行)。注意幻灯片密度——演讲者照读密集幻灯片是演示的死亡。
**"双份演示文稿输出。"** 一份"客户演示文稿"(更简洁,无方法论,无每个改写文本的幻灯片)和一份"团队演示文稿"(完整版)。两者都生成。
## 此格式擅长的
PowerPoint 强制压缩:每张幻灯片一个场景,演讲者承载分析。适合需要概览而不需要完整审查的干系人。
## 此格式不擅长的
幻灯片不适合详细阅读。如果干系人想*研读*审查报告,给他们 Word 文档或网站——而不是演示文稿。
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| canvas-designanthropics/skillsCreate beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| docxanthropics/skillsUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| pdfanthropics/skillsUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| pptxanthropics/skillsUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx or .potx filename, regardless of what they plan to do with the content afterward. If a .pptx or .potx file needs to be opened, created, or touched, use this skill. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |