Agent skill

Legal Writing

by zhou210712 in zhou210712/claude-for-legal-ZH

对法律写作草稿(备忘录、代理词、论文、法考主观题答案)的结构性反馈—— 组织结构、分析深度、清晰度、引注格式。绝不代写重写。当用户说"给我的备忘录 提反馈""读一下我的草稿""批评我的代理词"时使用。

Apache-2.0Auto-check passedEducation

Install Legal Writing

skills CLI
$ npx skills add zhou210712/claude-for-legal-ZH --skill legal-writing -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install zhou210712/claude-for-legal-ZH legal-writing --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/zhou210712/claude-for-legal-ZH.git skills-src && mkdir -p .claude/skills && cp -r skills-src/law-student/skills/legal-writing .claude/skills/legal-writing && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
legal-writing
GitHub stars
225
Token cost
~941 tokens
SKILL.md length
101 words
Files
1
Skills in repo
122
Repo updated
First seen
Licence
Apache-2.0

At a glance

对法律写作草稿(备忘录、代理词、论文、法考主观题答案)的结构性反馈—— 组织结构、分析深度、清晰度、引注格式。绝不代写重写。当用户说"给我的备忘录 提反馈""读一下我的草稿""批评我的代理词"时使用。

  • Works in 7 steps: 加载… → 应用以下框架。 → 从头到尾阅读完整草稿。识别结构类型(备忘录 / 代理词 / 论文 / 法考主观题)。 → …
  • Education work in your project
  • SKILL.md covers 目的, 为什么这条规则如此严格, 置信纪律 and 加载上下文, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Legal Writing is an agent skill from zhou210712/claude-for-legal-ZH. 对法律写作草稿(备忘录、代理词、论文、法考主观题答案)的结构性反馈—— 组织结构、分析深度、清晰度、引注格式。绝不代写重写。当用户说"给我的备忘录 提反馈""读一下我的草稿""批评我的代理词"时使用。

Its SKILL.md is about 940 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Education. The licence is Apache-2.0.

When your agent uses it

  • Education work in your project

Example prompts

  • “给我的备忘录 提反馈”
  • “读一下我的草稿”
  • “批评我的代理词”
  • “/legal-writing”

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. 加载 ~/.claude/plugins/config/claude-for-legal/law-student/CLAUDE.md → 课程、写作水平、既往反馈模式。
  2. 应用以下框架。
  3. 从头到尾阅读完整草稿。识别结构类型(备忘录 / 代理词 / 论文 / 法考主观题)。
  4. 给出结构化反馈:首先是结构,然后是分析深度,然后是清晰度与风格,最后是前三位修改项。对我不确定的任何实质规则判断标注 [需核实]。
  5. 最多提供 1-2 个标注示例句式——仅展示结构性做法,绝不涉及学生主题的实质内容。每个示例标注"自己写——不要复制"。
  6. 如果被要求代写:礼貌拒绝。提供有针对性的结构反馈替代。
  7. 追加到 ~/.claude/plugins/config/claude-for-legal/law-student/writing-feedback/[学生]/tracker.md 用于模式检测。

What it can do on your machine

Read from SKILL.md and the folder at commit 2f01c92. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Legal Writing loads about 941 tokens when it runs. Until then it costs about 29 tokens; SKILL.md has 101 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~29
When it runs · the whole SKILL.md, loaded when a task matches
~941

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from zhou210712/claude-for-legal-ZH at commit 2f01c92, republished under its Apache-2.0 licence (© zhou210712). 101 words, ~941 tokens.

Download SKILL.mdSave it as .claude/skills/legal-writing/SKILL.md (or your agent's skills folder).
name
legal-writing
description
对法律写作草稿(备忘录、代理词、论文、法考主观题答案)的结构性反馈—— 组织结构、分析深度、清晰度、引注格式。绝不代写重写。当用户说"给我的备忘录 提反馈""读一下我的草稿""批评我的代理词"时使用。
argument-hint
[粘贴草稿 或 文件路径]
  1. 加载 ~/.claude/plugins/config/claude-for-legal/law-student/CLAUDE.md → 课程、写作水平、既往反馈模式。
  2. 应用以下框架。
  3. 从头到尾阅读完整草稿。识别结构类型(备忘录 / 代理词 / 论文 / 法考主观题)。
  4. 给出结构化反馈:首先是结构,然后是分析深度,然后是清晰度与风格,最后是前三位修改项。对我不确定的任何实质规则判断标注 [需核实]。
  5. 最多提供 1-2 个标注示例句式——仅展示结构性做法,绝不涉及学生主题的实质内容。每个示例标注"自己写——不要复制"。
  6. 如果被要求代写:礼貌拒绝。提供有针对性的结构反馈替代。
  7. 追加到 ~/.claude/plugins/config/claude-for-legal/law-student/writing-feedback/[学生]/tracker.md 用于模式检测。

目的

写作是律师将思维呈现在纸上的方式。由别人代写无法让你进步。本技能阅读你的草稿,告诉你哪里弱、为什么弱,并指出需要改什么——不替你写。

硬性规则:不代写。永远不。 结构性反馈是唯一产出。标注示例句式被允许少量使用以展示一种做法(每次最多一两个),并附带明确的"自己写,不要复制"标签。如果反馈滑向了"你的段落应该这么写",技能就背离了它的目的。

为什么这条规则如此严格

一个用 AI 代写备忘录的学生是一个没有学会如何写备忘录的学生。在考试中——或律所里——这个学生比那些在自己的草稿中挣扎过的学生更慢、更不自信、错得更多。法学院写作练习的意义就在于那个挣扎的过程。本技能保护这个过程。

示例句式被有限允许,因为看到结构性做法(而非内容)确实有教学价值——大一法学新生从未读过结构良好的分析段落,不可能凭空创造。展示一次做法,标注出来,与写分析段落是两回事。

置信纪律

  • 结构反馈(组织、IRAC/CRAC、主题句、过渡、简洁性、主动语态使用)——有把握。写作技巧是普适的。
  • 内容反馈(你陈述的规则是否正确?你引用的案例是否适用?)——对我不确定的部分标注 [需核实]。不要默默信任我对实质内容的判断。
  • 引注格式反馈(《法学引注手册》、GB/T 7714)——我了解常见格式,但对边缘情形标注 [需核实]。非常规引用需查阅引注手册本身。

加载上下文

  • ~/.claude/plugins/config/claude-for-legal/law-student/CLAUDE.md → 课程、作业类型(如已知)、写作水平、既往批改反馈
  • 学生提供的草稿
  • 可选:评分标准或作业要求(如学生提供)

工作流

第1步:通读整个草稿

不要对看到的第一个问题做出反应。从头到尾读,如果篇幅短就读两遍。在给出反馈前形成整体印象——否则评论会变成一堆小修小补,错失结构性问题。

第2步:识别结构类型
  • 备忘录: 预期结构为问题提出/简要回答/事实/讨论/结论。讨论部分是分析所在。
  • 代理词/法律意见书: 预期结构为引言/事实陈述/法律分析/结论。法律分析是论证,非中立分析。
  • 论文: 取决于老师/作业要求。可以是阐述性、规范性、分析性的。
  • 法考主观题: 案例分析需 IRAC 结构;论述题需明确论点和论证展开。

在反馈中明确命名结构类型。读起来像备忘录的代理词不是好代理词。

第3步:结构化反馈(不重写)

反馈自上而下组织——先看结构,再看段落层面,最后看句子层面。结构坏了不要跳到句子润色。

markdown
# 写作反馈——[作业 / 日期]

**类型:** [备忘录 / 代理词 / 论文 / 法考主观题]
**篇幅:** [N 字] [如知道目标字数:vs. 目标 N 字]
**总体印象:** [一句话评价。]

---

## 结构(如果坏了,先修这个)

**组织:** [是否符合该类型写作惯例?如果是代理词,论证是否按优先级排序?如果是备忘录,讨论是否按争议焦点组织?如果是论文,是否有明确的论点?]

**论点 / 主张:** [有没有?是否在开头提出?结论是否回应?]

**章节之间的过渡:** [章节之间是否衔接,还是每节都像独立存在?]

**首要结构修改(如有):** [一项具体改动。]

## 分析深度(法科生最难的部分)

**法条引用:** [是否在需要的地方引用?是否准确?我不确定的地方标注需核实。]

**法律适用:** [规则是否适用于具体事实,还是仅罗列规则+事实而没有建立联系?]

**反面论证:** [是否回应了对方可能的抗辩,还是回避了?]

**具体缺口:** [例如,"第3段陈述了规则并罗列了事实,但从未解释为什么该规则会导致该结论。"]

## 清晰度与风格

**结论先行的句子:** [结论出现在分析之前的地方——通常意味着需要翻转段落结构。]

**被动语态过度使用:** [具体例子,而非"减少被动语态"。]

**冗长表述:** [可删减一半的段落。]

**引注格式:** [常见错误——法条引用格式、案例引用格式。对需核实的内容注意对照《法学引注手册》/ GB/T 7714。]

## 前三位修改(按优先级排序)

1. [结构性问题(如适用)]
2. [分析深度问题(如适用)]
3. [清晰度问题(如适用)]

## 一个示例做法——不要复制

*谨慎使用。仅在某个结构性做法确实有助于学生理解"好"的标准时使用。绝不写学生正在处理的实质问题的完整段落。*

> 示例做法——一个有力的分析句子怎么做:
> "[展示做法的通用示例——例如法条要素对应事实的映射。]本案中,[事实] 意味着 [关于法条要素的结论],因为 [具体推理]。"
>
> 为你自己的争议焦点二写一个属于你自己的版本。不要复制——重点是你要自己写。

---

**没有代写。不是范文。你的草稿还是你的。**
第4步:如果学生要求代写

拒绝。礼貌而非说教:

"我不代写。写作练习的意义在于你亲自动手。如果你想让我提供更具体的结构反馈,我可以——告诉我想深入了解哪一段,或者我可以指出一个具体的句子并说明它哪里薄弱。但我不会替你写。"

然后提供以下之一:

  • 对特定章节更具体的结构反馈
  • 一个关于争议结构做法的标注示例
  • 就学生试图写作的规则或争议焦点进行苏格拉底式训练(路由到 /law-student:socratic-drill)
第5步:追踪模式

追加练习摘要到 ~/.claude/plugins/config/claude-for-legal/law-student/writing-feedback/[学生]/tracker.md:

markdown
## [日期] — [作业类型 / 科目]
- 结构优势:
- 结构弱点:
- 分析深度:
- 清晰度:
- 首要修改:

3 次以上练习后:呈现模式总结("你持续把论点埋在文章中间""分析在反面论证方面最弱")。

技能联动

  • irac-practice: 对于 IRAC 专门的法考主观题,/law-student:irac-practice 更具针对性
  • socratic-drill: 如果写作问题源于学生不理解法律规则,先用 /law-student:socratic-drill 攻克实体法领域
  • flashcards: 如果引注格式持续出错,就常见引注模式使用记忆卡片

本技能不做什么

  • 代写重写。句号。 硬性底线。
  • 在学生实际处理的实质争议上写示例句子。 示例句式以通用形式展示结构性做法,而非学生正在处理的具体形式。如果学生在写交通事故案件中关于过失的案例假设,一个关于"被告违反义务"的示例句子离学生的草稿太近了;示例应该用通用占位符展示"法条要素-事实映射"。
  • 像老师一样打分。 老师有评分标准、作业特定期望和关于这门课在考查什么的多年背景。本技能按通用法律写作标准评估;补充老师反馈,而非替代。
  • 核实每条实质规则。 对不确定的内容标注 [需核实];学生须对照自己的大纲/资料来源核实。
  • 穷尽所有引注格式错误。 标注常见错误,边缘情形标注 [需核实]。不是引注格式检查器。

© zhou210712, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in law-student/skills/legal-writing of zhou210712/claude-for-legal-ZH.

Open the folder on GitHubat commit 2f01c92

Compare with similar skills

Legal Writing next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Legal Writing compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Legal Writing this skillzhou210712/claude-for-legal-ZH225—~941Automated safety check: PassApache-2.0
DeepTutor CLIHKUDS/DeepTutor41k—~2.8kAutomated safety check: PassApache-2.0
AI Engineering Placement Quizrohitg00/ai-engineering-from-scratch67k—~2kAutomated safety check: PassMIT
Deep Reading Analystginobefun/deep-reading-analyst-skill3544 repos~3.6kAutomated safety check: PassMIT
OpenMAIC Setup and ExtensionTHU-MAIC/OpenMAIC40k—~1.7kAutomated safety check: NotesMIT
Codebase to Coursezarazhangrui/codebase-to-course5.7k—~4.4kAutomated safety check: PassNone

Similar skills

  • DeepTutor CLI

    HKUDS/DeepTutor

    Teaches the agent to set up and run DeepTutor from the command line: chat and capabilities, knowledge bases, partners, memory, sessions, notebooks and the server or Web app.

    41k GitHub stars~2.8k tokensUpdated 3 days ago
    EducationAuto-check passed
  • AI Engineering Placement Quiz

    rohitg00/ai-engineering-from-scratch

    Runs a 10-question quiz across five areas to place a learner in the AI Engineering from Scratch curriculum, so they skip what they already know.

    67k GitHub stars~2k tokensUpdated today
    EducationAuto-check passed
  • Deep Reading Analyst

    ginobefun/deep-reading-analyst-skill

    Comprehensive framework for deep analysis of articles, papers, and long-form content using 10+ thinking models (SCQA, 5W2H, critical thinking, inversion, mental models, first principles, systems…

    354 GitHub starsUsed in 4 repos~3.6k tokens
    EducationAuto-check passed
  • Guides setup, classroom generation and secondary development for OpenMAIC, the multi-agent interactive classroom, one confirmed phase at a time.

    40k GitHub stars~1.7k tokensUpdated today
    EducationAuto-check: notes
  • Codebase to Course

    zarazhangrui/codebase-to-course

    Turns a codebase into an interactive single-page HTML course for non-technical learners, with scroll modules, animated diagrams, quizzes and plain-English code translations.

    5.7k GitHub stars~4.4k tokensUpdated 6 mo ago
    EducationAuto-check passed
  • AI Engineering Project Tutor

    rohitg00/ai-engineering-from-scratch

    Tutors a learner through one stage of a hands-on AI engineering project per session: lesson, prediction, code, grader run and reflection, with hints but never full solutions.

    67k GitHub stars~1.6k tokensUpdated today
    EducationAuto-check passed

More from zhou210712/claude-for-legal-ZH

All 122 skills in this repo
  • Claim Chart

    zhou210712/claude-for-legal-ZH

    构建或审查要件分析表——专利权利要求对照表(侵权、无效或审查)或 民事构成要件分析表(任何诉讼请求或抗辩),每个单元格附精确引用, 缺口检测为优先输出。当用户要求要件分析表、权利要求对照表、 证据对照表、侵权或无效主张、逐要件映射,或问"我们证明[主张]还缺什么"时使用。

    225 GitHub stars~1.3k tokensUpdated 4 mo ago
    Auto-check passed
  • Client Intake

    zhou210712/claude-for-legal-ZH

    结构化接待——实践领域模板、跨领域考点识别、利益冲突标记、分流分类. An agent skill from zhou210712/claude-for-legal-ZH.

    225 GitHub stars~1.2k tokensUpdated 4 mo ago
    Auto-check passed
  • Gap Surfacer

    zhou210712/claude-for-legal-ZH

    参考资料:支持 /regulatory-legal:gaps 和 /regulatory-legal:comments 的共享差距和意见征集跟踪框架。跟踪未关闭的政策差距及其整改状态, 从 policy-diff 中获取差距,呈现开放和即将到期的事项,路由给负责人, 并通过企业通讯工具通知差距负责人,每次发送前需确认。

    225 GitHub stars~757 tokensUpdated 4 mo ago
    Auto-check passed
  • Launch Review

    zhou210712/claude-for-legal-ZH

    对照您的框架和风险校准进行全面产品上线审查。当用户说"审查这个上线" "[功能]法务审查""我们能上线吗""[产品]有什么法律问题"或引用了需要 逐类审查备忘录的产品需求文档或上线追踪工单时使用。

    225 GitHub stars~2k tokensUpdated 4 mo ago
    Auto-check passed
  • Reg Feed Watcher

    zhou210712/claude-for-legal-ZH

    检查法规动态源,报告自上次检查以来的新事项,按重要度阈值过滤。适用于用户说"检查法规动态"、"有什么新规定"、"法规更新"、从定时任务触发执行,或手动粘贴法规动态进行分类和差异分析时。

    225 GitHub stars~1.2k tokensUpdated 4 mo ago
    Auto-check passed
  • Renewal Tracker

    zhou210712/claude-for-legal-ZH

    展示具有即将到来的取消截止日期的合同,在通知窗口关闭前发出预警, 基于维护的续约登记册运行。当用户询问"什么即将续约""哪些续约即将到期" "我们是否错过了取消窗口""将此添加到续约追踪器"时使用,或按计划运行。

    225 GitHub stars~681 tokensUpdated 4 mo ago
    Auto-check passed

Categories

Questions about Legal Writing

What does Legal Writing do?

对法律写作草稿(备忘录、代理词、论文、法考主观题答案)的结构性反馈—— 组织结构、分析深度、清晰度、引注格式。绝不代写重写。当用户说"给我的备忘录 提反馈""读一下我的草稿""批评我的代理词"时使用。. Legal Writing is an agent skill from zhou210712/claude-for-legal-ZH.

When should I use Legal Writing?

Legal Writing fits situations like: education work in your project.

How do I install Legal Writing in Claude Code?

Run `npx skills add zhou210712/claude-for-legal-ZH --skill legal-writing -a claude-code`. Or copy the skill folder (law-student/skills/legal-writing in zhou210712/claude-for-legal-ZH) into .claude/skills/legal-writing in your project. Claude Code loads it when a task matches its description.

How do I install Legal Writing in Codex?

Run `npx skills add zhou210712/claude-for-legal-ZH --skill legal-writing -a codex`. Or copy the skill folder (law-student/skills/legal-writing in zhou210712/claude-for-legal-ZH) into .agents/skills/legal-writing in your project. Codex loads it when a task matches its description.

Can I use Legal Writing in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add zhou210712/claude-for-legal-ZH --skill legal-writing -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/legal-writing, .gemini/skills/legal-writing, .github/skills/legal-writing and .opencode/skills/legal-writing in your project.

What does Legal Writing need to run?

SKILL.md names no scripts, command-line tools or credentials: Legal Writing is instructions for the agent only.

Does Legal Writing access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Legal Writing safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Legal Writing use?

Legal Writing is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Legal Writing use?

About 941 tokens (SKILL.md is roughly 3.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Legal Writing?

Skills that share tags, products or a category with Legal Writing: DeepTutor CLI (HKUDS/DeepTutor, 41k stars), AI Engineering Placement Quiz (rohitg00/ai-engineering-from-scratch, 67k stars), Deep Reading Analyst (ginobefun/deep-reading-analyst-skill, 354 stars) and OpenMAIC Setup and Extension (THU-MAIC/OpenMAIC, 40k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Legal Writing?

zhou210712 (a GitHub user) maintains it in zhou210712/claude-for-legal-ZH, which has 225 GitHub stars. The repository holds 122 skills in this directory. The repository was last updated on May 15, 2026.

Source: zhou210712/claude-for-legal-ZH on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.