Compliance legal

From ashermahonin/agentic-skills · View interactive version

Compliance legal is an AI agent skill from the GitHub repository ashermahonin/agentic-skills. Determine which legal, regulatory, contractual, accessibility, platform, and open-source obligations apply to a product. Use when entering a market, processing regulated data, adding payments, children, healthcare, AI, new vendors, or a distribution platform. Produce an evidence-based applicability

How to use this skill

Skill file

Compliance / Legal

Purpose

Identify the laws, standards, contracts, and platform policies that apply. For each one, record the obligation, current evidence, gap, owner, and effect on release. Mark legal interpretation that still requires qualified counsel.

Scope and evidence

  1. Read references/compliance-frameworks.md.
  2. Pull platform matrix from platform-detector, data flow from data-ml-pipeline, security posture from security-owasp-* and security-secrets.
  3. Identify scope: regions/markets, data subjects (consumer, employee, child, patient, EU resident, California resident, etc.), data categories (PII, health, financial, biometric, location, kids), AI capabilities, payment processing, content moderation, advertising.
  4. Use Context7 MCP for current text and guidance on each framework. Regulatory law changes often; do not rely on training data.

Assessment

  1. Applicability matrix. Per framework: applies (yes/no) + why. Anchor each "yes" to a specific user/data/region/feature.
  2. Per-framework gap analysis. For each "yes", walk the required controls (lawful basis, consent, retention, access, deletion, breach notification, audit trail, vendor management). Mark Pass / Concern / Fail / Out-of-scope with evidence.
  3. Data Processing Register / RoPA. For GDPR-like regimes, list processing activities: purpose, lawful basis, data categories, subjects, retention, recipients, transfers, safeguards.
  4. DPIA / AIPIA. Run a Data Protection Impact Assessment (or AI Impact Assessment) when triggered: large-scale sensitive data, automated decisions, biometric, kids, public-space monitoring, AI Act high-risk categories.
  5. Vendor / sub-processor register. List every third party that touches user data; verify contracts (DPA, SCCs where needed), security posture, breach SLAs.
  6. Open-source license check. Coordinate with cve-zero-day-scanner SBOM. Flag copyleft (AGPL/GPL) in proprietary distributions; flag attribution requirements.
  7. Accessibility law. If selling into the EU (EAA), US public sector (Section 508), Canada (AODA), require accessibility-audit verdict before release.
  8. Store-platform legal. Validate against current App Store / Play / Steam / console legal terms (paid content, IAP, subscriptions, cancellation flow, refunds).
  9. Release-gate verdict. Per framework: Go / Conditional / Hold. Conditional requires named approver and expiry.

Safety rules

Security record

Release criteria

Handoff

Hand off to service-implementation per control gap, to documentation-graph-curator to store register/DPIA in the project vault, and to release-management to integrate the verdict into the go/no-go report.

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.