Skip to content

CSlawyer1985/legal-skillhub / skills/ambiguity-report

ambiguity-report

Verified

将法律文本(合同、法规、规章或司法意见)的诠释性歧义审查转化为精美的交付物。可生成多页面网站(默认)、单页面交互式网站、Microsoft Word 文档、PowerPoint 演示文稿或 LaTeX/PDF。当用户持有压力测试结果、歧义审查或"这将在何处被诉"场景分析,并希望发布、演示或分享时使用。触发词包括"发布审查报告"、"据此制作报告"、"将其转化为网站/演示文稿/简报/Word 文档"、"制作 Netlify 网站"、"制作这些歧义点的幻灯片"、"渲染场景"、"打包这份压力测试"、"生成 LaTeX 版本"等。与歧义压力测试技能(底层分析)配套使用,但也适用于任何结构化或半结构化的歧义分析。视觉设计有明确风格倾向,但用户可覆盖颜色、字体和品牌标识。大多数格式需要 Python 和可写的文件系统;单文件 HTML 在主机两者皆无时仍可运行。

FileKindSize
LICENSEother11.1 KB
NOTICEother1.7 KB
README.mdmarkdown964 B
SKILL.mdskill md16.8 KB
assets/latex-preamble.texother3.8 KB
assets/site-style.cssother23.9 KB
resources/data-format.mdmarkdown11.7 KB
resources/format-docx.mdmarkdown6.5 KB
resources/format-inline-html.mdmarkdown3.6 KB
resources/format-latex.mdmarkdown6.4 KB
resources/format-pptx.mdmarkdown6.1 KB
resources/format-website.mdmarkdown6.1 KB
resources/parsing-unstructured.mdmarkdown6.5 KB
scripts/generate_latex.pyscript19.4 KB
scripts/generate_site.pyscript37.7 KB

resources/format-inline-html.md

View on GitHub
# 格式:单文件 HTML

一个自包含的 `.html` 文件,直接从规范编写。不运行脚本、不导入任何内容,结果可在任何机器上双击打开。

这是**通用后备方案**——唯一完全没有主机要求的格式——并且也是交付物需要经电子邮件发送、附入案件卷宗或由不愿解压文件夹的人打开时的正确首选。

## 何时使用

- 主机无法运行 Python 或写入目录树。这是唯一仍然可行的格式。
- 受众是一两个人需要阅读,而不是会回访的团队。
- 交付物必须以附件形式传输。
- 用户现在就要结果,而多页面网站对这项工作而言过于繁琐。

在可用且受众会回访的情况下,优先使用脚本生成的多页面网站——每个场景的 URL 值得拥有,而本格式没有。

## 构建

直接编写文件。不要调用 `scripts/generate_site.py`;不要尝试复现其输出结构。

**自包含正是全部意义所在。** 所有内容放在一个文件中:

- 所有 CSS 放在 head 中单个 `<style>` 块内。从 `assets/site-style.css` 取设计——阅读它并适配本版式所需的内容,而不是发明新的视觉语言,这样单文件输出与网站是明显同一产品。
- 任何 JavaScript 内联,并保持最小化。平滑滚动锚点和折叠开关值得拥有;其他都不需要。
- 无外部样式表、无外部脚本、无链接图片。
- **无网页字体。** 多页面网站从 Google Fonts 加载 Fraunces、Inter 和 Crimson Pro。本格式不得如此:打开时向外拨号的文件夹不符合电子邮件审查的要求,且在离线时渲染不佳。使用系统字体栈——正文用衬线栈,界面用无衬线栈——如果用户设置了 `design.primary_font`、`design.body_font` 和 `design.serif_font`,将其映射到该栈上。
- 遵循规范中的设计标记——`accent_color`、`accent_soft`、`dept_color`、`adv_color`、`background_color`、`family_palette`。将它们声明为样式块顶部的 CSS 自定义属性,这样后续调整就是一行编辑。

## 文档结构

镜像多页面网站的信息架构,扁平化为一个带顶部锚点索引的滚动页面。

1. **页眉**——标题、源文书、日期、品牌标识(如提供)。
2. **目录**——场景的链接列表,每个场景的缺陷类别显示为彩色标签。这是替代每场景 URL 的东西;做好它。
3. **执行摘要**——场景数量、涉及的类别,以及最重要的一个或两个接缝点。
4. **源文本**——文书或被审摘录,置于受限的滚动块中,条款 ID 作为锚点目标,使场景的锚点可以链接到其中。
5. **场景**——每个场景一个章节,按规范顺序,承载每个字段:标题、叙述、链接回源文本块的锚点、缺陷类别、弱点、可能结果以及改写文本或论证对。立场 A 和立场 B 采用两个侧面板颜色,与网站一致。
6. **改写文本附录**——每个拟议的治疗方案作为一个修改包集中收集,使起草人可以从单一列表出发工作。
7. **方法论**——分析是如何产生的、研究步骤使用了什么或无法核查什么,以及预测结果只是预测的免责声明。

## 规模

单文件 HTML 可以舒适地容纳常规审查。超过约四十个场景后,页面导航变得笨拙,目录列表不再能承载——如实说明,并在主机能生成时推荐多页面网站。

## 交付

一个文件 `report.html`。通过主机提供的任何机制交付,或陈述路径。它不需要压缩包、不需要文件夹、不需要静态托管:本地打开即是预期用途,上传到任何地方同样可行。
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: 198kUpdated Claude CodeCodexVerifiedInstall
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: 198kUpdated Claude CodeCodexVerifiedInstall
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: 198kUpdated Claude CodeCodexVerifiedInstall
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: 198kUpdated Claude CodeCodexVerifiedInstall