Compliance Review
Review the document for "$ARGUMENTS" against applicable regulatory frameworks. Check compliance with GDPR, CCPA, SOC2, and other relevant regulations, scoring compliance level and identifying specific gaps.
Note: AI-generated legal content does not constitute legal advice. Consult a qualified attorney.
Prerequisites
Check that .metapowers/legal/$ARGUMENTS/00-assess.md exists. If it does not exist, stop and tell the user:
"Run an Assess skill first (e.g. /legal:risk-assessment $ARGUMENTS) to generate the prerequisite assessment artifact."
If the user passes --skip-checks, bypass this check and log the skip to .metapowers/legal/$ARGUMENTS/skip-log.md with a timestamp and the reason "Prerequisite check skipped for compliance-review".
Process
Read inputs:
- Read
.metapowers/legal/$ARGUMENTS/00-assess.md for risk and jurisdiction context
- Read
plugins/legal/shared/compliance-checklist.md for reference requirements
- Read the document from the source provided by the user
Determine applicable regulations:
- Based on jurisdiction, industry, and data types identified in the assessment
- Prioritize regulations by relevance and enforcement risk
Check GDPR compliance (if applicable):
- Lawful basis — is a lawful basis for processing identified (consent, legitimate interest, contract, etc.)?
- Data processing provisions — are controller/processor roles defined with adequate DPA terms?
- Data subject rights — are rights addressed (access, rectification, erasure, portability, objection)?
- International transfers — are transfer mechanisms in place (SCCs, adequacy decisions, BCRs)?
- Breach notification — are notification obligations defined (72-hour timeline, authority and data subject notification)?
- Data Protection Impact Assessment — is a DPIA referenced or required for high-risk processing?
- Records of processing — are record-keeping obligations addressed?
Check CCPA/CPRA compliance (if applicable):
- Notice at collection — are categories of personal information and purposes disclosed?
- Opt-out rights — is the right to opt out of sale/sharing of personal information addressed?
- Deletion rights — are consumer deletion request procedures defined?
- Non-discrimination — is there a commitment not to discriminate against consumers exercising rights?
- Service provider obligations — are contractual restrictions on use of personal information included?
- Sensitive personal information — are additional protections for sensitive categories addressed?
Check SOC2 compliance (if applicable):
- Security controls — are security measures documented (encryption, access controls, monitoring)?
- Availability commitments — are uptime and recovery commitments defined?
- Incident response — is an incident response plan referenced or required?
- Change management — are change control procedures addressed?
- Vendor management — are sub-processor or subcontractor controls defined?
Check accessibility compliance (if applicable):
- WCAG 2.1 AA compliance commitments
- Accessibility testing obligations
- Remediation timelines for accessibility issues
Score compliance level per regulation:
- Compliant — all material requirements addressed with adequate provisions
- Partially Compliant — some requirements addressed but with notable gaps
- Non-Compliant — critical requirements missing or inadequately addressed
Identify specific gaps and suggest compliant alternatives:
- For each gap, reference the specific regulatory requirement
- Provide draft language or provisions that would close the gap
- Prioritize gaps by enforcement risk and potential penalty exposure
Write the artifact to .metapowers/legal/$ARGUMENTS/02-review.md with frontmatter:
---
description: Compliance review for $ARGUMENTS
---
Include sections:
- Applicable Regulations — list of regulations checked and rationale for inclusion
- GDPR Assessment — item-by-item compliance check (if applicable)
- CCPA/CPRA Assessment — item-by-item compliance check (if applicable)
- SOC2 Assessment — item-by-item compliance check (if applicable)
- Accessibility Assessment — item-by-item compliance check (if applicable)
- Compliance Scorecard — Compliant/Partially Compliant/Non-Compliant per regulation
- Gap Analysis — specific gaps with regulatory reference and risk level
- Remediation Recommendations — suggested language or provisions per gap
Output
The compliance review written to .metapowers/legal/$ARGUMENTS/02-review.md. Present a summary to the user highlighting:
- Compliance scorecard across all applicable regulations
- Critical gaps (Non-Compliant items) requiring immediate attention
- Number of gaps per regulation and overall compliance posture
- Top 3 remediation priorities
1---2name: compliance-review3description: Review document for regulatory compliance (GDPR, CCPA, SOC2, etc.)4---56# Compliance Review78Review the document for "$ARGUMENTS" against applicable regulatory frameworks. Check compliance with GDPR, CCPA, SOC2, and other relevant regulations, scoring compliance level and identifying specific gaps.910> **Note:** AI-generated legal content does not constitute legal advice. Consult a qualified attorney.1112## Prerequisites1314Check that `.metapowers/legal/$ARGUMENTS/00-assess.md` exists. If it does not exist, stop and tell the user:1516> "Run an Assess skill first (e.g. `/legal:risk-assessment $ARGUMENTS`) to generate the prerequisite assessment artifact."1718If the user passes `--skip-checks`, bypass this check and log the skip to `.metapowers/legal/$ARGUMENTS/skip-log.md` with a timestamp and the reason "Prerequisite check skipped for compliance-review".1920## Process21221. **Read inputs:**23 - Read `.metapowers/legal/$ARGUMENTS/00-assess.md` for risk and jurisdiction context24 - Read `plugins/legal/shared/compliance-checklist.md` for reference requirements25 - Read the document from the source provided by the user26272. **Determine applicable regulations:**28 - Based on jurisdiction, industry, and data types identified in the assessment29 - Prioritize regulations by relevance and enforcement risk30313. **Check GDPR compliance (if applicable):**32 - **Lawful basis** — is a lawful basis for processing identified (consent, legitimate interest, contract, etc.)?33 - **Data processing provisions** — are controller/processor roles defined with adequate DPA terms?34 - **Data subject rights** — are rights addressed (access, rectification, erasure, portability, objection)?35 - **International transfers** — are transfer mechanisms in place (SCCs, adequacy decisions, BCRs)?36 - **Breach notification** — are notification obligations defined (72-hour timeline, authority and data subject notification)?37 - **Data Protection Impact Assessment** — is a DPIA referenced or required for high-risk processing?38 - **Records of processing** — are record-keeping obligations addressed?39404. **Check CCPA/CPRA compliance (if applicable):**41 - **Notice at collection** — are categories of personal information and purposes disclosed?42 - **Opt-out rights** — is the right to opt out of sale/sharing of personal information addressed?43 - **Deletion rights** — are consumer deletion request procedures defined?44 - **Non-discrimination** — is there a commitment not to discriminate against consumers exercising rights?45 - **Service provider obligations** — are contractual restrictions on use of personal information included?46 - **Sensitive personal information** — are additional protections for sensitive categories addressed?47485. **Check SOC2 compliance (if applicable):**49 - **Security controls** — are security measures documented (encryption, access controls, monitoring)?50 - **Availability commitments** — are uptime and recovery commitments defined?51 - **Incident response** — is an incident response plan referenced or required?52 - **Change management** — are change control procedures addressed?53 - **Vendor management** — are sub-processor or subcontractor controls defined?54556. **Check accessibility compliance (if applicable):**56 - WCAG 2.1 AA compliance commitments57 - Accessibility testing obligations58 - Remediation timelines for accessibility issues59607. **Score compliance level per regulation:**61 - **Compliant** — all material requirements addressed with adequate provisions62 - **Partially Compliant** — some requirements addressed but with notable gaps63 - **Non-Compliant** — critical requirements missing or inadequately addressed64658. **Identify specific gaps and suggest compliant alternatives:**66 - For each gap, reference the specific regulatory requirement67 - Provide draft language or provisions that would close the gap68 - Prioritize gaps by enforcement risk and potential penalty exposure69709. **Write the artifact** to `.metapowers/legal/$ARGUMENTS/02-review.md` with frontmatter:7172 ```73 ---74 description: Compliance review for $ARGUMENTS75 ---76 ```7778 Include sections:79 - **Applicable Regulations** — list of regulations checked and rationale for inclusion80 - **GDPR Assessment** — item-by-item compliance check (if applicable)81 - **CCPA/CPRA Assessment** — item-by-item compliance check (if applicable)82 - **SOC2 Assessment** — item-by-item compliance check (if applicable)83 - **Accessibility Assessment** — item-by-item compliance check (if applicable)84 - **Compliance Scorecard** — Compliant/Partially Compliant/Non-Compliant per regulation85 - **Gap Analysis** — specific gaps with regulatory reference and risk level86 - **Remediation Recommendations** — suggested language or provisions per gap8788## Output8990The compliance review written to `.metapowers/legal/$ARGUMENTS/02-review.md`. Present a summary to the user highlighting:91- Compliance scorecard across all applicable regulations92- Critical gaps (Non-Compliant items) requiring immediate attention93- Number of gaps per regulation and overall compliance posture94- Top 3 remediation priorities