legal-audit
Audit current legal posture — identify gaps in policies, contracts, and compliance
SKILL.mdplugins/legal/skills/legal-audit/SKILL.md
GitHubLegal Audit
Conduct a comprehensive legal audit of "$ARGUMENTS". Inventory existing legal documents, check them against industry standards, and identify gaps requiring remediation.
Note: AI-generated legal content does not constitute legal advice. Consult a qualified attorney.
Arguments. $ARGUMENTS may contain the project name and optional flags. Take the first token as <project> and treat --skip-checks as a flag; never include flags in file paths. All paths below use <project>. If --skip-checks is present, skip the prerequisite check and, before writing any artifact, append one line to .metapowers/legal/<project>/skip-log.md: - <ISO timestamp> — <skill name> skipped prerequisite check for <artifact file> — reason: <reason or "none given">.
Prerequisites
None — this is a Phase 0 Assess skill.
Process
Inventory existing legal documents:
- Contracts (customer, vendor, partner, employment)
- Policies (privacy policy, acceptable use, data retention, security)
- Terms of service and end-user license agreements
- Compliance documentation and certifications
- Corporate governance documents
Check each against industry standards:
- Read
${CLAUDE_PLUGIN_ROOT}/shared/compliance-checklist.mdfor reference - Compare document coverage against standard legal frameworks
- Verify documents are current (not expired or outdated)
- Check for internal consistency across documents
- Read
Identify gaps:
- Missing policies that should exist for the business type
- Expired or outdated contracts requiring renewal
- Non-compliant documents that fail to meet regulatory requirements
- Incomplete coverage areas (e.g., no data processing agreements)
Categorize gaps by severity and urgency:
- Critical — immediate legal exposure or regulatory violation
- High — significant risk if not addressed within 30 days
- Medium — should be addressed within 90 days
- Low — improvement opportunity, no immediate risk
Prioritize remediation:
- Rank gaps by severity x urgency
- Estimate effort for each remediation item
- Identify quick wins vs. long-term projects
- Recommend sequencing of remediation work
Write the artifact — append to
.metapowers/legal/<project>/00-assess.mdunder a## Legal Auditsection. Create the file with a# Assess — <project>heading if it does not exist; if a## Legal Auditsection already exists, replace only that section. The section contains:- Document Inventory — all existing legal documents cataloged
- Standards Comparison — how each document measures against benchmarks
- Gap Analysis — missing, expired, or non-compliant items
- Severity Matrix — gaps categorized by severity and urgency
- Remediation Priorities — ordered action items with effort estimates
Output
The legal audit appended to .metapowers/legal/<project>/00-assess.md. Present a summary to the user highlighting:
- Total documents inventoried vs. gaps found
- Critical and high-severity items requiring immediate attention
- Top 3 recommended remediation actions