Agent skill · Data & Analytics

法律文书出稿前审查

在法律业务 Skill 生成正文或要素式字段后、法律文书模板与导出生成本地 Word 前触发。用于审查 draft.html/preflight-meta.json 或 complaint-data.json/fill-plan.json、读取复查摘要、法规校验摘要、来源边界和用户确认记录,决定是否可以进入正式 DOCX 导出;发现问题后必须闭环推进到业务 Skill 整改、用户确认或材料读取流程。

pa1nrui1github.com/pa1nrui1GitHub ↗
claude-codeships scriptsMIT
Install
npx skills add pa1nrui1/legal-skills --skill 法律文书出稿前审查 --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 4 KB
Bundled scripts: yes
Path: skills/legal/法律文书出稿前审查/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 58
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 法律文书出稿前审查 本 Skill 是正式本地 Word 输出前的强制闭环审查节点,不替代业务 Skill 的事实判断、法律分析和正文起草。 ## 法律工作总控规则(强制) 执行本 Skill 前,必须先遵循: - skills/legal/法律工作总控/references/practice-profile.md - skills/legal/法律工作总控/references/source-boundary-protocol.md 本 Skill 继承 `practice-profile.md` 的子 Skill 执行质量门;材料读取、法规核验、用户确认和来源边界缺失时,不得进入正式导出链路。 ## 触发条件 - 最终产物是本地 `.docx` 的法律文书、报告、清单、笔录、意见书、函件、合同或正式交付文件。 - 普通线性文书:业务 Skill 已生成 `draft.html` 和 `preflight-meta.json`,准备进入 `法律文书模板与导出`。 - 要素式表单文书:业务 Skill 已生成 `complaint-data.json` 和 `fill-plan.json`,准备进入 DOCX 母版克隆填充链路。 - 用户直接点名业务 Skill 输出 Word 时,也必须先经过本 Skill。 格式测试稿、非正式实验稿可以例外,但必须明确标注不是正式交付。 ## 输入 普通线性文书必须提供: - `draft.html`:语义 HTML,使用 `h1`、`h2`、`h3`、`p`、`section`、`table` 等标签。 - `preflight-meta.json`:出稿前元数据,使用“声明 + 证据路径”,不得只写布尔值。 `preflight-meta.json` 至少包含: ```json { "source_skill": "诉讼文书起草", "doc_type": "取保候审申请书", "output_purpose": "正式交付", "profile": "litigation_standard", "template_selection_path": ".../template-selection.json", "content_template_id": "registered_template_id", "content_template_version": "1.0", "content_template_sha256": "sha256", "profile_id": "litigation_standard", "profile_version": "1.0", "format_standard": "litigation_standard", "matter_path": "...", "system_

What's inside
Steps it walks through
  1. 法律工作总控规则(强制)
  2. 触发条件
  3. 输入
  4. 审查命令
  5. 审查规则
  6. 自动修正边界
  7. 输出状态
  8. 闭环推进
Ships with 1 file
  • scripts/preflight_check.py
Commands it runs
python scripts/preflight_check.py \
More from legal-skills
All skills →
法律工作总控legal 文件夹通用入口 Skill。用于法律咨询、案件办理、合同、产品法务、监管合规、诉讼、刑辩、劳动争议、破产、合规、文书、检索等任务的语义路由、案件隔离、来源披露、文件读取复查、法规/Wiki…AI & Agents法律文书模板与导出统一处理法律工作中最终需要输出本地 Word(.docx)的文书、报告、清单、笔录、意见书、函件、合同和正式交付文件。由法律工作总控强制路由调用;业务 Skill 负责正文和法律判断,本 Skill…AI & Agents合同审查基于张海燕四步审查法+何力/常金光三观分析法,对合同进行深度审查。支持企业核验、多语言自动检测、Mermaid业务流程图、二段式审核意见、合同概览、客户可读合同编号、业务摘要、22类合同专项审查、续约…Testing & QA广告合规审核广告合规审核技能,用于审核广告素材是否符合中国广告法及相关法规。适用场景:(1) 用户提交广告文案、广告素材要求合规审核时;(2) 用户提到"广告审核""广告合规""广告法审查"等关键词时;(3)…Otherlaw-to-markdown将法条/规范文件(.txt/.docx/.pdf)转为 Markdown。适用于用户要求“法条转 markdown”“pdf/docx 转 markdown”。处理 .pdf/.docx…AI & Agents监管合规监测中国境内重点监管动态监测与客户合规影响评估 Skill。用于监管动态、新规更新、政策变化、行业监管、法规政策分级、客户合规缺口核查、政策制度修改建议、整改清单、监管合规简报等任务。适用于用户要求监测某…AI & Agents
About this skill
What does the 法律文书出稿前审查 skill do?

在法律业务 Skill 生成正文或要素式字段后、法律文书模板与导出生成本地 Word 前触发。用于审查 draft.html/preflight-meta.json 或 complaint-data.json/fill-plan.json、读取复查摘要、法规校验摘要、来源边界和用户确认记录,决定是否可以进入正式 DOCX 导出;发现问题后必须闭环推进到业务 Skill 整改、用户确认或材料读取流程。

How do I install it?

Run `npx skills add pa1nrui1/legal-skills --skill 法律文书出稿前审查 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From pa1nrui1/legal-skills, a repository with 58 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going