Agent skill

诉讼文书起草

基于"六来源体系"和请求权基础分析,起草起诉状、答辩状、代理词、质证意见、保全申请书等诉讼文书。整合《法律文书汇编》(郑州市律师协会2023年度优秀法律文书汇编)格式标准,按总控当前事项记录和复盘台账衔接。当用户发送客户编号并提及"起诉状"、"答辩状"、"代理词"、"质证"、"保全"等指令时触发使用。

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: 16
SKILL.md size: 3 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 前,必须先遵循: - skills/legal/法律工作总控/references/practice-profile.md - skills/legal/法律工作总控/references/matter-workspace-protocol.md - skills/legal/法律工作总控/references/document-reading-protocol.md - skills/legal/法律工作总控/references/source-boundary-protocol.md - skills/legal/法律工作总控/references/ocr-correction-protocol.md - skills/legal/法律工作总控/references/pkulaw-mcp-legal-verification-protocol.md 本 Skill 只处理「诉讼文书起草」专业任务;案件隔离、事项路径、文件读取、OCR 复查、来源披露、缺口归档、法规/案例/Wiki 核验和复盘台账更新均按法律工作总控共享协议执行。 ## 旧规则废止(强制) - 旧文中直接写死的客户目录、阶段目录、旧式台账写入、旧本地读取协议均不作为执行规则。 - 事项路径、当前事项、系统记录、业务文件区和复盘台账统一以法律工作总控 `matter-workspace-protocol.md` 为准。 - 不得静默写入复盘台账;确需更新时,先确认属于复盘台账更新并向用户说明。 # 诉讼文书起草Skill ## 轻量入口 本文件是瘦身后的触发入口,只保留任务边界、执行顺序和按需读取索引。完整流程、模板、清单、专项规则和长示例已迁移至 `references/完整流程.md`。 ## 何时使用 - 用户明确提到「诉讼文书起草」或本 Skill frontmatter 描述中的任务。 - 用户请求生成、审查、分析、计算、管理或推进与「诉讼文书起草」对应的法律工作成果。 - 法律工作总控或上游 Skill 路由到本 Skill。 ## 执行顺序 1. 先按法律工作总控确认当前事项、业务文件区、系统记录区和来源边界。 2. 判断用户任务是否可以用本轻量入口完成;如只是路由、状态判断或简短提示,不默认读取完整流程。 3. 需要生成正式文书、报告、清单、计算结果、可视化、专项审查或复杂分析时,按需读取 `references/完整流程.md` 的相关章节。 4. 读取外置细节时,只读取当前任务需要的章节;不要为一个小问题整篇加载完整流程。 5. 输出前同步披露已读取材料、已核验内容、未核验/存疑内容、法规案例检索状态和需要用户判断事项。 ## 要素式起诉状输出规则 模板登记中已覆盖案由的法院要素式起诉状必须使用 DOCX 母版克隆填充链

What's inside
Steps it walks through
  1. 法律工作总控规则(强制)
  2. 旧规则废止(强制)
  3. 轻量入口
  4. 何时使用
  5. 执行顺序
  6. 要素式起诉状输出规则
  7. 证据目录格式门禁
  8. 按需读取索引
  9. 输出底线
Ships with 15 files
  • references/完整流程.md
  • references/文书排版格式规范.md
  • references/起诉状格式标准.md
  • scripts/complaint_business_gate.py
  • scripts/files_to_material_packet.py
  • scripts/material_to_complaint_input.py
  • scripts/tests/test_complaint_business_gate.py
  • scripts/tests/test_files_to_material_packet.py
  • scripts/tests/test_material_to_complaint_input.py
  • templates/保全申请书框架.md
  • templates/当事人信息收集表.md
  • templates/答辩状框架.md
  • templates/证据完整性检验矩阵.md
  • templates/证据目录格式.md
  • templates/质证标准模板库.md
Commands it runs
python scripts/complaint_business_gate.py route --case-cause "民间借贷纠纷" --doc-type "民事起诉状"
python scripts/complaint_business_gate.py check-output --case-cause "民间借贷纠纷" --output-kind template_clone --complaint-data complaint-data.json
python scripts/material_to_complaint_input.py --materials materials.json --out /tmp/complaint-input
python scripts/files_to_material_packet.py --files 当事人信息.docx 事实证据.pdf --case-cause "民间借贷纠纷" --out /tmp/file-to-complaint
More from legal-skills
All skills →
法律工作总控legal 文件夹通用入口 Skill。用于法律咨询、案件办理、合同、产品法务、监管合规、诉讼、刑辩、劳动争议、破产、合规、文书、检索等任务的语义路由、案件隔离、来源披露、文件读取复查、法规/Wiki…AI & Agents法律文书出稿前审查在法律业务 Skill 生成正文或要素式字段后、法律文书模板与导出生成本地 Word 前触发。用于审查 draft.html/preflight-meta.json 或…Data & Analytics合同审查基于张海燕四步审查法+何力/常金光三观分析法,对合同进行深度审查。支持企业核验、多语言自动检测、Mermaid业务流程图、二段式审核意见、合同概览、客户可读合同编号、业务摘要、22类合同专项审查、续约…Testing & QA广告合规审核广告合规审核技能,用于审核广告素材是否符合中国广告法及相关法规。适用场景:(1) 用户提交广告文案、广告素材要求合规审核时;(2) 用户提到"广告审核""广告合规""广告法审查"等关键词时;(3)…Otherlaw-to-markdown将法条/规范文件(.txt/.docx/.pdf)转为 Markdown。适用于用户要求“法条转 markdown”“pdf/docx 转 markdown”。处理 .pdf/.docx…AI & Agents法律文书模板与导出统一处理法律工作中最终需要输出本地 Word(.docx)的文书、报告、清单、笔录、意见书、函件、合同和正式交付文件。由法律工作总控强制路由调用;业务 Skill 负责正文和法律判断,本 Skill…AI & Agents
About this skill
What does the 诉讼文书起草 skill do?

基于"六来源体系"和请求权基础分析,起草起诉状、答辩状、代理词、质证意见、保全申请书等诉讼文书。整合《法律文书汇编》(郑州市律师协会2023年度优秀法律文书汇编)格式标准,按总控当前事项记录和复盘台账衔接。当用户发送客户编号并提及"起诉状"、"答辩状"、"代理词"、"质证"、"保全"等指令时触发使用。

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