法律文书出稿前审查
在法律业务 Skill 生成正文或要素式字段后、法律文书模板与导出生成本地 Word 前触发。用于审查 draft.html/preflight-meta.json 或 complaint-data.json/fill-plan.json、读取复查摘要、法规校验摘要、来源边界和用户确认记录,决定是否可以进入正式 DOCX 导出;发现问题后必须闭环推进到业务 Skill 整改、用户确认或材料读取流程。
npx skills add pa1nrui1/legal-skills --skill 法律文书出稿前审查 --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 法律文书出稿前审查 本 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_
- 法律工作总控规则(强制)
- 触发条件
- 输入
- 审查命令
- 审查规则
- 自动修正边界
- 输出状态
- 闭环推进
python scripts/preflight_check.py \
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.
