contract-review
Skill173 starsChanged 10 months agoApache-2.0View on GitHub
Contract review skill that adds comment-based issue annotations without changing original text. Enforces a four-layer review (entity verification, basic, business, legal), writes structured comments (issue type, risk reason, revision suggestion) with risk level encoded via reviewer name, and generates a contract summary, consolidated opinion, and Mermaid business flowchart (with rendered image). Output language must follow the contract’s language.
21 other projects use a version of this, 4 of them edited.
Adopted by
Most recently taken up by
- randommonicle/claude-skillstheir own version, first seen Oct 4, 2026
- CatCatUncle/openworkbuddytheir own version, first seen Oct 2, 2026
- ZeroTokenClaw/agents-skillsedited, first seen Sep 21, 2026
- EthanYoQ/Skill-hubedited, first seen Sep 19, 2026
- code-lawyer/Legal-Agent-Skillstheir own version, first seen Aug 22, 2026
- skills-agents-co/skills-and-agents-librarytheir own version, first seen Aug 21, 2026
Used with
Projects with it also use digital-avatar-shopping-video, pet-commerce-creator and 9 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
dycnnnbSkilldigital-avatar-shopping-video
小省导购员多智能体数字人口播带货视频生成系统,以"小省导购员"为核心人设,打造专业购物助手+数字人口播带货视频一体化服务。涵盖五大智能体(小省导购员、带货脚本师、数字人口播生成师、带货画面设计师、音画合成师),产出"数字人口播+带货画面+字幕音效"的成品视频,适配抖音、快手等短视频平台,支持淘宝、京东、拼多多、唯品会等全平台商品信息,具备知识库自动存取能力。
Also in 3 projects that use this
dycnnnbSkillpet-commerce-creator
萌宠带货短视频全流程创作技能,基于COZE视频大模型API,支持萌宠剧情/好物测评/品种科普/宠品带货等全类型创作,覆盖爆款解析反推、知识库联动、互动优化、素材批量下载、全素材整合,实现从创意到带货引流型成品视频的自动化生成,适配15-30秒竖屏9:16主流平台规格。
Also in 3 projects that use this
claude-office-skillsSkillemail-marketing
Email marketing automation - campaign creation, sequence building, A/B testing, deliverability optimization, and analytics
Also in 3 projects that use this
ArogyaReddySkilltailored-resume-generator
Analyzes job descriptions and generates tailored resumes that highlight relevant experience, skills, and achievements to maximize interview chances
Also in 3 projects that use this
coleam00Skillpptx-generator
Generate and edit presentation slides as PPTX files. Also create LinkedIn carousels and manage reusable slide layouts.
Also in 3 projects that use this
QYQSDTCSkillstock-analysis
个股技术分析技能。使用akshare获取A股数据,ta-lib计算技术指标(MA、MACD、RSI、KDJ、布林带等),分析股票趋势(上涨、震荡、即将突破),生成明确的交易计划。当用户请求分析某只股票、判断买卖点、技术面分析时使用此技能。
Also in 3 projects that use this
- +4 more from dycnnnb
Other versions21 projects use a version of this.
Word for word · 0
None found.
Edited · 4
- anbeime/skill★ 7.5k84% same
- EthanYoQ/Skill-hub★ 1184% same
- dycnnnb/skills★ 287% same
- ZeroTokenClaw/agents-skills★ 184% same
Wrote their own version · 17
- anthropics/knowledge-work-plugins★ 26ksame name
- claude-office-skills/skills★ 497same name
- evolsb/claude-legal-skill★ 460same name
- shawnpang/startup-founder-skills★ 337same name
- CatCatUncle/openworkbuddy★ 259same name
- GTMify/aigtm★ 25same name
- randommonicle/claude-skills★ 25same name
- thejefflarson/soundcheck★ 20same name
- dazuck/operator-skills★ 17same name
- kevinaimonster/skill-hub★ 4same name
7 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository7 other files it gives its agents.
- ad-compliance-reviewSkill
- contract-genSkill
- food-label-reviewSkill
- law-to-markdownSkill
- legal-architectureSkill
- legal-job-searchSkill
- legal-risk-visualizationSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. 0 are common, 11 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 16 edited versions we read keep these.
11
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 22
Read contract text (pandoc or XML)
- Distinctive: line 25
Add comments to the document
- Distinctive: line 39
Comments only: do not modify the original text or formatting
- Very specific: line 43
Output language: use labels in the contract’s language (see references/language.md)
- Distinctive: line 54
Use the four-layer review model and the detailed checklist in references/checklist.md.
- Distinctive: line 58
Verify each entity's registered name accuracy and business registration status
- Distinctive: line 60
If an MCP tool for business registration lookup is available in the current environment (e.g., enterprise info query, company lookup, 企业查询, …
- Distinctive: line 61
If no such MCP tool is available, use Web Search to look up "[entity name] 工商登记信息" or "[entity name] business registration".
- Distinctive: line 91
Use references/language.md for language selection and Chinese labels
- Very specific: line 129
Comments missing in Word: run doc.verify_comments() and re-save
- Very specific: line 131
Mermaid render fails: ensure mmdc installed; use Chrome path or Puppeteer config
- Distinctive: line 139
Never alter original contract text
- Distinctive: line 142
Ensure risk level is accurate and consistent
- Distinctive: line 143
Keep comments precise, professional, and actionable
“Common” is measured: kept by at least 6 in 10 of the 16 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Contract Review Skill
Overview
This skill performs contract reviews by adding comments only (no edits to the original text). It follows a four-layer review (entity verification, basic, business, legal) and generates:
- Annotated contract (.docx)
- Contract summary (.docx)
- Consolidated review opinion (.docx)
- Business flowchart (Mermaid + rendered image)
Language rule: detect the contract’s dominant language and output all generated content (comments, summary, opinion, flowchart text) in that language. Use the guidance in references/language.md.
Workflow
- Unpack the contract (.docx) for XML operations
- Read contract text (pandoc or XML)
- Extract and verify contracting parties (Layer 0)
- Execute three-layer clause review (Layer 1–3)
- Add comments to the document
- Generate contract summary
- Generate consolidated opinion
- Generate business flowchart and render image
- Repack to .docx
Output Naming
- Output directory:
审核结果:{ContractName}for Chinese orReview_Result_{ContractName}for English - Reviewed contract:
{ContractName}_审核版.docxfor Chinese or{ContractName}_Reviewed.docxfor English - Review report:
审核报告.txtfor Chinese orReview_Report.txtfor English
Comment Principles
- Comments only: do not modify the original text or formatting
- Precise anchoring: comment should target specific clauses/paragraphs
- Structured content: each comment includes issue type, risk reason, and revision suggestion
- Risk level: carried by reviewer name; do not include a “risk level” line in comment body
- Output language: use labels in the contract’s language (see
references/language.md)
Comment example (English):
[Issue Type] Payment Terms
[Risk Reason] The total amount is stated as USD 100,000 in Section 3.2, but the payment clause lists USD 1,000,000 in Section 5.1. This inconsistency may cause disputes.
[Revision Suggestion] Align the total amount across clauses and clarify whether tax is included.Review Standards
Use the four-layer review model and the detailed checklist in references/checklist.md.
Layer 0: Entity verification (subject authenticity)
- Extract all contracting parties (full legal names, credit codes, legal representatives)
- Verify each entity's registered name accuracy and business registration status
- Verification tool priority:
- If an MCP tool for business registration lookup is available in the current environment (e.g., enterprise info query, company lookup, 企业查询, 工商查询), use it to query each party's name or Unified Social Credit Code.
- If no such MCP tool is available, use Web Search to look up "[entity name] 工商登记信息" or "[entity name] business registration".
- Record the verification source (MCP tool name / Web Search) in the comment.
Layer 1: Basic (text quality)
- Accuracy of numbers, dates, terms
- Consistent numbering and references
- Clarity and lack of ambiguity
- Formatting and punctuation quality
Layer 2: Business terms
- Scope, deliverables, quantity/specs
- Pricing and payment schedule
- Delivery/acceptance procedures
- Rights/obligations and performance guarantees
Layer 3: Legal terms
- Effectiveness and term/termination
- Liability/penalties and remedies
- Dispute resolution and governing law
- Confidentiality, force majeure, IP, notice, authorization
Risk levels (encoded in reviewer name):
- 🔴 High: core business ambiguity (price, scope, rights/obligations)
- 🟡 Medium: material but non-core ambiguity
- 🔵 Low: minimal practical impact
Contract Summary
Generate a structured, objective summary in the contract’s language.
- See references/summary.md (English template)
- Use references/language.md for language selection and Chinese labels
Output file: 合同概要.docx for Chinese or Contract_Summary.docx for English (default font: 仿宋; adjust if language requires)
Consolidated Opinion
Generate a concise, two-paragraph response for the business team in the contract’s language.
- See references/opinion.md
Output file: 综合审核意见.docx for Chinese or Consolidated_Opinion.docx for English (default font: 仿宋; adjust if language requires)
Business Flowchart (Mermaid)
Generate Mermaid flowchart per requirements and render to image.
- See references/flowchart.md
Outputs:
business_flowchart.mmdbusiness_flowchart.png
li## Technical Notes
Core workflow:
- Unpack → 2. Entity verification → 3. Add comments → 4. Summary → 5. Opinion → 6. Flowchart → 7. Repack
API & implementation details:
- references/technical.md
Dependencies
- Python 3.9+ (3.10+ recommended)
- pandoc (system install)
- defusedxml
- Mermaid CLI (
mmdc) for rendering - python-docx for rich text output
Troubleshooting (Short)
- Comments missing in Word: run
doc.verify_comments()and re-save - find_paragraph fails: shorten search text; confirm actual paragraph text
- Mermaid render fails: ensure
mmdcinstalled; use Chrome path or Puppeteer config
Examples
See references/examples.md for a full workflow example.
Important Rules
- Never alter original contract text
- Entity verification (Layer 0) must complete before clause review (Layers 1–3)
- Review all four layers, do not skip items
- Ensure risk level is accurate and consistent
- Keep comments precise, professional, and actionable
- Flowchart must come strictly from the contract text
- Summary is objective only; no risk analysis
- Opinion only reflects findings already identified
License
SPDX-License-Identifier: Apache-2.0
Copyright (c) 2026 JiCheng
Licensed under the Apache License, Version 2.0. See repository root LICENSE.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

