[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74KTWRM6WHM6XVYWA47FDY6":3,"skill-same:01M74KTWRM6WHM6XVYWA47FDY6":110},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":5,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M74KTWRM6WHM6XVYWA47FDY6","document-fill",null,"给一份文书模板 + 本案知识库，按模板取证填充、产出干净文书 + 溯源\u002F缺口报告。当用户要求「按案卷\u002F知识库填一份模板\u002F表单\u002F文书」时使用。","code-lawyer\u002FLegal-Agent-Skills","code-lawyer","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F245162617?v=4","01M74KSTJH1E301AG8FJ48056S","Lance-lot","01M74KSTK5WWCK47AQD2VM39YW",4,"MIT","https:\u002F\u002Fgithub.com\u002Fcode-lawyer\u002FLegal-Agent-Skills\u002Fblob\u002Fmain\u002Fdocument-fill\u002FSKILL.md",[],[],"2026-11-11 14:19:14",false,"---\nname: document-fill\ndescription: 给一份文书模板 + 本案知识库，按模板取证填充、产出干净文书 + 溯源\u002F缺口报告。当用户要求「按案卷\u002F知识库填一份模板\u002F表单\u002F文书」时使用。\n---\n\n# 文书模板填充（按本案知识库取证填空）\n\n## 文件定位（先读）\n本 skill 由多个文件组成。下文所有 `references\u002F…`、`scripts\u002F…` 路径均**相对于本 SKILL.md 所在目录**。开始前先确定该目录（你被指向或读取本文件时所在的位置），之后所有读取都基于它解析，不要用当前工作目录去找。\n\n## 何时使用\n- 用户给了一份文书模板\u002F表单（起诉状、答辩状、合同模板等占位符文本）+ 本案知识库（案卷材料、证据、笔录等），要求按模板把待填项填好。\n- 用户明确要求「按案卷填一份模板」「把这份表单填了」「用知识库填这份文书」。\n- 上游技能路由到文书填充。\n\n## 任务边界\n本技能只做**模板 × 本案知识库 的取证填充**，产出干净文书 + 溯源\u002F缺口报告。不做以下事项：\n- 说理论证、法律主张的论证性文字撰写 → 路由 `legal-research`（论证）或起草类技能（成文）\n- 法律问题研究、类案检索 → 路由 `legal-research`\n- 合同审查、条款风险评估、红线稿 → 路由 `contract-review`\n\n## 硬不变量（常驻，不可跳过）\n无论任务大小、读没读全深层文件，以下底线始终生效：\n- **闭世界**：只使用本案材料（知识库内文件）取证；本案材料之外的任何来源（模型记忆、常识、网络）一律不得作为填入值的依据。\n- **宁可查不到，也不编造**：材料中确实找不到的待填项，写「未在本案材料中找到」，绝不脑补、绝不用推测值冒充事实。\n- **缺口显性标注**：找不到、待人工补充的待填项必须在填充计划与最终文书中显性标出（`status: gap`），不得静默留白或悄悄跳过。\n- **每个填入值挂且仅挂一个状态标签**：`extracted` \u002F `inferred` \u002F `user_confirmed` \u002F `ambiguous` \u002F `gap` \u002F `pending_drafting` 六选一，不得混用或省略；各状态必填字段见 `references\u002F_templates\u002Ffill-plan-contract.md`。\n- **Mode-2 强约束**：`status: extracted` 的 `value` 必须能在其 `source_span.quote` 的原文字符串中逐字命中，不允许同义改写、数值换算或跨句拼接冒充摘录；此规则由 `scripts\u002Ffill_lint.py` 机检强制执行。\n- **论证型待填项一律留空**：`slot_type: argument`（如\"事实与理由\"这类说理性文字）不属于本 skill 的填空范围，一律 `status: pending_drafting`，交起草\u002F论证环节处理，不由本 skill 代写。\n\n## 执行顺序（按需读取，不要一次读全）\n1. 读 `references\u002F00-workflow.md`，了解主流程与阶段划分。\n2. 探测\u002F接入本案知识库时读 `references\u002F10-kb-access.md`。\n3. 识别模板待填项、逐项取证填充时读 `references\u002F20-slot-and-fill.md`。\n4. 出稿（渲染文书）与出溯源\u002F缺口报告时读 `references\u002F30-output-and-report.md`。\n\n## 按需读取索引\n- `references\u002F00-workflow.md` — 主流程与阶段划分\n- `references\u002F10-kb-access.md` — 本案知识库探测与接入\n- `references\u002F20-slot-and-fill.md` — 待填项识别 + 取证填充规则\n- `references\u002F30-output-and-report.md` — 出稿方式 + 溯源\u002F缺口报告格式\n- `references\u002F_templates\u002Ffill-plan-contract.md` — 填充计划 JSON 契约（字段表 + 各 status 必填字段 + Mode-2 说明）\n- `scripts\u002Ffill_lint.py` — 填充计划确定性闸门：机检来源锚定完整性与状态合法性，输出覆盖率账本\n- `scripts\u002Ffill_docx.py` — 把填充计划渲染进模板；docx 优先，缺 python-docx 或模板非 docx 时降级为 markdown 并显式返回 `degraded=True`\n\n读取失败必须明说，不静默跳过。\n","# 文书模板填充（按本案知识库取证填空）\n\n## 文件定位（先读）\n本 skill 由多个文件组成。下文所有 `references\u002F…`、`scripts\u002F…` 路径均**相对于本 SKILL.md 所在目录**。开始前先确定该目录（你被指向或读取本文件时所在的位置），之后所有读取都基于它解析，不要用当前工作目录去找。\n\n## 何时使用\n- 用户给了一份文书模板\u002F表单（起诉状、答辩状、合同模板等占位符文本）+ 本案知识库（案卷材料、证据、笔录等），要求按模板把待填项填好。\n- 用户明确要求「按案卷填一份模板」「把这份表单填了」「用知识库填这份文书」。\n- 上游技能路由到文书填充。\n\n## 任务边界\n本技能只做**模板 × 本案知识库 的取证填充**，产出干净文书 + 溯源\u002F缺口报告。不做以下事项：\n- 说理论证、法律主张的论证性文字撰写 → 路由 `legal-research`（论证）或起草类技能（成文）\n- 法律问题研究、类案检索 → 路由 `legal-research`\n- 合同审查、条款风险评估、红线稿 → 路由 `contract-review`\n\n## 硬不变量（常驻，不可跳过）\n无论任务大小、读没读全深层文件，以下底线始终生效：\n- **闭世界**：只使用本案材料（知识库内文件）取证；本案材料之外的任何来源（模型记忆、常识、网络）一律不得作为填入值的依据。\n- **宁可查不到，也不编造**：材料中确实找不到的待填项，写「未在本案材料中找到」，绝不脑补、绝不用推测值冒充事实。\n- **缺口显性标注**：找不到、待人工补充的待填项必须在填充计划与最终文书中显性标出（`status: gap`），不得静默留白或悄悄跳过。\n- **每个填入值挂且仅挂一个状态标签**：`extracted` \u002F `inferred` \u002F `user_confirmed` \u002F `ambiguous` \u002F `gap` \u002F `pending_drafting` 六选一，不得混用或省略；各状态必填字段见 `references\u002F_templates\u002Ffill-plan-contract.md`。\n- **Mode-2 强约束**：`status: extracted` 的 `value` 必须能在其 `source_span.quote` 的原文字符串中逐字命中，不允许同义改写、数值换算或跨句拼接冒充摘录；此规则由 `scripts\u002Ffill_lint.py` 机检强制执行。\n- **论证型待填项一律留空**：`slot_type: argument`（如\"事实与理由\"这类说理性文字）不属于本 skill 的填空范围，一律 `status: pending_drafting`，交起草\u002F论证环节处理，不由本 skill 代写。\n\n## 执行顺序（按需读取，不要一次读全）\n1. 读 `references\u002F00-workflow.md`，了解主流程与阶段划分。\n2. 探测\u002F接入本案知识库时读 `references\u002F10-kb-access.md`。\n3. 识别模板待填项、逐项取证填充时读 `references\u002F20-slot-and-fill.md`。\n4. 出稿（渲染文书）与出溯源\u002F缺口报告时读 `references\u002F30-output-and-report.md`。\n\n## 按需读取索引\n- `references\u002F00-workflow.md` — 主流程与阶段划分\n- `references\u002F10-kb-access.md` — 本案知识库探测与接入\n- `references\u002F20-slot-and-fill.md` — 待填项识别 + 取证填充规则\n- `references\u002F30-output-and-report.md` — 出稿方式 + 溯源\u002F缺口报告格式\n- `references\u002F_templates\u002Ffill-plan-contract.md` — 填充计划 JSON 契约（字段表 + 各 status 必填字段 + Mode-2 说明）\n- `scripts\u002Ffill_lint.py` — 填充计划确定性闸门：机检来源锚定完整性与状态合法性，输出覆盖率账本\n- `scripts\u002Ffill_docx.py` — 把填充计划渲染进模板；docx 优先，缺 python-docx 或模板非 docx 时降级为 markdown 并显式返回 `degraded=True`\n\n读取失败必须明说，不静默跳过。\n",{"name":5,"description":7},"main","891684160a6bb972ccadfed11af490de6b5c6567",0,"https:\u002F\u002Fgithub.com\u002Fcode-lawyer\u002FLegal-Agent-Skills","https:\u002F\u002Fgithub.com\u002Fcode-lawyer","superguild.net","A nameless lawyer, obsessively hacking every possible form of resistance.","2026-08-23 07:27:54",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add code-lawyer\u002FLegal-Agent-Skills --skill document-fill",{"tool":38,"command":39},"bunx","bunx skills add code-lawyer\u002FLegal-Agent-Skills --skill document-fill",{"tool":41,"command":42},"pnpm","pnpm dlx skills add code-lawyer\u002FLegal-Agent-Skills --skill document-fill","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcode-lawyer\u002FLegal-Agent-Skills\u002Fblob\u002Fmain\u002Fdocument-fill\u002FSKILL.md",true,[46,52,56,60,64,68,72,78,82,86,90,94,98,102,106],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"README.md","REFERENCE","参考文档",656,"https:\u002F\u002Fgithub.com\u002Fcode-lawyer\u002FLegal-Agent-Skills\u002Fblob\u002Fmain\u002Fdocument-fill\u002FREADME.md",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"references\u002F_templates\u002Ffill-plan-contract.md",4066,"https:\u002F\u002Fgithub.com\u002Fcode-lawyer\u002FLegal-Agent-Skills\u002Fblob\u002Fmain\u002Fdocument-fill\u002Freferences\u002F_templates\u002Ffill-plan-contract.md",{"path":57,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002F00-workflow.md",4186,"https:\u002F\u002Fgithub.com\u002Fcode-lawyer\u002FLegal-Agent-Skills\u002Fblob\u002Fmain\u002Fdocument-fill\u002Freferences\u002F00-workflow.md",{"path":61,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":62,"sourceHtmlUrl":63},"references\u002F10-kb-access.md",4117,"https:\u002F\u002Fgithub.com\u002Fcode-lawyer\u002FLegal-Agent-Skills\u002Fblob\u002Fmain\u002Fdocument-fill\u002Freferences\u002F10-kb-access.md",{"path":65,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002F20-slot-and-fill.md",4833,"https:\u002F\u002Fgithub.com\u002Fcode-lawyer\u002FLegal-Agent-Skills\u002Fblob\u002Fmain\u002Fdocument-fill\u002Freferences\u002F20-slot-and-fill.md",{"path":69,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002F30-output-and-report.md",4773,"https:\u002F\u002Fgithub.com\u002Fcode-lawyer\u002FLegal-Agent-Skills\u002Fblob\u002Fmain\u002Fdocument-fill\u002Freferences\u002F30-output-and-report.md",{"path":73,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":76,"sourceHtmlUrl":77},"scripts\u002Ffill_docx.py","SCRIPT","脚本",3237,"https:\u002F\u002Fgithub.com\u002Fcode-lawyer\u002FLegal-Agent-Skills\u002Fblob\u002Fmain\u002Fdocument-fill\u002Fscripts\u002Ffill_docx.py",{"path":79,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":80,"sourceHtmlUrl":81},"scripts\u002Ffill_lint.py",4765,"https:\u002F\u002Fgithub.com\u002Fcode-lawyer\u002FLegal-Agent-Skills\u002Fblob\u002Fmain\u002Fdocument-fill\u002Fscripts\u002Ffill_lint.py",{"path":83,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":84,"sourceHtmlUrl":85},"scripts\u002Frequirements.txt",111,"https:\u002F\u002Fgithub.com\u002Fcode-lawyer\u002FLegal-Agent-Skills\u002Fblob\u002Fmain\u002Fdocument-fill\u002Fscripts\u002Frequirements.txt",{"path":87,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":88,"sourceHtmlUrl":89},"scripts\u002Fsample_fill_plan.invalid.json",824,"https:\u002F\u002Fgithub.com\u002Fcode-lawyer\u002FLegal-Agent-Skills\u002Fblob\u002Fmain\u002Fdocument-fill\u002Fscripts\u002Fsample_fill_plan.invalid.json",{"path":91,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":92,"sourceHtmlUrl":93},"scripts\u002Fsample_fill_plan.json",1749,"https:\u002F\u002Fgithub.com\u002Fcode-lawyer\u002FLegal-Agent-Skills\u002Fblob\u002Fmain\u002Fdocument-fill\u002Fscripts\u002Fsample_fill_plan.json",{"path":95,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":96,"sourceHtmlUrl":97},"scripts\u002Ftest_fill_docx.py",2393,"https:\u002F\u002Fgithub.com\u002Fcode-lawyer\u002FLegal-Agent-Skills\u002Fblob\u002Fmain\u002Fdocument-fill\u002Fscripts\u002Ftest_fill_docx.py",{"path":99,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":100,"sourceHtmlUrl":101},"scripts\u002Ftest_fill_lint.py",5441,"https:\u002F\u002Fgithub.com\u002Fcode-lawyer\u002FLegal-Agent-Skills\u002Fblob\u002Fmain\u002Fdocument-fill\u002Fscripts\u002Ftest_fill_lint.py",{"path":103,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":104,"sourceHtmlUrl":105},"tests\u002Ftest_df_validate.py",1871,"https:\u002F\u002Fgithub.com\u002Fcode-lawyer\u002FLegal-Agent-Skills\u002Fblob\u002Fmain\u002Fdocument-fill\u002Ftests\u002Ftest_df_validate.py",{"path":107,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":108,"sourceHtmlUrl":109},"validate.py",2922,"https:\u002F\u002Fgithub.com\u002Fcode-lawyer\u002FLegal-Agent-Skills\u002Fblob\u002Fmain\u002Fdocument-fill\u002Fvalidate.py",[111,118],{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":19},"01M74KV53FW8V27552QP6XDFR1","legal-research","法律研究与案例检索分析。当用户要求做法律研究\u002F出研究报告\u002F论证某法律问题\u002F查某争议点的法律依据时使用；当用户要求检索类案\u002F出案例检索报告\u002F查某类纠纷的裁判规则或裁判倾向\u002F同案同判分析时使用。产出执业律师级、每条命题带来源标签、附免责声明、过终检门的研究报告或类案检索报告。只要涉及法律问题论证或类案检索归纳，即应使用本 skill，即便用户未明说\"研究报告\"或\"检索报告\"。","https:\u002F\u002Fgithub.com\u002Fcode-lawyer\u002FLegal-Agent-Skills\u002Fblob\u002Fmain\u002Flegal-research\u002FSKILL.md",[],[],{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":19},"01M74KTK25X567A6SEDW9T9HM2","contract-review","中美双法域合同审查。判定合同受中国法\u002F美国法\u002F跨境管辖，按法域加载规则包，逐条审查并产出双轴风险问题清单与可选 Word 红线稿。当用户要求审查\u002F审阅\u002Fmarkup 合同、检查条款、看 NDA\u002FMSA\u002FSaaS\u002F买卖等协议时使用。","https:\u002F\u002Fgithub.com\u002Fcode-lawyer\u002FLegal-Agent-Skills\u002Fblob\u002Fmain\u002Fcontract-review\u002FSKILL.md",[],[]]