CSlawyer1985/legal-skillhub / skills/appeal-docs-generator
appeal-docs-generator
Verified民事二审上诉文本成套生成技能。上传一审判决书后,以民诉法为尺子逐条审查原审判决是否错误(期限/主体程序/诉请判项比对/三段论/说理/新要素六诊),结合元典连接器检索现行有效法条与类案,并做一次「当事人是否已逐条确认事实认定错误、有无新证据」的事实核对互动,最终一次生成民事上诉状、二审证据清单、支持上诉请求的法条与类案检索报告、二审授权委托书、所函、二审接待笔录、待确认事实清单等全套文本。上诉状严格套用德恒格式母版(黑体18pt居中标题/仿宋14pt正文/1.5倍行距),格式100%保留。另提供 scan 轻出口,只做上诉可行性评估与上诉费测算,不出全套文书。
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 25.4 KB |
| _meta.json | config | 114 B |
| references/templates-b64.json | config | 148.9 KB |
| references/yuandian_tools_guide.md | markdown | 2.2 KB |
| references/上诉状填充字段表.md | markdown | 4.6 KB |
| references/二审风险告知要点.md | markdown | 2.2 KB |
| references/元典检索姿势.md | markdown | 4.1 KB |
| references/判决书解剖清单.md | markdown | 8.4 KB |
| references/当事人事实核对清单.md | markdown | 4.0 KB |
| references/所函模板.md | markdown | 1.2 KB |
| references/授权委托书模板.md | markdown | 1.7 KB |
| references/接待笔录模板.md | markdown | 4.1 KB |
| references/文件清单及盖章指引模板.md | markdown | 3.3 KB |
| references/检索报告模板.md | markdown | 3.1 KB |
| references/模板与排版规范.md | markdown | 5.5 KB |
| references/民诉法审查尺子表.md | markdown | 9.1 KB |
| scripts/appeal_fee_calc.py | script | 6.3 KB |
| scripts/build_pending_facts_docx.py | script | 6.9 KB |
| scripts/deadline_check.py | script | 5.0 KB |
| scripts/fill_appeal_docx.py | script | 9.8 KB |
| scripts/generate_file_list.py | script | 7.8 KB |
| scripts/render_docx.py | script | 8.6 KB |
| scripts/restore_templates.py | script | 5.7 KB |
references/上诉状填充字段表.md
View on GitHub<!-- Maintained by Lu Lingyan, Deheng (Wuxi) Law Firm. -->
# 上诉状填充字段表
> 供 `scripts/fill_appeal_docx.py` 使用。脚本以 `assets/民事上诉状-脱敏模板.docx` 为格式母版,
> **原位填充、格式 100% 保留**(黑体 18pt 居中标题/仿宋 14pt 正文/1.5 倍行距/首行缩进 2 字符)。
## 一、payload 结构
```json
{
"上诉人": {"原审地位": "被告", "姓名": "张三", "身份": "张三,男,1980年1月1日出生,汉族,住××市××区××路1号。"},
"被上诉人": [{"原审地位": "原告", "身份": "李四,男,1975年5月5日出生,汉族,住××市××区××街2号。"}],
"第三人": [{"身份": "王五,男,1965年6月6日出生,汉族,住××市××区××路9号。"}],
"一审法院": "××市××区人民法院",
"一审案号": "(2024)苏××××民初1234号",
"二审法院": "××市中级人民法院",
"上诉请求": [
"1、撤销××市××区人民法院(2024)苏××××民初1234号民事判决,改判驳回被上诉人一审全部诉讼请求;或撤销原判决,发回重审;",
"2、本案一审、二审诉讼费用均由被上诉人承担。"
],
"事实与理由": [
{"kind": "lead", "text": "开篇一句话结论:一审错在何处、应当如何改判。"},
{"kind": "head", "text": "一、一审未查明案件基本事实,且事实认定错误。"},
{"kind": "body", "text": "错误之一:认定〔判决书原文摘录〕。事实上,〔事实依据:当事人陈述/在案证据/二审新证据〕。"},
{"kind": "body", "text": "展开论述:① 引判决书原文(页/段);② 陈述真实情况;③ 指明依据;④ 说明该依据如何推翻一审认定。"},
{"kind": "head", "text": "二、一审适用法律错误。"},
{"kind": "body", "text": "结合判决书「本院认为」部分的说理,指出援引法条不贴合/应适用而未适用/所援引法条已失效。"},
{"kind": "body", "text": "综上,上诉人认为:……上诉人请求二审查明事实,支持上诉人的上诉请求。"}
],
"落款签名": "张三",
"落款日期": "2026年9月16日"
}
```
## 二、字段规则
| 字段 | 必填 | 规则 |
|---|---|---|
| `上诉人.原审地位` | ✓ | 只填「原告/被告/第三人」,**不要**自带"一审"二字(母版已含「一审」前缀) |
| `上诉人.身份` | ✓ | 完整身份信息,格式:`姓名,性别,出生年月日,民族,住住所地。`;法人为 `名称,住所地,法定代表人×××,职务。` |
| `上诉人.姓名` | — | 仅用于生成前提句「×××因不服……」。**缺省时传 `上诉人简称`** |
| `被上诉人[]` | ✓ | 数组,按实际人数增减;每人一项,同 `身份` 格式 |
| `第三人[]` | — | 数组,无第三人时传 `[]`,母版中的示例行会被删除 |
| `一审法院` / `一审案号` | ✓ | 案号**自带全角括号时不会重复加括号** |
| `二审法院` | ✓ | 写入「此致」下方 |
| `上诉请求[]` | ✓ | 数组,**逐项完整文本**(含「1、」「2、」序号)。改判与发回重审用递进式:`改判××;或撤销原判决,发回重审;` |
| `事实与理由[]` | ✓ | 数组,每项含 `kind` 与 `text`。`kind` 三选一:`lead`(开篇结论段)/`head`("一、二、"小结标题,加粗)/`body`(正文,不加粗) |
| `落款签名` | — | 留空则输出「上诉人: (签名/盖章)」 |
| `落款日期` | — | 留空则输出「 年 月 日」 |
## 三、`kind` 的选择标准
| kind | 用在哪 | 母版格式 |
|---|---|---|
| `lead` | **第一项必须是 lead**——开篇一句话结论段 | 仿宋 14pt,不加粗 |
| `head` | 「一、……」「二、……」这类**分项大标题** | 仿宋 14pt,**加粗** |
| `body` | 其余全部正文(含「错误之一:……」「综上,……」) | 仿宋 14pt,不加粗 |
## 四、禁止项
1. **`text` 中不得残留 `〔` 或 `〕`** —— 脚本自检会拦截并不落盘。占位符只允许出现在母版里。
2. **不得为「错误之一/之二/之三」单独设 `head`** —— 按母版体例,它们是 `body`,加粗只用于「一、」「二、」。
3. **上诉请求不得超出一审诉请射程** —— 超出的部分二审只能调解或告知另诉(民诉法解释第326条)。
4. **`事实与理由` 中每一句事实主张都必须能指出依据** —— 当事人陈述、在案证据编号或二审新证据,三者之一,具体到名称(铁律三)。
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-changelog-updatemorluto/reaPrepare or rewrite REA release changelogs and GitHub release notes from pinned Git history, with verified contributor thanks and Release Please synchronization. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| academy-guideanthropics/skillsStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials, and use cases from Claude Academy (academy.claude.com), Anthropic's learning hub. Trigger on: "how do I", "how can I", "getting started with", "what can Claude do", "teach me", "learn to use"; questions about artifacts, projects, skills, plugins, connectors, MCP; requests about rolling Claude out to a team, class, or organization; and any ask for training materials, onboarding content, or learning resources. Use it when the user is learning how to use a feature or product — not when they are mid-task and just want the task done. This skill composes with other skills: after consulting product documentation to answer how a Claude feature works, also check here for a matching course or tutorial — a docs-grounded answer and an Academy recommendation belong together. Only recommend on a strong match; never invent Academy content. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| claude-apianthropics/skillsReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER — read BEFORE opening the target file; don't skip because it "looks like a one-liner" — whenever: the prompt names Claude/Anthropic in any form (Claude, Anthropic, Fable, Opus, Sonnet, Haiku, `anthropic`, `@anthropic-ai`, `claude-*`, `us.anthropic.*`, `[1m]`); the user asks about an LLM (pricing/model choice/limits/caching) — never answer from memory; OR the task is LLM-shaped with provider unstated (agent/MCP/tool-definition/multi-agent/RAG/LLM-judge/computer-use; generate/summarize/extract/classify/rewrite/converse over NL; debugging refusals/cutoffs/streaming/tool-calls/tokens). SKIP only when another provider is being worked on (overrides all triggers): OpenAI/GPT/Gemini/Llama/Mistral/Cohere/Ollama named in the query; OR `grep -rE 'openai|langchain_openai|google.generativeai|genai|mistralai|cohere|ollama'` over the project hits (run this grep FIRST if no provider named — don't Read the file). | Stars: 198k | Updated | Claude CodeCodex | Unverified | Install |
| doc-coauthoringanthropics/skillsGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |