construction-dispute-resolver
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 "construction-dispute-resolver" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-a84c81a11d9192aa72260fd92825beb92fa85e9f96ad12f0c14e8071266d16d4. Verify the upstream source and version against https://skillhub.cn/skills/user_0ccc096f/construction-dispute-resolver-optimized 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
Use this skill when a user needs analysis of construction dispute law, identification of applicable statutes and regulations, retrieval of relevant judicial cases, and a comprehensive dispute-resolution report that includes a risk assessment. The skill is intended for requests involving construction contract disputes, claim analysis, construction law research, or dispute-resolution strategy advice. The skill produces a long-format PNG knowledge-card image styled in an elegant fresh design with mint tones, rounded cards, subtle shadows and gradient decorations; content covers dispute issues, applicable law, reference cases, and recommended solutions with accompanying risk ratings.
Introduction source: third_party · user_0ccc096f · 1.0.0 Reference
SkillPi interpretation
- Tasks
- This skill enables comprehensive legal analysis and dispute resolution for construction engineering projects. It guides the user through a structured workflow: analyzing dispute focus points, searching applicable laws and judicial cases with strict priority ordering, filtering out expired regulations, and generating a visually polished knowledge card image summarizing all findings and recommendations.
- Inputs and outputs
- For each applicable law, record:
- Software, accounts and paid services
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: construction-dispute-resolver
description: |
This skill should be used when the user needs to analyze construction engineering legal disputes,
search applicable laws and regulations, find relevant judicial cases, and generate a comprehensive
dispute resolution report with risk assessments. It is triggered by requests involving construction
contract disputes, engineering claim analysis, construction law research, or dispute resolution
strategy recommendations. The skill produces a polished knowledge card image (long-form PNG) with an
elegant small-fresh (小清新) visual style — mint-green palette, rounded cards with
subtle shadows, gradient decorations, and beautiful typography — containing
dispute focus points, applicable laws, reference cases, and recommended solutions
with risk ratings.
agent_created: true工程建设法律纠纷解决方案
Overview
This skill enables comprehensive legal analysis and dispute resolution for construction engineering projects. It guides the user through a structured workflow: analyzing dispute focus points, searching applicable laws and judicial cases with strict priority ordering, filtering out expired regulations, and generating a visually polished knowledge card image summarizing all findings and recommendations.
The skill is designed for legal professionals, project managers, contractors, and construction companies dealing with contract disputes, delay claims, quality disputes, payment issues, or other construction-related conflicts.
Trigger Conditions
Activate this skill when the user:
- Describes a construction project dispute and asks for legal analysis or resolution advice
- Requests law research for construction/engineering contract issues
- Asks for case references or precedent analysis for construction disputes
- Needs a dispute resolution strategy with risk assessment
- Mentions keywords like: 工程纠纷, 施工合同, 工期索赔, 质量争议, 工程款, 法律检索, 案例检索, 纠纷解决
Workflow Decision Tree
User Input
|
v
Step 1: Understand Dispute & Project Background
|
v
Step 2: Summarize Dispute Focus Points (if user hasn't)
|
v
Step 3: Search Laws & Regulations (with priority hierarchy)
| - National level first
| - Project region level second
| - Other regions reference last
| - FILTER OUT expired/invalid laws automatically
|
v
Step 3B: Search Industry Practices & Standards (行业惯例与标准)
| - National industry standards (GB) first
| - Model contracts (示范文本) second
| - Industry association guidelines third
| - Regional industry practices last
|
v
Step 4: Search Judicial Cases (with priority hierarchy)
| - Supreme Court cases first
| - Project region cases second
| - Other regions reference last
|
v
Step 5: Analyze & Recommend Solutions
| - Mediation / Arbitration / Litigation
| - Risk coefficient for each option
| - Pros, cons, and applicable conditions
|
v
Step 6: Generate Knowledge Card Image
| - Fresh/natural visual style (小清新)
| - Long-form image if content is extensive
| - Single output image only
|
v
Deliver final PNG image to user
Step 1: Understand Dispute & Project Background
Collect the following information from the user. If any is missing, ask the user to provide it:
-
Project Overview (项目概况):
- Project type (e.g., building construction, infrastructure, civil engineering)
- Contract amount and duration
- Parties involved (owner, contractor, subcontractor, supervisor)
- Project location (critical for regional law search)
-
Event Description (事件起因及经过):
- What happened? Timeline of events
- Which party initiated the dispute?
- Current status of the dispute
-
Dispute Focus Points (争议焦点):
- User-provided focus points, OR
- If not provided, intelligently summarize based on the project background
-
User's Preferred Resolution Direction (用户倾向):
- Does the user prefer mediation, arbitration, or litigation?
- Is maintaining the business relationship important?
- Budget constraints for legal proceedings?
Step 2: Summarize Dispute Focus Points
If the user has not explicitly summarized dispute focus points, generate them based on the project background. Format each focus point as:
- Focus Point N: [Concise description of the legal/contractual issue]
Example:
- Focus Point 1: 工期延误责任归属:管线迁改义务是否应由甲方承担?
- Focus Point 2: 索赔金额合理性:停工损失、管理费增加及利润损失共计3500万元是否合理?
Step 3: Search Laws & Regulations
Search Priority Hierarchy (MUST FOLLOW)
Search laws in the following strict order. Present results in this order in the final output:
-
National Level (全国性法律法规及规章条例):
- Laws passed by the National People's Congress (全国人大): 《民法典》《建筑法》《招标投标法》
- Administrative regulations (行政法规): 《建设工程质量管理条例》《建设工程安全生产管理条例》
- Departmental rules (部门规章): Ministry of Housing and Urban-Rural Development regulations
- Judicial interpretations (司法解释): Supreme People's Court interpretations on construction contracts
-
Project Region Level (工程所在地区法律法规及规章条例):
- Provincial/local regulations (地方性法规)
- Local government rules (地方政府规章)
- Local judicial guidance (地方司法指导意见)
-
Other Regions Reference (其他地区参考):
- Only include if national and regional sources are insufficient
- Clearly mark as "其他地区参考"
Expired Law Filtering Rules (CRITICAL)
Before presenting any law or regulation, verify its validity:
- Check effective date: Ensure the law is currently in effect
- Check repeal status: Verify it has not been explicitly repealed or replaced
- Check amendments: Use the latest amended version
- Auto-exclude: Any law that has been:
- Repealed (已废止)
- Replaced by a new law (已被替代)
- Expired (已失效)
- Suspended (已暂停施行)
If uncertain about a law's validity, search for "[law name] 是否有效" or "[law name] 废止" to verify.
NEVER include expired or invalid laws in the final output.
Law Search Output Format
For each applicable law, record:
{
"name": "《中华人民共和国民法典》",
"level": "national", // national | regional | other
"articles": "第577条、第584条、第590条",
"summary": "明确了违约责任的承担方式、损害赔偿范围..."
}
Step 3B: Search Industry Practices & Standards (行业惯例与标准)
After searching laws and regulations, also search for relevant industry practices, standards, and professional conventions. These are not legally binding but are widely recognized by the industry and courts often refer to them.
Industry Practices Search Priority
Search in the following order:
-
National Industry Standards (国家标准):
- GB standards related to construction engineering
- National model contracts (e.g., 《建设工程施工合同(示范文本)》GF-2017-0201)
-
Industry Association Guidelines:
- China Engineering Cost Management Association guidelines
- China Construction Industry Association recommendations
-
Regional Industry Practices:
- Provincial/city construction cost management practices
- Regional construction market customs
Industry Practices Output Format
{
"name": "标准或惯例名称",
"source": "来源(如:住建部、中国建设工程造价管理协会)",
"summary": "内容摘要..."
}
Step 4: Search Judicial Cases
Case Search Priority Hierarchy (MUST FOLLOW)
Search cases in the following strict order. Present results in this order:
-
Supreme Court Cases (最高法案例):
- Supreme People's Court guiding cases (指导性案例)
- Supreme People's Court typical cases (典型案例)
- Supreme People's Court judgments (最高人民法院判决)
-
Project Region Cases (工程所在地区案例):
- High People's Court of the project province (省高院)
- Intermediate People's Courts in the project city (市中院)
- Local judicial guidance documents (地方裁判指引)
-
Other Regions Reference (其他地区参考):
- Only include if Supreme Court and regional cases are insufficient
- Clearly mark as "其他地区参考"
Case Search Output Format
For each case, record:
{
"name": "案名",
"level": "supreme", // supreme | regional | other
"case_no": "(2023)最高法民终XXX号",
"summary": "裁判要旨...",
"reference": "对本案的参考意义..."
}
Step 5: Analyze & Recommend Solutions
Based on the dispute analysis, laws, and cases, recommend resolution strategies. For each solution:
-
Mediation (调解):
- Description: Negotiation with third-party facilitation
- Risk: low (2/10)
- Recommendation level: strongly_recommended
- Pros: Low cost, fast, preserves relationships
- Cons: Not enforceable, may be reneged
- Applicable conditions: Both parties willing, amount gap acceptable
-
Arbitration (仲裁):
- Description: Submit to arbitration committee
- Risk: medium (4/10)
- Recommendation level: recommended
- Pros: Final and binding, confidential, expert arbitrators
- Cons: Higher cost, limited appeal options
- Applicable conditions: Valid arbitration clause in contract
-
Litigation (诉讼):
- Description: File lawsuit in court
- Risk: high (6/10)
- Recommendation level: neutral
- Pros: Transparent, appealable, clear evidence rules
- Cons: Long duration, high cost, damages relationships
- Applicable conditions: No arbitration clause or arbitration failed
Risk Rating Scale
| Risk Level | Score | Label | Color |
|---|---|---|---|
| Low | 1-3 | 低风险 | Green |
| Medium | 4-5 | 中风险 | Yellow |
| High | 6-8 | 高风险 | Orange |
| Very High | 9-10 | 极高风险 | Red |
Recommendation Levels
| Level | Label | Description |
|---|---|---|
| strongly_recommended | 强烈推荐 | Best option for this dispute |
| recommended | 推荐 | Good option with manageable risks |
| neutral | 可考虑 | Viable but with notable trade-offs |
| not_recommended | 不建议 | Generally unsuitable for this case |
Step 6: Generate Knowledge Card Image
Preparation
- Compile all data into a JSON structure following the schema in
scripts/example_data.json - Ensure all text is in Chinese (or bilingual if user prefers)
- Verify no expired laws are included
- Verify case hierarchy order is correct
Image Generation
Execute the Python script to generate the knowledge card:
python scripts/generate_knowledge_card.py \
--input <prepared_data.json> \
--output <output_path.png> \
--styles assets/card-styles.json
Visual Style Requirements
The generated image follows the elegant small-fresh (小清新) style defined in assets/card-styles.json:
- Background: Soft mint-white (#f8fdf9)
- Section backgrounds: Pastel tones per section type
- Dispute section: Mint green (#f5fbf7)
- Law section: Warm beige (#faf8f0)
- Case section: Sky blue (#f5f8fc)
- Solution section: Cream (#fdf9f5)
- Typography: Clear hierarchy — bold section titles (24px), item titles (21px), body text (20px)
- Cards: Rounded corners (14px radius) with soft green shadows for depth
- Tags: Color-coded capsule pills for hierarchy (national/regional/supreme/other)
- Risk badges: Color-coded (green/yellow/orange/red) with score display
- Decorations: Gradient header/footer bars, dotted dividers, numbered section circles
- Reference meanings: Highlighted in accent-light background boxes
- Layout: Single-column, generous padding, large breathing space
- Format: Long-form image if content is extensive; single PNG file only
Output Delivery
- Save the generated PNG file
- Deliver to the user as the primary output
- Provide a brief text summary of key recommendations
Important Notes
- Single Image Output: The final deliverable must be ONE knowledge card image (PNG). Do not output multiple images.
- Long Image Support: If content is extensive, the image will automatically extend vertically.
- Law Validity: Double-check all laws for current validity before inclusion.
- Regional Priority: Always prioritize national laws and Supreme Court cases over regional ones.
- User Confirmation: If the user's dispute description is unclear, ask for clarification before proceeding with searches.
Resources
scripts/
generate_knowledge_card.py: Python script to generate the knowledge card PNG image from JSON dataexample_data.json: Example input data showing the expected JSON schema
references/
search-priority-guide.md: Detailed guide on law and case search priority hierarchy
assets/
card-styles.json: Visual style configuration for the knowledge card (colors, fonts, spacing)
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供工程建设法律纠纷的完整解决方案,涵盖法律检索、案例分析和风险评级
- 输出精美的知识卡片图像,采用优雅的小清新视觉风格,提升用户体验
- 针对专业领域高频刚需,具有明确的目标用户群体和应用场景
Highlights
- 触发条件描述清晰完整,覆盖多种请求类型和关键词
- 包含中英文双语触发描述,适应不同用户习惯
- 边界定义明确,不易与其他技能混淆
Highlights
- 工作流程决策树清晰,步骤划分合理
- 包含详细的步骤说明和输出格式规范
- frontmatter完整,文档结构良好
Areas to improve
-
脚本文件内容未验证 Reported severity: Minor
文档中引用了scripts/generate_knowledge_card.py和scripts/example_data.json等文件,但未验证这些文件是否真实存在且内容完整
Recommendation: 建议验证所有引用文件的存在性和完整性,确保执行流程的可靠性
Highlights
- 工具调用参数明确,包含完整的命令行示例
- 有严格的法律有效性验证机制,确保输出质量
- 包含异常处理逻辑和用户确认机制
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.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Translation pending; see source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.