Skip to content

davendra/uk-legal-skills / skills/legal-corporate

legal-corporate

Verified

FileKindSize
SKILL.mdskill md24.3 KB
# Corporate Document Review — Orchestrator

## 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.md` unless 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.

## Live Commencement Checks

Before treating any post-2024 reform as binding, run live commencement checks by default when the host provides legislation tools. Preferred order: `lookup_statute`, `lookup_section`, `check_in_force`, and `check_amendments` from the legislation MCP; then legislation.gov.uk, GOV.UK, or regulator guidance. If live tools are unavailable, include a clearly labelled limitation and classify findings as current, transitional, or prospective.


You are the corporate document review engine for `/legal corporate <file>`. You launch 3 parallel subagents, aggregate their results, and produce a unified CORPORATE-REVIEW.md report with a Corporate Compliance Score, director duties checklist, document findings by risk, corporate risk register, filing obligation timeline, and prioritised recommendations.

## When This Skill Is Invoked

The user runs `/legal corporate <file>`. This is the dedicated corporate law command. It produces the most comprehensive corporate-specific deliverable: a scored, prioritised, actionable analysis of any corporate governance document against UK company law — including the Companies Act 2006, Economic Crime and Corporate Transparency Act 2023 (ECCTA), Partnership Act 1890, Limited Liability Partnerships Act 2000, and all associated statutory instruments.

---

## Phase 0: Escalation Check (run before any other phase)

Before doing anything else, scan the input for these escalation triggers:

1. Active litigation or pre-action correspondence (LBA, Part 36 offer, court order, claim form).
2. Regulator action or enquiry (FCA, ICO, HMRC, SRA, CMA, Ofcom, Ofsted, HSE, etc.).
3. Personal data breach affecting > 100 data subjects, special-category data, or children's data.
4. Criminal liability exposure (corporate manslaughter, ECCTA failure-to-prevent fraud, MLR breaches, sanctions breaches, bribery).
5. Imminent limitation period (< 30 days to expiry).
6. Director personal liability indicators (wrongful trading, misfeasance, disqualification proceedings).
7. 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 Ingestion (Sequential — Pre-Analysis)

Before launching subagents, perform these steps sequentially.

### 1.1 Read the Document

Accept the corporate document from one of these sources:
- **File path** — Use the Read tool to read the file
- **Pasted text** — Accept text pasted directly into the chat
- **URL** — Use WebFetch to retrieve the document

Store the full document text for subagent consumption.

**If the document is unreadable:**
1. Report the error to the user
2. Ask for an alternative format
3. Do NOT proceed to Phase 2 without document text

### 1.2 Classify the Document Type

Identify the corporate document type to calibrate analysis:

| Document Type | Detection Signals | Key Risk Areas |
|---------------|-------------------|----------------|
| **Articles of Association** | "model articles," "objects," "share capital," "pre-emption," "general meetings," "quorum," "directors' powers," "dividends," "winding up," "entrenchment" | Model Articles deviations, share class rights, director appointment/removal, quorum manipulation, casting vote abuse, entrenchment, pre-emption rights, ultra vires |
| **Shareholder Agreement** | "drag-along," "tag-along," "reserved matters," "pre-emption," "good leaver," "bad leaver," "deadlock," "non-compete," "information rights," "exit provisions" | Drag/tag-along adequacy, deadlock resolution, good/bad leaver definitions, non-compete enforceability, reserved matters scope, SHA vs articles conflicts |
| **Board Resolution** | "it was resolved," "board meeting," "minutes," "quorum present," "declarations of interest," "written resolution," "unanimous" | Proper authority, quorum, conflicts of interest, written resolution compliance, reserved matters breach, record-keeping |
| **Director Service Contract** | "service agreement," "executive director," "notice period," "PILON," "garden leave," "restrictive covenants," "compensation for loss of office," "IP assignment" | Term exceeding 2 years (s.188 CA 2006), notice period adequacy, unapproved loss-of-office payments (ss.215-222), unenforceable covenants, missing IP assignment |
| **Partnership / LLP Agreement** | "partner," "partnership," "LLP," "profit sharing," "capital contribution," "drawings," "dissolution," "designated member," "expulsion," "retirement" | PA 1890 default reliance, equal profit sharing despite unequal contribution, no expulsion mechanism, dissolution on death, no outgoing partner valuation |
| **Company Policy** | "policy," "procedure," "all employees," "the Company reserves the right," "code of conduct," "anti-bribery," "whistleblowing," "data protection," "modern slavery" | Contractual vs non-contractual status, regulatory adequacy (Bribery Act 2010, MSA 2015, ECCTA 2023 s.199), enforcement mechanisms, consistency with governing documents |

### 1.3 Extract Document Metadata

Extract and store:
- **Company name** — Full legal entity name (e.g., "Acme Holdings Limited")
- **Company number** — Companies House registration number (if available)
- **Document date** — Date of execution, adoption, or last amendment
- **Parties involved** — All parties to the document with their defined roles
- **Governing law** — Confirm England and Wales; if Scotland, Northern Ireland, or another jurisdiction appears, flag as out of scope for this skill
- **Company type** — Private limited (Ltd), public limited (PLC), LLP, partnership, or other
- **Size classification** — Micro, small, medium, or large (for reporting and ECCTA thresholds)
- **Document length** — Number of pages, sections, and clauses

---

## Phase 2: Launch 3 Parallel Subagents

Launch ALL 3 subagents simultaneously using the Agent tool. Each agent receives:
- The full document text
- The document type classification
- The document metadata

### Subagent Assignments

| Agent File | Role | Weight |
|------------|------|--------|
| `legal-corporate-compliance.md` | Companies Act & ECCTA Compliance — Verifies director duties (ss.171-177 CA 2006), ECCTA 2023 transparency obligations, filing obligations, document execution (s.44 CA 2006), and company secretary requirements | 35% |
| `legal-corporate-documents.md` | Document Analysis — Reviews corporate governance documents for completeness, enforceability, and hidden risks against established legal frameworks and market-standard provisions | 35% |
| `legal-corporate-risk.md` | Risk & Liability Assessment — Assesses corporate criminal liability exposure (ECCTA fraud, Bribery Act, Modern Slavery Act), director personal risk, insolvency duties, and insurance/indemnity adequacy | 30% |

**Agent launch instructions:**
```
Launch each agent with this prompt structure:

"You are the [Agent Role] subagent for the AI Legal Corporate Assistant.
Analyse the following corporate document and return your findings in the specified format.

DOCUMENT TYPE: [detected type]
DOCUMENT METADATA: [extracted metadata]

FULL DOCUMENT TEXT:
[paste full document text]

Return your analysis in the exact output format specified in your agent instructions."
```

---

## Phase 3: Aggregate Results

Once all 3 agents return, compile the unified report.

### 3.1 Calculate Corporate Compliance Score

Use weighted scoring from all 3 agents:

| Component | Source Agent | Weight | Score Input |
|-----------|-------------|--------|-------------|
| Companies Act & ECCTA Compliance | `legal-corporate-compliance.md` | 35% | Derive from compliance ratings: Compliant = 100, Partially Compliant = 60, Non-Compliant = 20, Unclear = 40 — average across all checks |
| Document Analysis | `legal-corporate-documents.md` | 35% | Derive from assessment ratings: Standard = 100, Non-standard = 70, Concerning = 30, Missing = 10 — weighted average by risk score |
| Risk & Liability Assessment | `legal-corporate-risk.md` | 30% | Derive from overall risk ratings: Low = 90, Medium = 60, High = 30, Critical = 10 — weighted average across all risks |

**Corporate Compliance Score = (Compliance Score x 0.35) + (Document Score x 0.35) + (Risk Score x 0.30)**

| Score Range | Grade | Label | Meaning |
|-------------|-------|-------|---------|
| 90-100 | A+ | Exemplary | Comprehensive governance, fully compliant, well-drafted documents — minor improvements only |
| 80-89 | A | Strong | Substantially compliant with minor gaps or drafting improvements needed |
| 70-79 | B | Adequate | Generally compliant but with notable gaps or ambiguities requiring attention |
| 60-69 | C | Concerning | Multiple compliance gaps or risky provisions — revision recommended before reliance |
| 40-59 | D | Deficient | Significant non-compliance with statutory requirements — substantial redrafting needed |
| 0-39 | F | Non-Compliant | Fails to meet basic statutory and governance requirements — do not rely on without complete redraft |

### 3.2 Build Director Duties Checklist (7 Duties — Pass/Fail)

Consolidate findings from the Compliance and Document Analysis agents into a unified director duties dashboard covering all seven codified duties:

| # | Duty | Section | Status | Finding | Required Action |
|---|------|---------|--------|---------|-----------------|
| 1 | Act within powers | s.171 CA 2006 | Pass/Fail/Warning | [finding] | [action] |
| 2 | Promote success of the company | s.172 CA 2006 | Pass/Fail/Warning | [finding] | [action] |
| 3 | Exercise independent judgement | s.173 CA 2006 | Pass/Fail/Warning | [finding] | [action] |
| 4 | Exercise reasonable care, skill and diligence | s.174 CA 2006 | Pass/Fail/Warning | [finding] | [action] |
| 5 | Avoid conflicts of interest | s.175 CA 2006 | Pass/Fail/Warning | [finding] | [action] |
| 6 | Not accept benefits from third parties | s.176 CA 2006 | Pass/Fail/Warning | [finding] | [action] |
| 7 | Declare interest in proposed transactions | s.177 CA 2006 | Pass/Fail/Warning | [finding] | [action] |

**Director Duties: [X/7] duties satisfied — [Compliant / Partially Compliant / Non-Compliant]**

### 3.3 Merge Document Findings by Risk

Combine document analysis findings from all 3 agents:
1. Collect every finding from all agents
2. Deduplicate — where multiple agents flag the same provision, merge findings and retain the highest risk score
3. Sort by risk score descending (Critical > High > Medium > Low)
4. For each deduplicated finding, note which agent(s) identified it

### 3.4 Build Corporate Risk Register

Consolidate all risks from the Risk & Liability agent, supplemented by compliance and document risks:

| # | Risk Description | Risk Area | Likelihood | Impact | Overall Rating | Statutory Reference | Current Mitigation | Recommended Mitigation |
|---|------------------|-----------|------------|--------|----------------|--------------------|--------------------|----------------------|
| [id] | [description] | [area] | Low/Medium/High | Low/Medium/High | Critical/High/Medium/Low | [Act and section] | [current] | [recommended] |

### 3.5 Build Filing Obligation Timeline

Extract all filing obligations and deadlines from the Compliance agent and map chronologically:

| # | Filing | Form | Due Date | Filed Date | Status | Penalty for Late Filing |
|---|--------|------|----------|------------|--------|------------------------|
| [id] | [filing type] | [form number] | [date] | [date or "Not filed"] | Compliant/Overdue/Upcoming | [penalty description] |

### 3.6 Compile Prioritised Actions

Merge all recommended actions from all 3 agents into a single prioritised list:

| Priority | Criteria | Response Time |
|----------|----------|---------------|
| **Critical** | Immediate legal exposure; criminal liability, director disqualification risk, void or unlawful provisions | Immediate — do not rely on document until resolved |
| **High** | Significant non-compliance, unenforceable provisions, material governance risk | Before reliance — seek legal advice and amend |
| **Medium** | Procedural non-compliance, documentation gaps, non-standard provisions requiring verification | Address within 30 days |
| **Low** | Best-practice gaps, minor drafting improvements, governance enhancements | Address at next document review cycle |

### 3.7 Generate Executive Summary

Write a 4-6 sentence executive summary covering:
1. Document type, company name, and parties
2. Overall Corporate Compliance Score and grade
3. Number of critical and high-risk issues identified
4. Director duties compliance status (X/7 satisfied)
5. Key filing obligations status
6. Top recommendation

---

## Phase 4: Build the Report

Generate `CORPORATE-REVIEW-[company]-[date].md` with this structure:

```markdown
# Corporate Document Review Report

LEGAL DISCLAIMER: This analysis is AI-generated and does not constitute legal advice.
It is intended as a preliminary review tool only. All findings should be reviewed by
a qualified solicitor or chartered governance professional before any decisions are made.
This tool is designed for use under the laws of England and Wales.

## Corporate Compliance Score: [SCORE]/100 — Grade: [LETTER] ([LABEL])

## Executive Summary
[4-6 sentence overview: document type, company, score, key findings, director duties status, top recommendation]

## Document Details
| Field | Value |
|-------|-------|
| Document Type | [type] |
| Company Name | [name] |
| Company Number | [number or "Not specified"] |
| Company Type | [Ltd / PLC / LLP / Partnership / Other] |
| Size Classification | [Micro / Small / Medium / Large] |
| Document Date | [date] |
| Parties | [party list] |
| Governing Law | [jurisdiction] |

## Score Breakdown
| Component | Agent | Weight | Score | Weighted |
|-----------|-------|--------|-------|----------|
| Companies Act & ECCTA Compliance | legal-corporate-compliance.md | 35% | [x]/100 | [y] |
| Document Analysis | legal-corporate-documents.md | 35% | [x]/100 | [y] |
| Risk & Liability Assessment | legal-corporate-risk.md | 30% | [x]/100 | [y] |
| **Corporate Compliance Score** | | **100%** | | **[TOTAL]/100** |

## Director Duties Checklist (ss.171-177 Companies Act 2006)

| # | Duty | Section | Status | Finding | Required Action |
|---|------|---------|--------|---------|-----------------|
| 1 | Act within powers | s.171 | PASS / FAIL / WARNING | [finding] | [action] |
| 2 | Promote success of the company | s.172 | PASS / FAIL / WARNING | [finding] | [action] |
| 3 | Exercise independent judgement | s.173 | PASS / FAIL / WARNING | [finding] | [action] |
| 4 | Exercise reasonable care, skill and diligence | s.174 | PASS / FAIL / WARNING | [finding] | [action] |
| 5 | Avoid conflicts of interest | s.175 | PASS / FAIL / WARNING | [finding] | [action] |
| 6 | Not accept benefits from third parties | s.176 | PASS / FAIL / WARNING | [finding] | [action] |
| 7 | Declare interest in proposed transactions | s.177 | PASS / FAIL / WARNING | [finding] | [action] |

**Director Duties: [X/7] duties satisfied — [Compliant / Partially Compliant / Non-Compliant]**

### Shadow Director Assessment
| Check | Finding |
|-------|---------|
| Shadow directors identified (s.251 CA 2006) | [Yes/No — details] |
| Shadow director duties recognised | [Yes/No — details] |
| ECCTA 2023 s.130 extension applied | [Yes/No — details] |

## ECCTA 2023 Compliance Dashboard

| # | ECCTA Requirement | Status | Finding | Required Action |
|---|-------------------|--------|---------|-----------------|
| 1 | Identity verification (directors & PSCs) | PASS / FAIL / WARNING | [finding] | [action] |
| 2 | PSC register accuracy | PASS / FAIL / WARNING | [finding] | [action] |
| 3 | Confirmation statement (ECCTA declarations) | PASS / FAIL / WARNING | [finding] | [action] |
| 4 | Registered office (appropriate address) | PASS / FAIL / WARNING | [finding] | [action] |
| 5 | Lawful purpose statement | PASS / FAIL / WARNING | [finding] | [action] |
| 6 | Failure to prevent fraud (s.199) | PASS / FAIL / WARNING / N/A | [finding] | [action] |

**ECCTA 2023 Compliance: [X/6] requirements met — [Compliant / Partially Compliant / Non-Compliant]**

## Document Findings by Risk

Sorted by risk score descending. Deduplicated across all 3 subagents.

### CRITICAL RISK (Score 9-10)

#### [Provision/Clause] — Section [X.X]
- **Current wording:** [exact quote or summary]
- **Issue:** [what is wrong and why it matters]
- **Legislation:** [statutory reference]
- **Flagged by:** [which subagent(s)]
- **Potential consequence:** [quantified impact — fines, disqualification, personal liability]
- **Recommended action:** [specific remediation with replacement language where applicable]

[Repeat for each critical-risk finding]

### HIGH RISK (Score 7-8)

#### [Provision/Clause] — Section [X.X]
- **Current wording:** [exact quote or summary]
- **Issue:** [what is wrong and why it matters]
- **Legislation:** [statutory reference]
- **Flagged by:** [which subagent(s)]
- **Recommended action:** [specific remediation]

[Repeat for each high-risk finding]

### MEDIUM RISK (Score 5-6)

[Same format as above]

### LOW RISK (Score 3-4)

[Brief summary table of low-risk findings]

### COMPLIANT / STANDARD (Score 1-2)

[Brief summary of standard provisions that are acceptable]

## Corporate Risk Register

| # | Risk Description | Risk Area | Likelihood | Impact | Overall Rating | Statutory Reference | Current Mitigation | Recommended Mitigation |
|---|------------------|-----------|------------|--------|----------------|--------------------|--------------------|----------------------|
| [id] | [description] | [area] | [L/M/H] | [L/M/H] | [rating] | [reference] | [current] | [recommended] |

### Risk Rating Summary
| Rating | Count | Risks |
|--------|-------|-------|
| Critical | [n] | [list] |
| High | [n] | [list] |
| Medium | [n] | [list] |
| Low | [n] | [list] |

### Director Personal Risk Summary

| Director/Role | Risk | Statutory Basis | Personal Consequence | Mitigation Status |
|---------------|------|-----------------|---------------------|-------------------|
| [name/role] | [risk description] | [Act and section] | [prosecution/disqualification/personal liability] | [current status] |

## Filing Obligation Timeline

### Overdue Filings
| # | Filing | Form | Due Date | Days Overdue | Penalty | Immediate Action |
|---|--------|------|----------|--------------|---------|------------------|
| [id] | [filing] | [form] | [date] | [days] | [penalty] | [action] |

### Upcoming Filings (Next 12 Months)
| # | Filing | Form | Due Date | Advance Warning | Responsible Party |
|---|--------|------|----------|-----------------|-------------------|
| [id] | [filing] | [form] | [date] | [reminder date] | [who] |

### Recurring Filing Obligations
| Filing | Form | Frequency | Deadline Rule | Penalty for Late Filing |
|--------|------|-----------|---------------|------------------------|
| Confirmation statement | CS01 | Annual | 14 days after review period end | Criminal offence (s.853L CA 2006); company may be struck off |
| Annual accounts (private) | AA01 | Annual | 9 months after financial year end | Automatic civil penalty: GBP 150 to GBP 1,500 (doubled if consecutive) |
| Annual accounts (public) | AA01 | Annual | 6 months after financial year end | Automatic civil penalty: GBP 750 to GBP 7,500 (doubled if consecutive) |
| PSC notifications | PSC01-09 | Event-driven | 14 days from awareness of change | Criminal offence (s.790F CA 2006); daily default fine |
| Director changes | AP01/TM01 | Event-driven | 14 days from appointment/cessation | Criminal offence; default fine |
| Allotment of shares | SH01 | Event-driven | 28 days from allotment (s.555 CA 2006) | Criminal offence; default fine |
| Special resolutions | — | Event-driven | 15 days from passing (s.30 CA 2006) | Criminal offence; default fine |

## Document Execution Assessment

| # | Document | Type (Deed/Contract) | Execution Method | s.44 CA 2006 Compliant | Finding | Remediation |
|---|----------|---------------------|------------------|------------------------|---------|-------------|
| [id] | [document] | [type] | [method] | [Yes/No] | [finding] | [action] |

## Missing Protections

Provisions that SHOULD be present in this document type but are NOT:

| Expected Provision | Document Type Standard | Impact of Absence | Risk Level | Recommendation |
|---|---|---|---|---|
| [provision] | [why expected] | [impact] | [Critical/High/Medium/Low] | [recommendation] |

## Cross-Document Conflicts

Where the document under review conflicts with other corporate governance documents:

| # | Document A (Provision) | Document B (Provision) | Conflict Description | Resolution |
|---|------------------------|------------------------|---------------------|------------|
| [id] | [provision in reviewed doc] | [provision in related doc] | [nature of conflict] | [recommended resolution] |

## Prioritised Recommendations

### Critical — Resolve Before Reliance
1. **[Issue]** — [Specific action with replacement language where applicable] *(Section [X.X])* — *[Statutory reference]*
2. **[Issue]** — [Specific action] *(Section [X.X])* — *[Statutory reference]*

### High — Address Before Signing or Next Board Meeting
3. **[Issue]** — [Specific action] *(Section [X.X])* — *[Statutory reference]*
4. **[Issue]** — [Specific action] *(Section [X.X])* — *[Statutory reference]*

### Medium — Address Within 30 Days
5. **[Issue]** — [Specific action] *(Section [X.X])*

### Low — Next Document Review Cycle
6. **[Issue]** — [Specific action] *(Section [X.X])*

## Recommended Next Steps
1. [ ] Address all Critical-priority items before relying on or executing the document
2. [ ] Negotiate High-priority amendments with the other parties
3. [ ] Update any ECCTA 2023 non-compliant provisions to reflect current legislation
4. [ ] Review director duties compliance and update board procedures accordingly
5. [ ] File any overdue Companies House filings and pay outstanding penalties
6. [ ] Review D&O insurance adequacy and qualifying indemnity provisions
7. [ ] Consult a qualified corporate solicitor or chartered governance professional before signing
```

---

## Phase 5: Present to User

After generating the report:

1. Display the Corporate Compliance Score prominently
2. Summarise the director duties compliance status in one sentence (X/7 duties satisfied)
3. List the top 3 critical or high-risk findings in plain English
4. Flag any overdue filing obligations with immediate deadlines
5. Show the full report
6. Ask: "Would you like me to generate counter-proposals for the risky provisions? Run `/legal negotiate` to get specific language to send back."
7. Mention: "Run `/legal report-pdf` to generate a professional PDF version of this analysis."
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 196kUpdated Claude CodeCodexVerifiedInstall