legal-document-formatting
БесплатноБез исполняемых скриптовНе проверенDraft complete civil or criminal judgments based on the document-production standards of Chinese people's courts. Use this skill when the user asks to "draft…
от THUYRan★ 1 015 звёзд на GitHubОб этом скилле
Chinese source (authoritative):
../../skills/legal-document-formatting/SKILL.md
Legal Document Formatting
Description
Convert case-file materials into format-compliant civil or criminal judicial documents. This skill does not itself perform statutory retrieval or evidence evaluation; rather, while drafting each section of the document, it identifies what legal judgment is currently required, explicitly invokes the corresponding atomic skill, and integrates that skill's result into the document text. Before drafting each paragraph, first determine which capability must be invoked, invoke it, and only then proceed with drafting.
Instruction Steps
Step 1: Input
Read all case-file materials provided by the user and complete the following two steps:
Determine civil vs. criminal, based on these signals:
- Plaintiff is a natural person / legal person → civil; prosecuting authority is a people's procuratorate → criminal; if the plaintiff is a natural person but the cause of action or claims seek criminal liability (e.g., intentional injury, defamation), classify as a criminal (private prosecution) case → criminal
- Core dispute concerns civil rights and obligations → civil; core dispute concerns whether a crime is constituted → criminal
- If materials are insufficient to decide → pause and ask the user to supplement
Invoke
Legal Core Element Extraction(Skill #4) to extract and register from the case file: party information, legal relationship (preliminary), claims or charges, key factual timeline, evidence list, and procedural information. Mark each item as "complete" or "missing".
Note: If party identity information is severely incomplete (unable to identify plaintiff/defendant or the accused), pause drafting and list the missing items for the user.
Outcome routing: civil → Step 2-A; criminal → Step 2-B; if pause is triggered → immediately terminate this skill run, output the missing-items list, and wait for the user's reply.
Step 2-A: Drafting a Civil Judgment
Draft in the following seven-section order. Before drafting each section, confirm whether an atomic skill must be invoked; if so, invoke it and record the result.
A-1. Caption / Title
- Court name (prefix provincial name for basic-level / intermediate courts; for foreign-related cases, prefix "People's Republic of China")
- Document name (Civil Judgment)
- Case number: (year) court abbreviation + type abbreviation + serial number + "号". Year in Arabic numerals; full-width parentheses.
A-2. Opening — Parties and Procedural History
- Natural person: name, sex, date of birth, ethnicity, occupation / unit and position, domicile (per ID card / household registration)
- Legal person: full name, domicile, legal representative's name and position
- Litigation-status order: first instance — plaintiff → defendant → third party; second instance — appellant (note first-instance status in parentheses) → appellee → others
- Appointed litigation agents on a separate line; for lawyers write "Name, lawyer of XX Law Firm"
- Punctuation: colon after litigation status; comma after the name
- Case origin: state case name and source; procedural history: filing date, applicable procedure, hearing modality, persons appearing in court
Invoke: Dispute Issues and Legal Relationship Identification (Skill #6) → confirm the cause of action is accurate.
A-3. Facts Section
Draft three parts in order:
(1) Pleadings / arguments: Plaintiff's claims + factual grounds → defendant's defense → third-party statements. Synthesize the complaint and trial submissions; do not copy verbatim. After "the defendant argued" use a comma; after "××× submitted the following claims to this Court" use a colon.
(2) Evidence exchange / cross-examination overview: Start a new paragraph: "The parties in this case submitted evidence in accordance with law around the claims, and this Court organized evidence exchange and cross-examination."
(3) Evidence findings and fact findings:
- Undisputed evidence: "Evidence to which the parties raised no objection is confirmed by this Court and is on file for corroboration."
- Disputed evidence: Invoke
Evidence Efficacy(Skill #12) → evaluate authenticity, legality, and relevance (the "three attributes") and probative force item by item → state the evidence name, the court's finding, and the reasons. - Narrate fact findings chronologically; may use the lead-in "It is further found that" for supplements.
Note (three situations that require a mandatory pause):
- Plaintiff and defendant give completely contradictory accounts of the same fact and both have evidence → invoke
Evidence Efficacy(Skill #12) +Conflict Resolution and Priority Determination(Skill #20); reach a conclusion before continuing- Key evidence's three attributes are in doubt (unclear source; photocopy
Установить legal-document-formatting в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл legal-document-formatting?
Draft complete civil or criminal judgments based on the document-production standards of Chinese people's courts. Use this skill when the user asks to "draft a judgment", "generate a judicial document", "write a civil judgment", "write a criminal judgment", "prepare a document from the case file", or provides case-file materials and requests a judgment document. While drafting each section, autonomously invoke atomic skills (e.g., dispute-issue identification, statutory retrieval, deductive reasoning, evidence-efficacy evaluation).
Как установить скилл legal-document-formatting?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл legal-document-formatting запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic