dengjunyuan-case-assessment

Commercial dispute case AI assessment avatar: simulate offense and defense from three perspectives—opponent, judge, and mock trial—like a senior lawyer, and automatically produce three firm-grade documents: an internal assessment memo, a client legal analysis report, and a simulated fee proposal containing contact information. Built on a local authoritative knowledge base with data kept on-device, and supports one-click Word export. Trigger examples include: case assessment, commercial dispute evaluation, client consultation assessment, initial case review, legal analysis report, and lawyer quotation.

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 "dengjunyuan-case-assessment" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-23c68ec413dc7e58a097a98a9acc672b061582eeb1177b58b3917221ccb6573a. Verify the upstream source and version against https://skillhub.cn/skills/user_7a8568e5/dengjunyuan-case-assessment 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

Commercial dispute case AI assessment avatar: simulate offense and defense from three perspectives—opponent, judge, and mock trial—like a senior lawyer, and automatically produce three firm-grade documents: an internal assessment memo, a client legal analysis report, and a simulated fee proposal containing contact information. Built on a local authoritative knowledge base with data kept on-device, and supports one-click Word export. Trigger examples include: case assessment, commercial dispute evaluation, client consultation assessment, initial case review, legal analysis report, and lawyer quotation.

0 Downloads

Introduction source: third_party · user_7a8568e5 · 4.3.9 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
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: dengjunyuan-case-assessment
title: 邓钧元律师案件评估思路
description: 商事争议案件 AI 评估分身:像资深律师一样从对方、法官、模拟庭审三视角推演攻防,自动产出内部评估备忘录、客户法律分析报告、含联系方式的模拟报价方案三份律所级文书。本地权威知识库、隐私不出端、Word 一键直出。触发词:案件评估、商事争议评估、客户咨询评估、案件初评、法律分析报告、律师报价。
agent_created: true
version: 4.3.7
updated: 2026-07-26T21:41:00.000Z
metadata:
  packageName: '@sms_0016/dengjunyuan-case-assessment'
  version: 0.0.6

邓钧元律师案件评估思路

一句话价值:商事争议案件的 AI 评估分身——像资深律师一样,从对方、法官、模拟庭审三视角推演攻防,自动产出三份可直接发给客户的律所级文书。

核心能力

  1. 三视角攻防推演:以请求权基础六步分析法为内核,从对方立场、法官视角、模拟庭审三方推演,给出胜诉概率与攻防策略。
  2. 权威知识库底座:内置海量现行法律规范、司法解释与近千条最高人民法院指导案例、公报案例,本地检索,无需联网即可引用。
  3. 三份专业文书:内部评估备忘录、客户法律分析报告、含联系方式的模拟报价方案,律所级标准格式一键直出 Word。
  4. 隐私本地处理:案件材料全程在本地或受控环境处理,不远程传输、不被个人查看,第三方法库需你主动配置才调用。

适用人群:执业律师、律所团队——用于客户首次咨询预筛选、案件初步评估、咨询转化与报价。

更新:v4.3.7(2026-07-26)


零、隐私保护提示(必读)

🔒 本地数据处理承诺(v4.3.6 起强制展示)

  1. 您提供的案件材料不会被远程传输给任何个人(包括本 skill 作者邓钧元律师、其团队成员、AI 系统运营方)。
  2. 案件材料不会被任何个人查看(包括本 skill 作者在内)。
  3. 所有数据处理均在本地或受控环境中完成——AI Agent 在您的会话内执行法律检索与文书生成,全程不离开您的设备。
  4. 内置知识库(references/knowledge/ 含现行法律规范、司法解释与近千条案例)已预置在 skill 包内,无需联网即可检索;case_memory.json(案件记忆)默认空数组,由您本地手动添加。
  5. 第三方法律数据库(MCP 三源)只有在您已主动配置连接时才会被调用;未连接时全部检索自动降级至本地知识库 / 公用网络检索(WebSearch/WebFetch),并在文书末附"降级提示"。
  6. 案件脱敏标准:case_memory.json 默认置空;examples/ 提供强脱敏示例数据;validate.py L2 自动扫描敏感词泄漏。

一、适用场景与商用定位

本技能适用于律师/律所对商事争议案件进行系统化初步评估:客户首次咨询的预筛选、内部《案件初步评估备忘录》(供主办律师复核)、面向客户的《法律分析报告》(不含报价)、商用引流核心《邓钧元律师模拟报价方案》。不适用场景:已签约客户的重大决策(诉讼策略、和解金额、上诉策略等需律师本人判断的事项)。


二、触发条件

当出现以下任一情况时触发本技能:客户提供案件材料要求初步评估;用户提及"案件评估""邓钧元评估思路""商事争议评估""客户咨询评估""案件初评""法律分析报告""律师报价";需要生成商事争议案件的初步法律分析、策略建议与模拟报价。


三、十二步工作流程(编排索引)

完整流程详见 references/method.md。AI Agent 执行时按顺序推进,必要时并行。

第一步·请求锁定与材料预处理:1.0 请求锁定 + 1.1 材料预处理 + 1.2 识别案由与法律关系。详见 method.md §1、claim-basis-method.md §2.1。

第二步·本所案例比对:本所案例库(未接入则跳过)。详见 method.md §2。

第三步·法条与类案检索校对:方法论七序检索法(契约→类契约→无因管理→物权→不当得利→侵权→特别法)+ 三层次抗辩检索(权利障碍→消灭→阻止)。详见 method.md §3、claim-basis-method.md §2.2、tool-guide.md §1、references/knowledge/ 内置法条、scripts/api_client.py。

第四步·当事人背景检索:企查查/天眼查/元典三方交叉(降级 WebSearch)。详见 method.md §4、tool-guide.md §2。

第五步·知识库权威书籍指引:ima/乐享(作为参考观点层,不替代现行规范)。详见 method.md §5、tool-guide.md §3。

第六步·事实 Mapping 增强:管辖/时效评估 + 三类缺口识别(事实/证据/证明力)+ 要件-事实-证据三维对应。详见 method.md §6、claim-basis-method.md §2.4。

第七步·攻防推演增强:多视角分析 + 攻防推演矩阵(争点+胜率+优先级+Plan B)。详见 method.md §7、claim-basis-method.md §2.5、tool-guide.md §4。

第八步·要件解构 + 结论归入增强:8.0 要件解构 + 8.5 结论归入(三段论+整体胜诉概率)。详见 method.md §8、claim-basis-method.md §2.3 & §2.6。

第九步·各方意见与风险汇总:七层结构。详见 method.md §9。

第十步·输出策略选项与风险提示、第十一步·内部收费方案建议(区间+合规边界)、第十二步·生成三份文书(核心输出,缺一不可,v4.3.5 起方法论核心工具改为分点呈现)。详见 method.md §10-12、output-formats.md。


四、文件加载指令(AI Agent 必读)

  • references/:method.md · judgment-and-risks.md · output-formats.md · self-check-list.md · claim-basis-method.md · profile.md · tool-guide.md
  • references/knowledge/:内置现行法律规范、司法解释与近千条最高人民法院指导案例、公报案例(含 _index.md + interpretations/_index.md 导航);案例库按年/类别分文件存于 cases/ 子目录
  • config/:lawyer_profile.json(联系方式唯一权威来源)· case_memory.json(v4.3.4 起默认空数组)
  • templates/:01-内部评估备忘录 · 02-客户法律分析报告 · 03-报价方案(三份均 v4.3.5 起去表格)
  • scripts/:init_case.py + build_docx.py(v4.1.0);convert_laws.py + api_client.py + case_memory.py + annotate_docx.py(v4.3.0);ocr_extract.py + update_kb_metadata.py + doctor.py(v4.3.3-4 新增);详见 scripts/README.md

五、核心输出:第十二步的三份文书

文书一·内部备忘录。读者:主办律师(不对外)。约束:允许案件事实、对方全名、内部判断。详见 output-formats.md §文书一。

文书二·客户法律分析报告。读者:客户(不含报价)。约束:不含任何报价/费用;不承诺结果;不贬低同行;对方信息脱敏。详见 output-formats.md §文书二。

文书三·邓钧元律师模拟报价方案。读者:客户(含报价+动态简介+联系方式)。约束:2026-07-26 客户隐私要求:不再列举具体代理客户的胜诉案例;公开头衔可保留但不附加客户名;联系方式从 JSON 读取;v4.3.6 起顶部加紫色"AI 自动生成参考报价"免责徽章 + 文末单独段声明。详见 output-formats.md §文书三。


六、判断标准与风险红线

13 条判断标准 + 15 条风险红线 + 客户隐私特别要求,详见 references/judgment-and-risks.md。


七、自定义说明

使用本技能前请配置 config/lawyer_profile.json(联系方式与简介的唯一权威来源)。lawyer.* 联系方式变更时改;tags 个人头衔变更时改(仅保留不涉及客户的标签);bio_official_url / bio_url_label 律所官网介绍页变更时改。若使用人非邓钧元律师,必须替换上述全部字段为本人/本所真实信息,并将 tags 数组重写为本人公开头衔,同时更新 references/profile.md 第四节"若使用人非邓钧元律师"的适配说明。


八、典型使用流程(v4.1.0+ 推荐)

完整步骤与脚本调用见 references/method.md 第十三节。

步骤一·一键建卷:python3 scripts/init_case.py --path /case --target "对方" --client "委托人" --cause "案由" --amount 5000。

步骤二·AI 执行十二步:按第三步的 12 步流程,编辑 03-文书底稿/*.md 占位符。

步骤三·走自检清单:运行 references/self-check-list.md 五项核验。

步骤四·三份文书转 Word(律所级标准格式):python3 scripts/build_docx.py -i 03-文书底稿/03-报价方案_底稿.md -o 04-定稿/03-报价方案.docx。

步骤五·v4.3.0+ 加批注(可选):python3 scripts/annotate_docx.py add-comment -i 04-定稿/03-报价方案.docx -o 04-定稿/03-报价方案_批注版.docx --anchor "违约责任" --text "建议补充违约金计算方式" --highlight。

步骤六·v4.3.0+ 写入案件记忆(跨会话累积):python3 scripts/case_memory.py add --file case_record.json。

步骤七·v4.3.0+ 法律库检索(需 MCP 连接):python3 scripts/api_client.py search-law "违约金 计算"(降级处理:若 MCP 未连接,返回 degradation_notice,AI Agent 应自动附在文末提示客户)。

依赖:仅 python-docx(pip install python-docx)。本地法律库位于 references/knowledge/(v4.3.0+)。


九、版本与变更

v4.3.7(2026-07-26)——首屏展示重构:面向用户价值呈现核心能力与适用人群;历史版本详见 CHANGELOG.md。

Current listing version

4.3.9

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 面向律师群体提供商事争议案件系统化评估能力
  • 三视角攻防推演结合权威知识库,显著提升咨询转化效率
  • 自动生成三份律所级文书,实现从评估到报价的闭环
Trigger Precision90/100

Highlights

  • 触发词覆盖全面且边界清晰,有效避免误触或漏触
Structure and Standards95/100

Areas to improve

  • description重复 Reported severity: Minor

    顶层frontmatter与skill_body内部均包含完整description内容

    Recommendation: 建议仅在顶层frontmatter保留description,body内可简化为引用或省略

Highlights

  • 文档结构完整,逻辑清晰,包含完整的工作流程和示例
  • 提供详细的脚本调用说明和文件加载指令
Execution Reliability90/100

Areas to improve

  • 文档长度接近上限 Reported severity: Minor

    主文档内容详实但接近500行限制

    Recommendation: 建议适当拆分部分内容至引用文件,保持主文档简洁

Highlights

  • 具备完善的降级处理机制(MCP未连接时自动切换本地库)
  • 隐私保护机制健全,明确承诺数据不出端
  • 不可逆操作设有明确约束和免责声明
Evidence Verifiability (mean of the first four)90/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.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 130

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.