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/yuandian_tools_guide.md
View on GitHub<!-- Maintained by Lu Lingyan, Deheng (Wuxi) Law Firm. -->
# 元典 MCP 工具使用指南
## 一、法律法规检索
### 语义检索 — `yuandian_law_vector_search`
| 参数 | 说明 |
|------|------|
| `query` | **必填**。自然语言查询 |
| `return_num` | 返回数量,默认 45,建议 10-15 |
| `rewrite_flag` | 是否改写查询,默认 true |
| `fatiao_filter` | 过滤条件:时效性、效力级别等 |
### 法条关键词检索 — `yuandian_rh_ft_search`
| 参数 | 说明 |
|------|------|
| `keyword` | **必填**。法条内容关键词 |
| `search_mode` | AND(默认)或 OR |
| `sxx` | 时效性:现行有效、失效 等 |
| `top_k` | 返回条数,默认 10 |
### 法规检索 — `yuandian_rh_fg_search`
检索法规列表,支持多种过滤。获法规 ID 后可用 `yuandian_rh_fg_detail` 查看全文。
---
## 二、案例检索(穷尽三个来源)
### 步骤 1:普通案例库 — `yuandian_rh_ptal_search`
| 常用参数 | 说明 |
|---------|------|
| `ah` | 案号 |
| `ay` | 案由数组(或关系) |
| `ssqy` | 涉诉企业名称 |
| `qw` | 全文关键词 |
| `ajlb` | 案件类别,民商事用 `"民事案件"` |
| `ja_start/end` | 结案日期范围 |
| `top_k` | 返回条数,默认 10 |
### 步骤 2:权威案例库 — `yuandian_rh_qwal_search`
支持筛选 `source: ["指导性案例", "典型案例", "参考案例", "公报案例"]`
### 步骤 3:语义检索兜底 — `yuandian_case_vector_search`
用自然语言描述案件事实做语义搜索。注意:此接口覆盖普通和权威两个库。
### 案例详情 — `yuandian_rh_case_details`
**必须同时传 `type`(ptal 或 qwal)和 `ah`(案号)。**
---
## 三、企业信息检索(被告为企业时使用)
1. `yuandian_rh_enterpriseSearch`:按企业名称搜索,获取 ID 和统一社会信用代码
2. `yuandian_rh_enterpriseBaseInfo`:企业基本信息(法定代表人、注册资本等)
3. `yuandian_rh_enterpriseWritAgg`:企业涉诉统计
4. `yuandian_rh_enterpriseExecutedPerson`:失信被执行人查询
---
## 四、使用原则
- 法条引用前确认"现行有效"
- 类案优先参考指导性案例和典型案例
- 被告为企业时用企业工具核实信息
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 |