legal-skills
AGENTS.md100 starsChanged 5 months agoMITView on GitHub
When a legal task involves a document, report, memo, case compilation, pleading, evidence list, legal opinion, client-facing material, court-facing material, or any .docx output, classify the deliverable before writing substantive content: For every legal .docx or formal legal deliverable, stop and verify these gate items before export: Never treat “content completed” as “legal work completed.” A formal legal deliverable is complete only when the required matter routing, template confirmation, reverse structure check, source evidence files, preflight review, export chain, and…
In this repository59 other files it gives its agents.
- china-legal-skillsSkill
- law-to-markdownSkill
- 一审阶段辩护Skill
- 二审阶段辩护Skill
- 产品法务Skill
- 侦查阶段辩护Skill
- 债权人会议Skill
- 债权申报与审查Skill
- 刑事辩护总调度Skill
- 初步法律分析Skill
- 劳动争议仲裁程序管理Skill
- 劳动争议证据体系Skill
- 劳动争议诉讼Skill
- 劳动关系认定与经济补偿计算Skill
- 合同审查Skill
- 合同起草Skill
- 委托合同管理Skill
- 审查起诉阶段辩护Skill
- 审理报告Skill
- 广告合规审核Skill
- 庭前准备Skill
- 庭审与庭后工作Skill
- 微信文章转换为markdownSkill
- 未成年人案件Skill
- 案件承接与委托Skill
- 案件材料生成专业文档Skill
- 案件沟通记录Skill
- 案件讨论与提纲Skill
- 死刑案件Skill
- 民事一审诉讼Skill
- 民事判决书Skill
- 法律Wiki知识库查询Skill
- 法律咨询助手Skill
- 法律工作总控Skill
- 法律文书出稿前审查Skill
- 法律文书模板与导出Skill
- 法律文章quai味道Skill
- 法规案例检索Skill
- 特殊程序Skill
- 用人单位劳动合规Skill
- 监管合规监测Skill
- 破产和解程序Skill
- 破产文书生成Skill
- 破产法律分析Skill
- 破产清算Skill
- 破产申请与受理Skill
- 立案管理Skill
- 简易速裁程序Skill
- 管理人工作Skill
- 结案归档Skill
- 诉讼分析工具Skill
- 诉讼可视化Skill
- 诉讼文书起草Skill
- 诉讼案件管理Skill
- 调查取证与证据管理Skill
- 调解与和解Skill
- 财产调查与管理Skill
- 重整程序Skill
- 预包装食品标签合规Skill
The file
We split this AGENTS.md into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 5
When a legal task involves a document, report, memo, case compilation, pleading, evidence list, legal opinion, client-facing material, …
- Very specific: line 17
All cited case/material files have a 读取复查摘要.
- Very specific: line 18
All cited statutes, regulations, judicial interpretations, or current legal rules have a 法规校验摘要.
≈ “Common” is an estimate: at least 1 in 5 of the 16,597 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Repository Instructions
Legal Formal Deliverable Hard Gate
When a legal task involves a document, report, memo, case compilation, pleading, evidence list, legal opinion, client-facing material, court-facing material, or any .docx output, classify the deliverable before writing substantive content:
工作草稿: internal draft only; may be Markdown; must be named with草稿or未出稿审查if not reviewed.律师内部报告: internal strategy analysis; may include risk assessment and litigation suggestions; must still include source boundary, reading review, and legal verification when it cites materials, cases, or law.提交法院/客户的正式材料: court-facing or client-facing; must follow the applicable legal Skill template, stay clean and professional, and include required source boundary records.Word正式交付物: any formal.docx; must pass the full legal export chain before being called final or formal.
For every legal .docx or formal legal deliverable, stop and verify these gate items before export:
- Current matter matches
【自定义工作目录】/_系统记录/当前事项.md; if it does not, switch/build the matter first or ask before continuing. - The correct legal Skill has been selected, including whether the output is a 法官版、律师版、诉讼文书、证据目录、法律意见 or other type.
- Before writing substantive content, the corresponding legal template/reference file has been identified and recorded, with its key format requirements stated. After generation, run a reverse structure check against that template. For
证据目录, the controlling template is诉讼文书起草/templates/证据目录格式.md; it must use grouped textual paragraphs with第一组证据and证明目的, and must not be output as a table unless the user expressly overrides this template. - All cited case/material files have a
读取复查摘要. - All cited statutes, regulations, judicial interpretations, or current legal rules have a
法规校验摘要. - A
来源边界记录exists and states verified, unverified, and output boundaries. - Any user choice that changes scope, version, strategy, amount, claim, authorization, or whether to include/exclude negative cases is recorded in
用户确认记录. - Formal Word output has
draft.html,preflight-meta.json,draft_checked.html,出稿前审查报告.md, and the report status isPASSorFIXED_PASS. - Formal Word output is generated only through
法律文书模板与导出(html_to_docx.py) and passeshealth_check.py.
Never treat “content completed” as “legal work completed.” A formal legal deliverable is complete only when the required matter routing, template confirmation, reverse structure check, source evidence files, preflight review, export chain, and health check are complete. Direct pandoc md -> docx export is allowed only for clearly labeled experiments or drafts, never for a formal legal deliverable.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

