legal-consultation-report

Generates high-conversion HTML consultation or risk-assessment reports from the perspective of a senior lawyer. Intended for producing legal consultation reports, risk assessment reports, service proposals, or documents aimed at facilitating contract signings.

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-consultation-report" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-05e23ca0cf013ba19f7c48e788563a9e80f08ab7efe2b68118d1ff1d6456c90a. Verify the upstream source and version against https://skillhub.cn/skills/user_281f816d/jingmeizixunbaogao 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

Generates high-conversion HTML consultation or risk-assessment reports from the perspective of a senior lawyer. Intended for producing legal consultation reports, risk assessment reports, service proposals, or documents aimed at facilitating contract signings.

0 Downloads

Introduction source: third_party · user_281f816d · 1.0.1 Reference

SkillPi interpretation

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

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: legal-consultation-report
description: 资深律师视角生成高转化率精美咨询报告;当用户需要输出法律咨询报告、风险评估报告、服务方案或促成签单的HTML文档时使用
dependency:
  python:
    - jinja2==3.1.2

法律咨询报告生成技能

任务目标

本技能用于:根据客户真实咨询需求,由资深律师视角生成高转化率、排版精美的法律咨询报告HTML文档,核心目标是促成签单。

核心能力

  • 资深律师专业视角:语气真诚、逻辑严谨、信任感强
  • 五大核心模块:客户需求、核心事实梳理、法律关系分析、潜在风险提示、解决方案建议
  • 高转化率设计:风险前置凸显价值、解决方案展示专业、报价策略灵活、CTA引导签单
  • 精美HTML输出:专业法律文书风格,排版精良,可直接下载

输入数据结构

脚本接收JSON格式的案情数据,通过命令行参数 --case_data 传入完整JSON字符串,或通过 --case_file 传入JSON文件路径。

核心字段说明

字段 类型 必需 说明
client_name string 是 客户名称(公司名或个人姓名)
client_contacts string 是 联系人信息
lawyer_name string 是 咨询律师姓名
lawyer_team string 否 律师团队名称
core_advantages string 否 律师核心优势描述
report_title string 是 报告标题
report_subtitle string 否 报告副标题
business_desc string 是 企业/个人业务描述
consultation_background string 是 咨询背景与诉求
core_requirements array 是 核心法律需求列表
key_facts array 是 核心事实要点
legal_relations array 是 法律关系分析
risk_items array 是 潜在风险提示
solutions array 是 解决方案建议
service_packages array 否 服务方案与报价
closing_message string 否 结语信息
validity_period string 否 报价有效期

操作流程

标准流程

  1. 收集案情信息:从对话中提取或用户提供完整的案情数据
  2. 结构化数据整理:按上述字段整理成JSON格式
  3. 调用报告生成脚本:
    python scripts/generate_report.py --case_data '{"client_name":"...","report_title":"...","core_requirements":[...],"key_facts":[...],"legal_relations":[...],"risk_items":[...],"solutions":[...]}'
  4. 校验输出:确认HTML报告完整生成
  5. 交付客户:提供下载链接或直接展示HTML内容

数据填充策略

  • 客户需求:基于用户表达的诉求,提炼为2-4条核心需求
  • 核心事实:从案情中提取与法律问题相关的关键事实
  • 法律关系:分析涉及的民事主体之间的法律关系性质
  • 风险提示:按优先级(高/中/低)标注风险点
  • 解决方案:针对每个风险点给出专业建议
  • 服务报价:可选,参照市场标准设计阶梯报价

报告结构模板

[报告标题] + [副标题]
致:[客户名称] + [联系人]

[开场白:专业背景 + 服务承诺]

一、客户需求
   [需求列表]

二、核心事实梳理
   [事实要点表格或列表]

三、法律关系分析
   [法律关系图或列表]

四、潜在风险提示
   [风险分级表格:高/中/低]

五、解决方案建议
   [分条建议方案]

六、服务方案与报价(可选)
   [报价表格]

七、结语
   [专业总结 + CTA引导]

[脚注:律师信息 + 联系方式]

输出规范

  • 格式:精美HTML,支持浏览器直接打开
  • 样式:专业法律文书风格,主色调深蓝#1a4996
  • 功能:包含一键下载按钮
  • 文件名:{客户名称}法律风险咨询报告.html

注意事项

  • 语气始终从资深律师视角出发,真诚专业
  • 风险描述要客观但突出价值,避免过度恐吓
  • 解决方案展示专业能力,不轻易承诺结果
  • 报价策略灵活,体现性价比
  • 结尾CTA明确,引导下一步沟通

资源索引

Current listing version

1.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 面向律师/法务人员的专业刚需工具,解决法律咨询报告生成与签单转化痛点
  • 具备资深律师视角、高转化率设计、精美HTML输出等差异化能力
Trigger Precision90/100

Areas to improve

  • description写错位置 Reported severity: Minor

    顶层frontmatter已有description,skill_body内部重复定义

    Recommendation: 建议删除skill_body内部的description定义,保持frontmatter唯一性

Highlights

  • 触发场景描述清晰完整,覆盖法律咨询报告、风险评估、服务方案、促成签单等核心用例
Structure and Standards90/100

Areas to improve

  • 引用文件缺失 Reported severity: Major

    SKILL.md引用了scripts/generate_report.py和references/report_format.md但未传入

    Recommendation: 请补充scripts/generate_report.py和references/report_format.md文件,或调整引用说明

Highlights

  • 结构完整规范,含任务目标、核心能力、输入数据结构、操作流程、报告模板、输出规范等
  • 提供端到端示例和详细字段说明,便于用户理解和使用
Execution Reliability75/100

Areas to improve

  • 异常处理覆盖不足 Reported severity: Minor

    未显式处理JSON解析异常、文件读写异常、参数校验失败等场景

    Recommendation: 建议在generate_report.py中增加try-catch块,对JSON解析、文件操作、参数校验等关键环节进行异常处理

Highlights

  • 依赖明确(jinja2==3.1.2),参数说明清晰,有标准流程与数据填充策略
  • 支持命令行参数和文件路径两种输入方式,灵活性较好
Evidence Verifiability (mean of the first four)85/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.

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.