legal-case-analysis

Legal Case Analysis Engine: Used when legal analysis, case assessment, risk evaluation, litigation or non-litigation strategy formulation, criminal case review and prosecution analysis, client explanations, or preparation of legal analysis materials are needed based on case files, consultation materials, contracts, evidence, or retrieval results. Serves as a pre-analysis tool for legal tasks (not merely to produce formal reports). Not intended for pure OCR, pure statute/case retrieval, simple format conversion, or document generation that only repackages service plans without added legal analysis.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "legal-case-analysis" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-2822a285686ce27fbeb9c10d2c2ca5fbb00e0b5b6e4885c0c63b0c26afc2a74f. Verify the upstream source and version against https://skillhub.cn/skills/user_55833ee9/legal-case-analysis before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Legal Case Analysis Engine: Used when legal analysis, case assessment, risk evaluation, litigation or non-litigation strategy formulation, criminal case review and prosecution analysis, client explanations, or preparation of legal analysis materials are needed based on case files, consultation materials, contracts, evidence, or retrieval results. Serves as a pre-analysis tool for legal tasks (not merely to produce formal reports). Not intended for pure OCR, pure statute/case retrieval, simple format conversion, or document generation that only repackages service plans without added legal analysis.

0 Downloads

Introduction source: third_party · user_55833ee9 · 0.3.3 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Inputs and outputs
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: legal-case-analysis
homepage: https://github.com/cat-xierluo/legal-skills
author: 杨卫薪律师(微信ywxlaw)
version: "0.3.3"
license: CC-BY-NC
description: 本技能应在用户需要基于案件材料、咨询材料、合同资料、证据材料或检索结果进行法律分析、案件研判、风险评估、诉讼策略、刑事案件研判与审查起诉分析、非诉风险判断、客户说明或法律分析报告时使用。它是法律任务的前置分析引擎,不要求每次都生成正式报告。不要用于:单纯 OCR、单纯法条案例检索、单纯 Word 排版转换、仅需包装服务方案且无需新增法律分析的文档生成。
slug: legal-case-analysis
displayName: "法律案件分析"

legal-case-analysis

通用法律分析 Skill。用于把零散案件材料整理成可验证、可检索、可论证、可复用的法律分析结果。

本技能首先是法律分析引擎,其次才按需要生成报告、咨询答复、客户说明或检索任务清单。法律分析可以作为其他 Skill 的前置步骤使用。

本技能不绑定具体案由。具体领域规则通过案件材料、法律检索结果和用户目标动态补足。

核心原则

  1. 先整理事实,再适用法律。
  2. 先区分证据与陈述,再形成判断。
  3. 先用 yuandian-law-search 完成基础法律检索,再基于检索结果进行法律分析。
  4. 先提出检索问题,再引用法律依据。
  5. 诉讼场景优先使用要件式分析:请求权基础、构成要件、事实、证据、证明责任和抗辩逐项对应。
  6. 每个重要结论都应对应事实来源、证据来源或检索依据。
  7. 材料未提及的信息,标注“未提及”或“待补充”,不得自行补全。
  8. 对争议材料同时评价真实性、关联性、合法性和证明目的。
  9. 对涉及时效、期间、新旧法、司法解释变化的问题,必须单独校验。

输入

可接受以下一种或多种输入:

  • 案件概述、咨询记录、委托人陈述。
  • 合同、函件、付款凭证、登记资料、裁判文书、执行材料。
  • 证据目录、聊天记录、录音转写、会议纪要。
  • 法条检索结果、案例检索结果、法律研究报告。
  • 用户指定的分析目标,例如“评估是否起诉”“生成法律分析报告”“形成客户说明”。

如果材料是 PDF、图片或扫描件,先使用 MinerU OCR、PaddleOCR 或其他文档转换工具转为 Markdown 后再分析。

输出

默认输出 Markdown。是否生成正式报告取决于用户目标;很多场景只需要分析底稿、咨询答复或供其他 Skill 使用的分析结论。

根据使用场景选择输出:

  • 分析底稿:面向后续写作、方案生成、诉讼准备或内部讨论,突出事实、要件、证据、检索和风险。
  • 简版咨询答复:面向事实较少、目标单一的日常法律咨询,突出结论、主要理由、风险和下一步。
  • 内部分析报告:面向律师团队,重事实、证据、法理、风险和策略。
  • 客户说明版:面向非法律专业客户,表达更通俗,突出结论和行动建议。
  • 检索任务清单:面向 yuandian-law-search 或 zhihe-legal-research。

工作方法

分析过程和工作方法放在 references/ 中,按任务需要读取:

  • references/iteration-context.md:长期迭代上下文,包括定位、边界、资源分层和后续演进方向。
  • references/analysis-engine-boundary.md:法律分析引擎定位,以及与 legal-proposal-generator 等 Skill 的协作边界。
  • references/workflow.md:完整工作流,包括目标识别、案件阶段、材料处理、检索、论证和交付检查。
  • references/report-depth-control.md:按案件复杂度选择简版咨询、标准分析或复杂案件分阶段报告。
  • references/element-litigation-nine-step.md:要件式诉讼分析九步法,用于民事/民商事诉讼和争议解决场景的分析支架。
  • references/criminal-case-analysis.md:刑事案件分析法(不法—有责二阶层为主干,审查起诉骨架 + 辩护对抗检验),用于刑事案件研判、审查起诉/审查逮捕底稿、定性与量刑分析;先客观不法后主观有责,层层递进、任一层不过即出罪。
  • references/fact-evidence-extraction.md:事实与证据抽取规则。
  • references/civil-commercial-analysis-workflow.md:复杂民商事案件法律分析步骤。
  • references/issue-spotting.md:法律问题识别和问题树拆解规则。
  • references/legal-research-bridge.md:法律检索衔接规则。
  • references/argument-risk-assessment.md:论证和风险评估规则。

输出模板

最终交付模板放在 templates/ 中:

  • templates/simple-consultation-answer.md:简版咨询答复模板。
  • templates/legal-analysis-report.md:通用法律分析报告模板。
  • templates/legal-research-query-list.md:法律检索任务清单模板。
  • templates/client-summary.md:客户说明模板。

Current listing version

0.3.3

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 面向法律分析核心场景,解决案件材料整理、法律分析、风险评估、诉讼策略等实际需求
  • 受众广泛,包括律师、法务及有法律分析需求的用户,实用性强
Trigger Precision90/100

Highlights

  • 适用场景描述清晰完整,覆盖法律分析、案件研判、风险评估等多种变体
  • 明确列出不适用场景(如单纯 OCR、法条检索),边界清晰,减少误触
Structure and Standards90/100

Highlights

  • 结构完整,包含核心原则、输入、输出、工作方法、输出模板等模块
  • 步骤清晰,有明确的出口条件和端到端示例指引,frontmatter 完整
Execution Reliability88/100

Highlights

  • 工具来源明确(如 yuandian-law-search、MinerU OCR 等),参数合理
  • 覆盖主要异常处理(如材料未提及时标注“待补充”),不可逆操作有确认机制
Evidence Verifiability (mean of the first four)88/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • github.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.