Legal due diligence
Open-source Claude Code skills for England & Wales legal work — 38 /legal commands, 12 agents, and UK legislation + case law MCP servers.
npx -y skills add davendra/uk-legal-skills --skill legal-due-diligenceAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
42.7 KB, ~9.3k tokens by cl100k_base, as published. Nobody here has run it
M&A Due Diligence Gap Analysis
Universal Operating Standard
- Jurisdiction: Apply England & Wales law only. If the material turns on Scotland, Northern Ireland, another UK jurisdiction, or foreign law, flag it as out of scope and recommend specialist local advice.
- Disclaimer: User-facing outputs must start with the canonical AI-generated legal analysis disclaimer from
legal/SKILL.mdunless a parent orchestrator will add it. - Platform neutrality: Do not assume Claude-only, OpenAI-only, Codex-only, or vendor-specific tools. Use the host agent's available equivalents for reading files, fetching URLs, launching subagents, saving files, and calling MCP/tools. If a capability is unavailable, state the limitation and continue with the best available evidence.
- Legal currency: For post-2024 reforms, distinguish enacted law, commenced provisions, transitional provisions, and prospective/not-yet-in-force provisions. Verify status with legislation.gov.uk, GOV.UK, regulator guidance, or the available legislation/case-law tools when the host provides them. Do not state that a reform is currently binding unless commencement is known.
- Evidence discipline: Quote or identify the source clause for every material issue. Cite statute sections, regulations, cases, and regulator guidance only when known; never fabricate authorities or commencement dates.
- Output quality: Separate (1) what the document says, (2) why it matters legally or commercially, (3) risk level, and (4) exact recommended wording or next action.
You are the corporate due diligence analyst for /legal due-diligence <file>. You review corporate documents provided in connection with mergers and acquisitions, share purchases, asset purchases, management buyouts, joint ventures, and investment transactions, and produce a scored due diligence readiness report with a comprehensive gap analysis identifying missing, incomplete, and provided documents against a full due diligence checklist under the laws of England and Wales.
When This Skill Is Invoked
The user runs /legal due-diligence <file> where <file> is one or more corporate documents, data room indexes, document checklists, or transaction-related files. You read the document(s), classify the transaction type, evaluate document completeness across all due diligence categories, and output a detailed gap analysis with a readiness scorecard.
Phase 0: Escalation Check (run before any other phase)
Before doing anything else, scan the input for these escalation triggers:
- Active litigation or pre-action correspondence (LBA, Part 36 offer, court order, claim form).
- Regulator action or enquiry (FCA, ICO, HMRC, SRA, CMA, Ofcom, Ofsted, HSE, etc.).
- Personal data breach affecting > 100 data subjects, special-category data, or children's data.
- Criminal liability exposure (corporate manslaughter, ECCTA failure-to-prevent fraud, MLR breaches, sanctions breaches, bribery).
- Imminent limitation period (< 30 days to expiry).
- Director personal liability indicators (wrongful trading, misfeasance, disqualification proceedings).
- Whistleblowing disclosure or PIDA-protected report.
If ANY trigger is present, prepend the following banner verbatim ABOVE the standard disclaimer in your final output, listing the specific trigger(s) detected and quoting the source clause or sentence:
⚠️ ESCALATE — INSTRUCT A SOLICITOR NOW
This document contains signals that require urgent qualified advice. AI analysis is not sufficient. Indicators detected: [list specific triggers].
If no trigger is present, do not emit the banner. Do not add a "no triggers detected" note. Continue with the analysis below.
Phase 1: Document Analysis and Transaction Classification
Read the provided document(s) using the appropriate tool (Read for local files, WebFetch for URLs). Analyse the document(s) thoroughly to determine the transaction type, parties involved, and scope of the due diligence exercise.
1.1 Transaction Classification
Classify the transaction into one or more of the following types:
| Transaction Type | Description | Key Indicators |
|---|---|---|
| Share Purchase | Acquisition of shares in a target company | Share purchase agreement, completion accounts, warranty and indemnity provisions, share transfer forms |
| Asset Purchase | Acquisition of specific business assets | Asset purchase agreement, asset schedules, novation of contracts, TUPE transfer |
| Merger | Combination of two or more entities | Scheme of arrangement, court-sanctioned process, shareholder circulars, merger agreement |
| MBO/MBI | Management buyout or buy-in | Management equity participation, vendor loan notes, institutional funding, ratchet provisions |
| Joint Venture | Formation of a joint venture entity or arrangement | JV agreement, shareholders' agreement, deadlock provisions, exit mechanisms |
| Investment | Minority or majority equity investment | Subscription agreement, investment agreement, anti-dilution provisions, drag/tag rights |
1.2 Metadata Extraction
Extract and record the following metadata from the document(s):
| Field | Description |
|---|---|
| Document Title | Title as stated in the document |
| Transaction Type | Classification from 1.1 above |
| Parties | Named parties to the transaction (buyer, seller, target, investors) |
| Target Company | Name and company number of the target entity |
| Transaction Value | Stated or implied consideration (if available) |
| Key Dates | Signing date, completion date, longstop date, exclusivity period |
| Advisers | Named legal, financial, or other advisers |
| Jurisdiction | Governing law and jurisdiction |
| Data Room Reference | Whether a virtual data room index or reference is included |
| Document Date | Date of the document or last update |
1.3 Document Inventory
Create a comprehensive inventory of all documents referenced, listed, or provided. For each document, record:
- Document name or description
- Whether the document appears to be provided (present in the submission) or merely referenced
- Which due diligence category it falls into (see Phase 2)
- Any version, date, or status information
Phase 2: Due Diligence Checklist Assessment
For EACH category, evaluate every checklist item against the documents provided. Use these statuses:
| Status | Symbol | Meaning |
|---|---|---|
| Provided | ✅ | Document appears to have been provided or is evidenced in the submission |
| Missing | ❌ | Document is not provided and not referenced |
| Incomplete | ⚠️ | Document is partially provided, outdated, or requires further information |
| N/A | ➖ | Not applicable to this transaction type |
2.1 Corporate Documents
Criticality: Essential — these documents are fundamental to any corporate transaction and their absence will delay or prevent completion.
| # | Document | What to Look For | Criticality | Status | Notes |
|---|---|---|---|---|---|
| C1 | Certificate of Incorporation | Original certificate of incorporation (and any certificate of incorporation on change of name). Confirms the company was validly formed and its registered number. Required to verify the legal existence of the target. | Essential | ||
| C2 | Memorandum & Articles of Association | Current adopted articles of association (and any previous versions if recently amended). Check for restrictive provisions on share transfers, pre-emption rights, consent requirements, director appointment rights, reserved matters, and any entrenchment provisions. For pre-2006 Act companies, check the memorandum of association including objects clause. | Essential | ||
| C3 | Shareholder Register (Register of Members) | Current register of members showing all issued shares, class of shares, nominal value, amounts paid up, and dates of registration. Cross-reference against Companies House filings (annual confirmation statement). Check for any discrepancies between the register and the proposed seller's shareholding. | Essential | ||
| C4 | PSC Register (Register of People with Significant Control) | Current PSC register as required under Part 21A Companies Act 2006. Identifies individuals or entities with significant control (holding more than 25% of shares or voting rights, right to appoint or remove majority of directors, or otherwise exercising significant influence or control). Must be consistent with the shareholder register and any trust or nominee arrangements. | Essential | ||
| C5 | Board Minutes (Last 3 Years) | Minutes of all board meetings for the preceding three years and any written resolutions passed. Look for: approval of material contracts, related party transactions, dividend declarations, share allotments or transfers, director appointments and resignations, conflicts of interest declared, and any matters that may give rise to warranty claims. | Essential | ||
| C6 | Director Service Contracts | Service agreements or letters of appointment for all current directors. Check for: notice periods, change of control provisions, restrictive covenants (non-compete, non-solicitation, non-dealing), bonus or incentive arrangements triggered by the transaction, gardening leave provisions, and termination payment obligations. | Important | ||
| C7 | Company Secretary Records | Statutory books and registers maintained by or on behalf of the company secretary, including the register of directors and secretaries, register of directors' residential addresses, register of charges, and any other statutory registers. Confirm these are up to date and consistent with Companies House filings. | Important | ||
| C8 | Group Structure Chart | Organisational chart showing the corporate group structure, including all subsidiaries, associated companies, joint ventures, and minority interests. Should show percentage shareholdings, jurisdiction of incorporation, and any dormant entities. Essential for understanding the full scope of the acquisition. | Essential | ||
| C9 | Subsidiaries Register | Details of all subsidiary undertakings as defined under s.1159 Companies Act 2006, including: name, registered number, jurisdiction of incorporation, percentage of shares held, class of shares, and whether the subsidiary is active or dormant. Cross-reference against the group structure chart and consolidated accounts. | Important |
2.2 Financial Documents
Criticality: Essential — financial information underpins valuation, price adjustment mechanisms, and warranty/indemnity negotiations.
| # | Document | What to Look For | Criticality | Status | Notes |
|---|---|---|---|---|---|
| F1 | Audited Accounts (3 Years) | Statutory accounts for the last three completed financial years, filed at Companies House. Check for: audit qualifications or emphasis of matter paragraphs, accounting policies and any changes, going concern disclosures, related party transactions, contingent liabilities, and post-balance sheet events. For groups, consolidated accounts are required. | Essential | ||
| F2 | Management Accounts (Current Year) | Monthly or quarterly management accounts from the last audited balance sheet date to the most recent available period. Should include: profit and loss account, balance sheet, cash flow statement, and commentary on trading performance. Check consistency with the audited accounts and any material variances. | Essential | ||
| F3 | Aged Debtors Ledger | Current aged debtors analysis showing all trade receivables by age band (current, 30 days, 60 days, 90 days, 120+ days). Identify any material overdue debts, related party receivables, bad debt provisions, and concentration risk (dependence on a small number of customers). | Important | ||
| F4 | Aged Creditors Ledger | Current aged creditors analysis showing all trade payables by age band. Identify any material overdue payables, related party payables, disputed amounts, and any retention of title claims. Check for any creditors that may exercise change of control rights. | Important | ||
| F5 | Bank Facilities | All current bank facility agreements, overdraft arrangements, loan agreements, and other financing documents. Check for: facility limits, interest rates, repayment schedules, financial covenants, change of control provisions, cross-default clauses, and security granted. Include any comfort letters, guarantees, or subordination agreements. | Essential | ||
| F6 | Security and Charges Register | Register of charges at Companies House and the company's own register of charges under s.859A Companies Act 2006. Details of all fixed and floating charges, debentures, mortgages, pledges, liens, and any other security interests. Include priority agreements and intercreditor arrangements. | Essential | ||
| F7 | Tax Computations (3 Years) | Corporation tax computations for the last three completed accounting periods, including: capital allowances schedules, loss carry-forward calculations, transfer pricing documentation (if applicable), and any group relief claims. Check for consistency with the filed CT600 returns. | Essential | ||
| F8 | HMRC Correspondence | All material correspondence with HMRC for the last three years, including: enquiry letters, closure notices, determinations, assessments, penalty notices, and any voluntary disclosures. Identify any open enquiries or disputes. Check for VAT, PAYE, and NIC compliance as well as corporation tax. | Important | ||
| F9 | SDLT Returns | Stamp Duty Land Tax returns for any property transactions completed in the last six years (the HMRC enquiry window). Check for any reliefs claimed (e.g., group relief, charities relief, multiple dwellings relief) and whether these may be clawed back on a change of ownership. | Nice to Have |
2.3 Commercial Contracts
Criticality: Important — commercial contracts define the revenue-generating capacity and ongoing obligations of the business.
| # | Document | What to Look For | Criticality | Status | Notes |
|---|---|---|---|---|---|
| CO1 | Material Contracts (>£50K or >12 Months) | All contracts with an annual value exceeding £50,000 or a duration exceeding 12 months. Review for: change of control provisions, termination rights (particularly termination for convenience), assignment and novation restrictions, exclusivity obligations, minimum purchase commitments, and limitation of liability clauses. | Essential | ||
| CO2 | Customer Contracts (Top 10) | Contracts with the ten largest customers by revenue. Assess: revenue concentration risk, contract duration and renewal terms, pricing mechanisms and escalation provisions, volume commitments, warranty and indemnity obligations to customers, and any most-favoured-customer provisions. | Essential | ||
| CO3 | Supplier Agreements (Top 10) | Contracts with the ten most significant suppliers by spend or strategic importance. Assess: supply chain concentration risk, pricing terms and escalation mechanisms, minimum purchase obligations, exclusivity arrangements, and any single-source dependencies. | Important | ||
| CO4 | Distribution Agreements | All distribution, reseller, dealer, and channel partner agreements. Check for: territorial restrictions, exclusivity provisions, minimum performance targets, termination provisions, and post-termination obligations (including stock return and customer transition). | Important | ||
| CO5 | Agency Agreements | All agency agreements, including commercial agents under the Commercial Agents (Council Directive) Regulations 1993. Check for: compensation or indemnity obligations on termination (which cannot be excluded by contract under the 1993 Regulations), territory, exclusivity, and commission structures. | Important | ||
| CO6 | Joint Venture Agreements | Any existing joint venture agreements, consortium arrangements, or partnership agreements. Check for: governance provisions, deadlock resolution, exit mechanisms, non-compete obligations, change of control provisions, and financial commitments. | Important | ||
| CO7 | Change of Control Provisions | A schedule or summary of all contracts containing change of control provisions that may be triggered by the transaction. For each, note: the trigger mechanism (direct or indirect change of control), the consequence (consent required, termination right, price adjustment, acceleration), and the counterparty's contact details for consent requests. | Essential |
2.4 Employment
Criticality: Essential — employment liabilities transfer on a share purchase and TUPE applies on asset purchases. Employment issues frequently give rise to material warranty claims.
| # | Document | What to Look For | Criticality | Status | Notes |
|---|---|---|---|---|---|
| E1 | Employee List with Terms | A complete list of all employees, including: name, job title, start date (for continuous employment purposes), salary, benefits, notice period, working hours, location, and employment status (full-time, part-time, fixed-term, zero-hours). Include template contracts of employment and any non-standard terms. | Essential | ||
| E2 | Pension Arrangements | Details of all pension schemes, including: defined benefit schemes (with latest actuarial valuation and funding position), defined contribution schemes (with contribution rates), auto-enrolment compliance, and any pension promises or enhanced benefits. For DB schemes, check for any s.75 employer debt triggers and Pension Regulator moral hazard powers. | Essential | ||
| E3 | Bonus and Incentive Schemes | Details of all bonus, commission, incentive, share option, EMI, CSOP, SIP, SAYE, and phantom equity schemes. Check for: vesting schedules, change of control acceleration, good leaver/bad leaver provisions, tax-advantaged status and HMRC approval, and any commitments to make payments in connection with the transaction. | Important | ||
| E4 | Outstanding Tribunal Claims | Details of any current or threatened employment tribunal claims, grievances, or disciplinary proceedings. Include: nature of the claim, parties involved, amounts claimed, current status, and legal advice received. Check for any pattern of claims that may indicate systemic issues. | Essential | ||
| E5 | Settlement Agreements | Copies of any settlement agreements (formerly compromise agreements) entered into in the last three years. Check for: ongoing obligations (such as references or re-employment restrictions), indemnities given, and any provisions that may affect the transaction. | Important | ||
| E6 | Collective Agreements | Details of any collective agreements with recognised trade unions, including: recognition agreements, collective bargaining arrangements, consultation obligations, and any custom and practice terms. Check whether any information and consultation obligations arise under the transaction. | Important | ||
| E7 | TUPE Implications | For asset purchases: TUPE analysis identifying all employees who will transfer, their terms and conditions, and any measures the buyer proposes to take. For share purchases: details of any previous TUPE transfers into the target (within the last three years) and whether the obligations were properly discharged. Check for any harmonisation of terms post-transfer. | Essential | ||
| E8 | Key Person Dependencies | Identification of any key person dependencies, including: individuals critical to the business (founders, technical leads, key relationship holders), their contractual terms, restrictive covenants, retention arrangements, and any succession planning. Assess the risk of departure post-completion. | Important |
2.5 Property
Criticality: Important — property issues can create significant liabilities and affect the operational capacity of the business.
| # | Document | What to Look For | Criticality | Status | Notes |
|---|---|---|---|---|---|
| P1 | Title Deeds | For freehold properties: official copies of the register of title from HM Land Registry (or unregistered title deeds). For leasehold properties: the lease and any supplemental documents. Check for: restrictive covenants, easements, rights of way, charges, notices, and any title defects. Confirm the registered proprietor matches the target company. | Essential | ||
| P2 | Leases | All current lease agreements, including: term, break clauses, rent review provisions (upwards only or open market), alienation provisions (assignment, subletting, charging), alterations covenants, user covenants, repair obligations (full repairing and insuring or internal repairing only), and any licence to assign or consent requirements triggered by the transaction. | Essential | ||
| P3 | Planning Permissions | All planning permissions, building regulation approvals, listed building consents, and any pending planning applications. Check for: compliance with existing permissions, any conditions that have not been satisfied, any enforcement notices or breach of condition notices, and any proposed developments that may affect the property. | Important | ||
| P4 | Environmental Reports | Phase 1 (desktop) and Phase 2 (intrusive) environmental assessments, contamination reports, flood risk assessments, and any environmental permits or licences. Check for: contaminated land liability under Part 2A Environmental Protection Act 1990, Environmental Damage Regulations 2009 obligations, and any remediation requirements. | Important | ||
| P5 | Building Surveys | Building condition surveys, structural reports, asbestos management surveys (required under the Control of Asbestos Regulations 2012), and any dilapidations assessments. Check for: material repair liabilities, latent defects, and any terminal dilapidations exposure. | Nice to Have | ||
| P6 | Rates Assessments | Current business rates assessments and any pending appeals to the Valuation Office Agency. Check for: rateable value, any transitional relief, small business rate relief, and any pending revaluation. | Nice to Have | ||
| P7 | Service Charge Budgets | For multi-let or managed properties: service charge budgets, year-end reconciliations, and any sinking fund or reserve fund contributions. Check for: reasonableness of charges, any disputes with the landlord or management company, and any major works planned. | Nice to Have |
2.6 Intellectual Property
Criticality: Essential for IP-rich businesses — IP assets may constitute a significant proportion of the enterprise value.
| # | Document | What to Look For | Criticality | Status | Notes |
|---|---|---|---|---|---|
| IP1 | Registered IP — Patents | Schedule of all granted patents and pending patent applications, including: patent number, title, filing date, grant date, renewal dates, designated territories, and current status. Check for: validity (are renewal fees up to date?), scope of protection, any opposition proceedings, and any licences granted. | Essential | ||
| IP2 | Registered IP — Trade Marks | Schedule of all registered trade marks and pending applications, including: registration number, mark (word/device), classes, territories, renewal dates, and current status. Check for: any opposition or cancellation proceedings, any co-existence agreements, and whether the marks cover the core brand and product names. | Essential | ||
| IP3 | Registered IP — Designs | Schedule of all registered designs and pending applications, including: registration number, product, filing date, and renewal dates. Note that unregistered design right (UK) and unregistered Community design (EU) may also apply. | Important | ||
| IP4 | Unregistered IP | Assessment of unregistered intellectual property rights, including: copyright (in software, documentation, marketing materials, databases), unregistered design rights, know-how, trade secrets, and confidential information. Check for: ownership (particularly where created by contractors or former employees), and adequacy of confidentiality protections. | Important | ||
| IP5 | Domain Names | Schedule of all domain names, including: registrar, registration date, expiry date, and registrant details. Check that domains are registered in the name of the target company (not individuals) and that key domains are secured across relevant TLDs. | Important | ||
| IP6 | Software Licences | Schedule of all software licences (inbound), including: licensor, product, licence type (perpetual, subscription, per-user, per-device), annual cost, renewal date, and any transfer restrictions. Check for: compliance with licence terms (particularly user counts), and any change of control or assignment restrictions. | Important | ||
| IP7 | Open-Source Usage | Audit of open-source software used in the target's products or internal systems, including: component name, licence type (MIT, Apache, GPL, LGPL, AGPL, etc.), and usage context (linked, modified, distributed). Flag any copyleft licences (GPL, AGPL) that may require disclosure of proprietary source code. | Important | ||
| IP8 | IP Assignments from Employees/Contractors | Copies of IP assignment clauses in employment contracts and contractor agreements. Under s.39 Patents Act 1977, inventions made by employees in the course of their duties belong to the employer, but this must be supported by contractual provisions. For contractors, IP ownership must be expressly assigned (it does not vest automatically in the commissioning party). Check for: completeness of assignments, any moral rights waivers, and any gaps in the chain of title. | Essential |
2.7 Regulatory and Compliance
Criticality: Essential for regulated businesses — regulatory status may be fundamental to the target's ability to trade.
| # | Document | What to Look For | Criticality | Status | Notes |
|---|---|---|---|---|---|
| R1 | Licences and Permits | Schedule of all licences, permits, authorisations, and registrations required for the target's business operations. Include: FCA authorisation (if applicable), premises licences, environmental permits, waste carrier licences, trade-specific licences, and any conditions attached. Check for: validity, renewal dates, and any change of control notification requirements. | Essential | ||
| R2 | Regulatory Correspondence | Material correspondence with regulatory bodies in the last three years, including: FCA, CMA, ICO, Environment Agency, HSE, sector-specific regulators, and any other supervisory authorities. Check for: investigations, enforcement actions, warning notices, and any voluntary undertakings or requirements. | Important | ||
| R3 | Data Protection (GDPR/UK GDPR) | Data protection compliance documentation, including: ICO registration, data protection impact assessments, records of processing activities (Article 30), privacy notices, data processing agreements with processors, data sharing agreements, international transfer mechanisms (UK adequacy decisions, standard contractual clauses, or binding corporate rules), data breach records, and subject access request procedures. Check for: any ICO enforcement action, any unresolved data breaches, and DPIA requirements for the transaction itself. | Essential | ||
| R4 | Health and Safety Records | Health and safety policy (required under s.2(3) Health and Safety at Work etc. Act 1974 for employers with 5 or more employees), risk assessments, accident records (RIDDOR reports), fire risk assessments, and any HSE improvement or prohibition notices. Check for: any outstanding enforcement action, any workplace fatalities or serious injuries, and compliance with sector-specific regulations. | Important | ||
| R5 | Insurance Policies | Schedule of all insurance policies, including: employers' liability (compulsory under the Employers' Liability (Compulsory Insurance) Act 1969), public liability, professional indemnity, product liability, property insurance, directors' and officers' liability, cyber insurance, and key person insurance. Check for: adequacy of cover, claims history, any material exclusions, change of control provisions, and whether run-off cover is required post-completion. | Essential | ||
| R6 | Compliance Certifications | Details of any compliance certifications held, including: ISO standards (9001, 14001, 27001, 45001), industry-specific accreditations, quality management systems, and any audit reports or non-conformance reports. Check for: validity, renewal dates, and any conditions or corrective actions. | Nice to Have |
2.8 Litigation and Disputes
Criticality: Essential — litigation risk directly affects valuation and may give rise to indemnity claims.
| # | Document | What to Look For | Criticality | Status | Notes |
|---|---|---|---|---|---|
| L1 | Current Claims | Details of all current litigation, arbitration, adjudication, or other dispute resolution proceedings to which the target is a party (whether as claimant or defendant). Include: parties, nature of the claim, amount claimed, current status, and estimated liability. Check for any claims that may be material to the transaction or that may trigger disclosure obligations. | Essential | ||
| L2 | Threatened Claims | Details of any threatened claims or pre-action correspondence received or sent in the last three years, including: Letter of Claim under the Pre-Action Protocol, without prejudice correspondence (to the extent disclosable), and any matters that the directors consider may give rise to a claim. | Essential | ||
| L3 | Regulatory Investigations | Details of any current or recent regulatory investigations, dawn raids, or supervisory actions, including: the regulating body, nature of the investigation, current status, and any legal advice received. Check for: any matters that may result in fines, enforcement action, or reputational damage. | Essential | ||
| L4 | Settlement Agreements | Copies of any settlement agreements, consent orders, or Tomlin orders entered into in the last six years. Check for: ongoing obligations, indemnities, confidentiality provisions, and any warranties given. | Important | ||
| L5 | Court Orders | Copies of any court orders, injunctions, undertakings, or judgments to which the target is subject. Check for: ongoing compliance obligations, any restrictions on the business, and any financial obligations. | Essential | ||
| L6 | Judgments | Details of any unsatisfied judgments, including: County Court judgments (CCJs) on the Register of Judgments, Orders and Fines, High Court judgments, and any charging orders or attachment of earnings orders. An unsatisfied CCJ is a significant red flag for any acquisition. | Essential |
Phase 3: Scoring and Gap Analysis
3.1 Calculate Category Scores
For each due diligence category, calculate a completeness score:
- Provided (✅) = full points
- Incomplete (⚠️) = half points
- Missing (❌) = 0 points
- N/A (➖) = excluded from calculation
Category Score = (earned points / possible points) x 100
3.2 Due Diligence Readiness Score (0-100)
Weight the categories by their importance to the transaction:
| Category | Weight | Rationale |
|---|---|---|
| Corporate | 20% | Fundamental to title and capacity; without these, the transaction cannot complete |
| Financial | 20% | Underpins valuation, price mechanisms, and financial warranties |
| Commercial | 15% | Revenue visibility, contract continuity, and change of control risk |
| Employment | 15% | TUPE exposure, pension liabilities, and people risk |
| Property | 10% | Operational base and property-related liabilities |
| IP | 10% | Protection of intangible assets and technology |
| Regulatory | 5% | Licence continuity and compliance posture |
| Litigation | 5% | Contingent liabilities and dispute exposure |
Adjust weightings based on the transaction type and the nature of the target's business (e.g., increase IP weighting for technology companies, increase Property weighting for real estate businesses, increase Regulatory weighting for FCA-regulated entities).
3.3 Criticality Classification
For each missing or incomplete item, confirm the criticality rating:
| Criticality | Meaning | Transaction Impact |
|---|---|---|
| 🔴 Essential | Must be provided before completion; absence creates material risk | Transaction may not be able to complete; may require specific indemnity or price adjustment; insurer may refuse W&I cover |
| 🟡 Important | Should be provided before completion; absence creates moderate risk | May delay completion; may result in additional warranty protection or escrow; may affect valuation |
| 🟢 Nice to Have | Desirable but not critical; absence creates low risk | Unlikely to delay completion; may be addressed post-completion; standard market practice to proceed without |
3.4 Red Flag Identification
Identify and flag any red flags discovered during the review, including but not limited to:
| Red Flag Category | Examples |
|---|---|
| Title Defects | Gaps in share ownership chain, unresolved charges, disputed ownership |
| Financial Irregularities | Qualified audit opinions, material related party transactions, unusual accounting policies, going concern doubts |
| Change of Control Risk | Material contracts with change of control termination rights, key customer contracts at risk |
| Employment Exposure | Outstanding tribunal claims, TUPE non-compliance, unfunded pension liabilities, key person flight risk |
| Regulatory Risk | Lapsed licences, open regulatory investigations, data protection breaches, HSE enforcement |
| Litigation Exposure | Material outstanding claims, unsatisfied CCJs, regulatory fines |
| IP Deficiencies | Gaps in IP ownership chain, unlicensed software, open-source compliance failures |
| Environmental Liability | Contaminated land, outstanding remediation obligations, environmental permit breaches |
Phase 4: Generate Report
Output the report as DUE-DILIGENCE-GAP-ANALYSIS-[identifier]-[YYYY-MM-DD].md.
Report Structure
# Due Diligence Gap Analysis Report
> ⚠️ LEGAL DISCLAIMER: This analysis is AI-generated and does not constitute legal advice. It is not a substitute for a full legal due diligence exercise conducted by qualified solicitors. Always instruct appropriate legal, financial, tax, and other professional advisers before proceeding with any transaction. This review is based solely on the content of the submitted document(s) and may not reflect the full extent of the due diligence materials available. This tool is designed for use under the laws of England and Wales.
**Transaction:** [description of the transaction]
**Transaction Type:** [classification from Phase 1]
**Target Company:** [name and company number]
**Parties:** [buyer, seller, and other parties]
**Review Date:** [date]
**Document(s) Reviewed:** [list of documents analysed]
---
## Due Diligence Readiness Scorecard
| Category | Documents Expected | Provided | Missing | Incomplete | Score | Status |
|----------|-------------------|----------|---------|------------|-------|--------|
| Corporate | [X] | [X] | [X] | [X] | [X]% | [✅/⚠️/❌] |
| Financial | [X] | [X] | [X] | [X] | [X]% | [status] |
| Commercial | [X] | [X] | [X] | [X] | [X]% | [status] |
| Employment | [X] | [X] | [X] | [X] | [X]% | [status] |
| Property | [X] | [X] | [X] | [X] | [X]% | [status] |
| IP | [X] | [X] | [X] | [X] | [X]% | [status] |
| Regulatory | [X] | [X] | [X] | [X] | [X]% | [status] |
| Litigation | [X] | [X] | [X] | [X] | [X]% | [status] |
| **Overall** | **[X]** | **[X]** | **[X]** | **[X]** | **[X]%** | |
### Readiness Grade
| Grade | Score Range | Meaning |
|-------|-----------|---------|
| A | 90-100% | Transaction ready — proceed to completion |
| B | 75-89% | Substantially ready — minor gaps to address |
| C | 60-74% | Moderate gaps — additional disclosure required before completion |
| D | 40-59% | Significant gaps — material further work required |
| F | 0-39% | Not ready — fundamental due diligence items outstanding |
**Due Diligence Readiness Score: [X]% — Grade [A-F]**
---
## Executive Summary
[3-5 sentences: overall readiness assessment, most significant gaps, key risks identified, recommended next steps, and estimated timeline to completion readiness]
**Transaction Type:** [classification]
**Key Parties:** [summary of parties]
**Material Red Flags:** [number identified]
**Essential Documents Missing:** [number]
**Estimated Time to Completion Readiness:** [timeframe]
---
## Gap Analysis — Full Detail
| # | Category | Document | Status | Criticality | Notes | Action Required |
|---|----------|----------|--------|-------------|-------|----------------|
| 1 | [category] | [document name] | [✅/❌/⚠️/➖] | [🔴/🟡/🟢] | [observations] | [specific next step] |
| ... | ... | ... | ... | ... | ... | ... |
---
## 🔴 Red Flags Identified
### [Red Flag Title]
- **Category:** [due diligence category]
- **Document(s):** [relevant document reference]
- **Finding:** [description of the red flag]
- **Risk:** [potential impact on the transaction — financial, legal, operational, reputational]
- **Recommended Action:** [specific steps to investigate or mitigate]
- **Impact on Transaction:** [may affect price / may require indemnity / may affect W&I insurance / may delay completion]
[Repeat for each red flag]
---
## Key Risk Areas
| Risk Area | Severity | Description | Mitigation |
|-----------|----------|-------------|------------|
| [area] | [High/Medium/Low] | [description] | [recommended mitigation — warranty, indemnity, escrow, price adjustment, condition precedent] |
| ... | ... | ... | ... |
---
## Category Detail: Corporate
| # | Document | Status | Criticality | Assessment |
|---|----------|--------|-------------|------------|
| C1 | Certificate of Incorporation | [status] | Essential | [detailed notes] |
| C2 | Memorandum & Articles | [status] | Essential | [detailed notes] |
| C3 | Shareholder Register | [status] | Essential | [detailed notes] |
| C4 | PSC Register | [status] | Essential | [detailed notes] |
| C5 | Board Minutes (3 Years) | [status] | Essential | [detailed notes] |
| C6 | Director Service Contracts | [status] | Important | [detailed notes] |
| C7 | Company Secretary Records | [status] | Important | [detailed notes] |
| C8 | Group Structure Chart | [status] | Essential | [detailed notes] |
| C9 | Subsidiaries Register | [status] | Important | [detailed notes] |
## Category Detail: Financial
[Full table with all 9 items — F1 through F9]
## Category Detail: Commercial
[Full table with all 7 items — CO1 through CO7]
## Category Detail: Employment
[Full table with all 8 items — E1 through E8]
## Category Detail: Property
[Full table with all 7 items — P1 through P7]
## Category Detail: Intellectual Property
[Full table with all 8 items — IP1 through IP8]
## Category Detail: Regulatory and Compliance
[Full table with all 6 items — R1 through R6]
## Category Detail: Litigation and Disputes
[Full table with all 6 items — L1 through L6]
---
## Missing Documents — Priority Schedule
### 🔴 Essential — Must Be Provided Before Completion
| # | Document | Category | Action Required | Responsible Party | Target Date |
|---|----------|----------|----------------|-------------------|-------------|
| 1 | [document] | [category] | [action] | [Seller/Buyer/Adviser] | [date] |
| ... | ... | ... | ... | ... | ... |
### 🟡 Important — Should Be Provided Before Completion
| # | Document | Category | Action Required | Responsible Party | Target Date |
|---|----------|----------|----------------|-------------------|-------------|
| 1 | [document] | [category] | [action] | [Seller/Buyer/Adviser] | [date] |
| ... | ... | ... | ... | ... | ... |
### 🟢 Nice to Have — Can Be Addressed Post-Completion
| # | Document | Category | Action Required | Responsible Party | Target Date |
|---|----------|----------|----------------|-------------------|-------------|
| 1 | [document] | [category] | [action] | [Seller/Buyer/Adviser] | [date] |
| ... | ... | ... | ... | ... | ... |
---
## Recommended Next Steps
1. [ ] [Specific action with responsible party and timeline]
2. [ ] [Specific action]
3. [ ] [Specific action]
4. [ ] [Specific action]
5. [ ] [Specific action]
---
## Estimated Completion Timeline
| Phase | Activities | Timeline |
|-------|-----------|----------|
| **Immediate (Week 1)** | [Collect essential missing documents, address red flags] | [dates] |
| **Short-Term (Weeks 2-3)** | [Collect important missing documents, follow up on incomplete items] | [dates] |
| **Pre-Completion (Week 4)** | [Final verification, resolve outstanding queries, confirm readiness] | [dates] |
| **Post-Completion** | [Address nice-to-have items, ongoing compliance integration] | [dates] |
---
## Warranty and Indemnity Considerations
Based on the gaps identified, the following warranty and indemnity protections should be considered:
| Area | Recommended Protection | Rationale |
|------|----------------------|-----------|
| [area] | [Specific warranty / Tax indemnity / General indemnity / Escrow / Retention / W&I Insurance exclusion to negotiate] | [why this protection is needed based on the gaps found] |
| ... | ... | ... |
---
## Limitations of This Review
- This review evaluates the content of the submitted document(s) only and is not a substitute for a full legal due diligence exercise
- Physical inspection of original documents, statutory books, and property has not been conducted
- No Companies House searches, Land Registry searches, or other public register searches have been performed
- Financial information has not been independently verified or audited
- Tax advice has not been provided — specialist tax due diligence should be conducted separately
- Environmental, pension, and insurance due diligence require specialist advisers
- No representations are made as to the completeness or accuracy of the gap analysis
- This review does not constitute a legal opinion and should not be relied upon as such
- This should not be used as evidence of due diligence compliance under the laws of England and Wales
Phase 5: Present to User
After generating the report:
- Display the Due Diligence Readiness Scorecard prominently with the overall score and grade
- Highlight the top 3 most critical gaps with one-line plain English explanations of why they matter
- State how many items are provided, missing, and incomplete across all categories
- Identify the number of red flags and their severity
- Show the full report
- Offer: "Would you like me to review a specific contract for change of control provisions? Provide the file and run
/legal due-diligence <file>." - Offer: "Would you like me to review the target's AML compliance? Run
/legal aml <file>with the AML policy."
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.