explain-chinese-judgment

Identify and interpret Chinese court judgments. After a pre-interview with the client to confirm the principal, service objectives, procedural status, and deliverables, extract claims, dispute points, reasoning, operative parts, amounts, deadlines, and follow-up actions; produce lawyer-verification materials with a business cover and visual HTML/PDF reports for lay clients. Applicable to judgments, rulings, and mediation documents provided as PDF, DOCX, scanned images, or text, for tasks such as client reports, case-closing reports, appeal assessment materials, performance notices, or execution preparation checklists. Provides specialized support for common civil cases and safely degrades for other case types.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "explain-chinese-judgment" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-8fdb214a4dbf5e0ecc900ee410e7e8aab3e94e22f1b853e2d5e8fba0de4b7610. Verify the upstream source and version against https://skillhub.cn/skills/user_6e8ac8d8/ecj before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Identify and interpret Chinese court judgments. After a pre-interview with the client to confirm the principal, service objectives, procedural status, and deliverables, extract claims, dispute points, reasoning, operative parts, amounts, deadlines, and follow-up actions; produce lawyer-verification materials with a business cover and visual HTML/PDF reports for lay clients. Applicable to judgments, rulings, and mediation documents provided as PDF, DOCX, scanned images, or text, for tasks such as client reports, case-closing reports, appeal assessment materials, performance notices, or execution preparation checklists. Provides specialized support for common civil cases and safely degrades for other case types.

0 Downloads

Introduction source: third_party · user_6e8ac8d8 · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: explain-chinese-judgment
description: 识别和解读中国法院裁判文书,通过前置客户访谈确认委托方、服务目标、程序状态和交付对象,再抽取诉讼请求、争议焦点、裁判理由、主文、金额、期限及后续行动,生成带商务封面的律师核验材料和面向普通客户的可视化 HTML/PDF 报告。适用于用户提供 PDF、DOCX、扫描图片或文本形式的判决书、裁定书、调解书,要求判断案件类型、解释裁判结果、制作客户报告、结案报告、上诉评估材料、履行提示或执行准备清单的场景;专项支持常见民事案件,其他案件安全降级。

判决书客户解读报告

把裁判文书转换为“客户看得懂、律师能核对、结论可追溯”的报告。先确认服务场景,再分析文书;把内部核验材料与客户交付物分开,不把未确认的推断写成正式法律意见。

总体状态机

严格按以下顺序工作:

信息采集 → 文书体检 → 分类与证据模型 → 律师核验稿 → 确认门禁 → 客户沟通版 → 交付复核

不得在客户身份和服务目标未知时直接生成定向客户报告。此时可以提取客观信息,但只能输出“中立概览”,不得给出站队式影响判断、期限结论或诉讼策略。

1. 先做信息采集

读取 intake-and-delivery.md。检查对话和材料中是否已经包含以下五项;只询问缺失项,不重复提问:

  1. 客户是哪一方及其诉讼角色;
  2. 本次服务目的;
  3. 已提供材料的范围及是否存在后续裁判;
  4. 报告读者、语气和交付形式;
  5. 脱敏、称谓、律所品牌等展示要求。

将问题合并为一轮简短提问。涉及上诉、履行或执行时,再按目的追问送达、生效、付款和程序进展材料。

如果用户明确要求“先做一个不带客户立场的预览”,可以进入 neutral_preview;否则在缺少客户方和服务目的时暂停客户版生成。

2. 进行文书体检

  1. 读取全部裁判文书及附件,保留页码或稳定段落定位。
  2. 区分判决、裁定、调解及一审、二审、再审、执行程序。
  3. 检查缺页、OCR 乱码、印章遮挡、主文或附件缺失。
  4. 检查材料是否仅为案件过程中的一份文书;发现后续裁判线索时,明确提示补充,不把旧裁判当作当前最终结果。
  5. 对金额、日期、案号和主文核对文本层与页面图像,不得只信 OCR。

影响结论的材料缺陷写入 uncertainties;缺少主文或关键页时不得生成 client_final。

3. 分类并建立证据模型

读取 case-routing.md,识别程序阶段、明确案由、实质争议、客户角色、裁判形态和专项标签。输出分类置信度:

  • >= 0.85:启用对应专项模块;
  • 0.65—0.84:启用专项模块并要求律师确认分类;
  • < 0.65:使用通用模块,列出不超过三个候选类型。

按文书结构提取元数据、当事人、各方请求、法院认定、争议焦点、裁判理由、主文、费用、履行信息及权利告知。每项核心结论保存 source_ref。严格区分:

  • 当事人主张;
  • 法院认定;
  • 报告计算;
  • 外部核验信息;
  • 律师建议。

4. 先生成律师核验层

按 report-schema.md 形成 JSON。先生成 internal_review 数据层,至少包含:

  • 请求—裁判逐项对照;
  • 主文拆解及原文定位;
  • 金额、期限和责任形态核对;
  • 后续程序或外部资料核验;
  • 矛盾、缺失和待确认事项;
  • 建议律师确认的问题。

“律师核验材料”是内部质量控制附件,不是客户报告的名称。不得因为需要审核,就把全部交付物永久标记为工作底稿。

5. 执行确认门禁

生成客户定向版本前,检查:

  • 客户方和诉讼角色已确认;
  • 服务目的已确认;
  • 关键裁判文书范围已确认;
  • 报告中的客户影响与该方立场一致;
  • 所有高风险字段已核对或醒目标注;
  • 用户已选择 client_draft 或明确表示承办律师已经复核,可进入 client_final。

不得自行宣称“承办律师已审核”。没有明确确认时,只能使用“客户沟通版草稿|待承办律师确认”。

6. 生成客户沟通版

按“结果 → 为什么 → 对客户的影响 → 现在做什么”组织内容。至少包含:

  • 一句话结论及支持程度;
  • 请求与裁判对照;
  • 客户可获得或需承担的金额及责任;
  • 法院裁判逻辑的通俗解释;
  • 程序时间线和下一步行动;
  • 仍需补充的信息。

客户版默认不展示分类置信度、内部推理、完整核验摘录和研究过程;这些放在可选的“律师核验附件”。不得使用“稳赢”“必然改判”“一定能执行到”等保证性措辞。

7. 控制期限与金额

  1. 区分裁判日、送达日、生效日和履行届满日。
  2. 未提供实际送达信息时,只说明计算规则,不输出确定截止日。
  3. 未确认生效时,不宣称可以立即申请执行。
  4. 固定金额与动态金额分开;动态金额展示公式、变量、截至日和取整口径。
  5. 区分连带、共同、按份、补充责任及行为义务。
  6. 对人工计算至少复算一次,并保留内部计算依据。

8. 渲染与交付

每份 HTML 和 PDF 必须包含独立的商务封面。封面与正文分离,PDF 封面独占第一页,至少展示:

  • 律所或律师品牌;
  • 案件简称和报告名称;
  • 一句话报告副标题;
  • 客户对象;
  • 报告模式与审核状态;
  • 出具日期和保密标识。

采用深色主视觉、克制的装饰图形和足够留白;不得在封面堆放案情摘要、金额表格、分类置信度或内部疑点。没有 Logo 时使用律所名称的文字品牌,不临时生成虚构 Logo。

运行:

python3 scripts/render_report.py report.json --output judgment-report.html

需要 PDF 时,从同一份已验证 JSON 生成或打印 PDF,并逐页检查中文字体、分页、表格、金额和页脚。输出文件名根据模式区分:

python3 scripts/render_pdf.py report.json --output judgment-report.pdf

首次在新环境使用时运行 python3 -m pip install -r requirements.txt。PDF 渲染器会自动寻找 macOS、Linux 和 Windows 常见中文字体;自动发现失败时使用 --font /path/to/chinese-font.ttf 指定字体。

  • 案件简称-中立概览.html/pdf
  • 案件简称-客户沟通版草稿.html/pdf
  • 案件简称-客户沟通版.html/pdf
  • 案件简称-律师核验附件.html/pdf

9. 完成交付复核

读取 safety-and-qa.md 并完成对应模式的清单。交付时说明:

  • 当前报告模式和审核状态;
  • 使用了哪些文书;
  • 哪些关键材料尚未提供;
  • 是否包含内部核验附件;
  • PDF/HTML 的文件位置。

支持与降级

专项支持民间借贷、买卖合同、劳动争议、房屋买卖和机动车交通事故责任纠纷。其他民事案件使用通用模块,不得套用相似类型的专项字段。刑事、行政、国家赔偿、破产程序和复杂执行异议案件只做结构化解读;涉及实体法律意见时提示由相应领域律师复核。

需要核验案由、程序规则或隐私要求时读取 authoritative-sources.md,并重新核验现行官方来源。

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value82/100

Areas to improve

  • 引用文件缺失 Reported severity: Minor

    SKILL.md 引用了 references/intake-and-delivery.md、references/case-routing.md、references/report-schema.md、references/safety-and-qa.md、references/authoritative-sources.md 等文件,但未传入 ZIP 包中。

    Recommendation: 请补充所有被引用的参考文件,或调整主文档使其不依赖外部文件。

Highlights

  • 解决法律从业者与普通客户对裁判文书解读的实际需求
  • 支持多种文书格式(PDF/DOCX/图片/文本)和常见民事案件类型
  • 提供律师核验与客户沟通双轨输出,符合法律服务规范
Trigger Precision92/100

Highlights

  • 触发词完整覆盖裁判文书解读、客户报告生成、上诉评估等核心场景
  • 明确区分不同用户角色(律师/普通客户)和服务目的
  • 边界清晰,专项支持常见民事案件,其他案件安全降级
Structure and Standards95/100

Areas to improve

  • 文档过长 Reported severity: Minor

    SKILL.md 内容约 450 行,超过建议的 500 行以内标准。

    Recommendation: 可考虑将部分详细说明移至引用文件中,保持主文档简洁。

  • 缺少 When to Use 章节 Reported severity: Minor

    文档未设置独立的 When to Use 章节说明典型使用场景。

    Recommendation: 建议增加 When to Use 章节,帮助用户快速理解适用场景。

Highlights

  • Phase 划分清晰(信息采集→文书体检→分类→核验→确认→客户版→交付)
  • 提供完整的端到端示例和文件命名规范
  • frontmatter 完整,包含 name 和 description
Execution Reliability88/100

Highlights

  • 工具来源明确(Python 脚本),参数正确
  • 覆盖主要异常场景(材料缺陷、分类置信度分级、确认门禁)
  • 不可逆操作有确认机制(律师确认后才生成最终客户版)
  • 提供字体自动发现和手动指定方案,确保 PDF 渲染可靠性
Evidence Verifiability (mean of the first four)89/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 131

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.