arbazkhan971/godmode/skills/comply/SKILL.md
comply
Compliance and governance — GDPR, HIPAA, SOC2, PCI-DSS, audit trails, privacy controls, data retention, license compliance.
- Source repository stars
- 26
- Declared platforms
- 0
- Static risk flags
- 2
- Last source update
- 2026-08-28
- Source checked
- 2026-08-28
Decision brief
What it does: where it fits
Compliance and governance — GDPR, HIPAA, SOC2, PCI-DSS, audit trails, privacy controls, data retention, license compliance.
Not for
- Tasks that require unconfirmed production actions or broad system permissions.
- Environments where the pinned source and install steps cannot be inspected.
Compatibility matrix
Platform support, with evidence labels
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
Inspect first. Install second.
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/arbazkhan971/godmode --skill "skills/comply"Inspect the Agent Skill "comply" from https://github.com/arbazkhan971/godmode/blob/18bfc31d669804856ba232f04cdbd172afbdc379/skills/comply/SKILL.md at commit 18bfc31d669804856ba232f04cdbd172afbdc379. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
What the source asks the agent to do
- 01
Workflow
Determine which regulations and what code is in scope:
Save report as docs/compliance/-compliance-audit.mdCommit: "comply: — ( findings across )"If NON-COMPLIANT: "Critical compliance gaps found. Fix these before launch. Run /godmode:fix to remediate." - 02
Step 1: Define Compliance Scope
Determine which regulations and what code is in scope:
Determine which regulations and what code is in scope: - 03
Step 2: GDPR Compliance Check
If personal data of EU residents is processed:
If personal data of EU residents is processed: - 04
Step 3: HIPAA Compliance Check
If protected health information (PHI) is processed:
If protected health information (PHI) is processed: - 05
Step 4: SOC2 Compliance Check
If operating as a service organization:
If operating as a service organization:
Permission review
Static risk signals and limitations
Runs scripts
The documentation asks the agent to run terminal commands or scripts.
npx license-checker --production --failOn "GPL-3.0;AGPL-3.0"Runs scripts
The documentation asks the agent to run terminal commands or scripts.
git log --oneline --since="30 days" -- docs/compliance/Reads files
The documentation asks the agent to read local files, directories, or repositories.
Scan codebase for data flowsEvidence record
Why each signal appears
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 92/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 26 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Provenance and original SKILL.md
- Repository
- arbazkhan971/godmode
- Skill path
- skills/comply/SKILL.md
- Commit
- 18bfc31d669804856ba232f04cdbd172afbdc379
- License
- MIT
- Collected
- 2026-08-28
- Default branch
- master
View the original SKILL.md
Comply — Compliance & Governance
Activate When
- User invokes
/godmode:comply - User says "are we GDPR compliant?", "audit trail", "privacy review", "compliance check"
- Team builds features handling personal data, health data, or payment data
- Pre-ship check when
/godmode:shipdetects regulated data flows - User needs license compliance audit across dependencies
- Preparing for SOC2 audit or regulatory review
Workflow
Step 1: Define Compliance Scope
Determine which regulations and what code is in scope:
COMPLIANCE SCOPE:
Target: <feature/module/entire project>
Applicable regulations:
- [ ] GDPR (personal data of EU residents)
- [ ] HIPAA (protected health information)
- [ ] SOC2 (service organization controls)
- [ ] PCI-DSS (payment card data)
- [ ] CCPA (California consumer privacy)
- [ ] FERPA (educational records)
- [ ] Other: <specify>
Data classification:
Personal data: <files/modules handling PII>
Sensitive data: <files/modules handling health/financial/auth data>
Public data: <files/modules with non-sensitive data>
Step 2: GDPR Compliance Check
If personal data of EU residents is processed:
Lawful Basis
GDPR — LAWFUL BASIS ASSESSMENT:
| Data Processing Activity | Lawful Basis | Status |
|--|--|--|
| User registration | Consent | COMPLIANT |
| Order processing | Contract | COMPLIANT |
| Marketing emails | Consent | MISSING |
| Analytics tracking | Legitimate int. | REVIEW |
| Fraud detection | Legitimate int. | COMPLIANT |
Data Subject Rights
GDPR — DATA SUBJECT RIGHTS:
| Right | Implemented | Location |
|--|--|--|
| Right to access | YES/NO | <endpoint/UI> |
| Right to rectification | YES/NO | <endpoint/UI> |
| Right to erasure | YES/NO | <endpoint/UI> |
| Right to portability | YES/NO | <endpoint/UI> |
| Right to restrict proc. | YES/NO | <endpoint/UI> |
| Right to object | YES/NO | <endpoint/UI> |
| Automated decision-making | YES/NO/N/A | <endpoint/UI> |
Consent Management
CONSENT IMPLEMENTATION CHECK:
- [ ] Consent is freely given (not bundled with service access)
- [ ] Consent is specific (separate consent per purpose)
- [ ] Consent is informed (clear language, not legalese)
- [ ] Consent is unambiguous (affirmative action, no pre-ticked boxes)
- [ ] Consent is withdrawable (easy opt-out, same effort as opt-in)
- [ ] Consent records stored (who, when, what, version of terms)
- [ ] Under-16 users: parental consent mechanism exists
Step 3: HIPAA Compliance Check
If protected health information (PHI) is processed:
HIPAA — SAFEGUARDS ASSESSMENT:
| Safeguard | Status | Evidence |
ADMINISTRATIVE SAFEGUARDS
| Risk analysis conducted | YES/NO | <ref> |
|--|--|--|
| Workforce access controls | YES/NO | <ref> |
| Security awareness training | YES/NO | <ref> |
| Incident response procedures | YES/NO | <ref> |
| Business associate agreements | YES/NO | <ref> |
PHYSICAL SAFEGUARDS
| Facility access controls | YES/NO | <ref> |
|--|--|--|
| Workstation security | YES/NO | <ref> |
| Device and media controls | YES/NO | <ref> |
Step 4: SOC2 Compliance Check
If operating as a service organization:
SOC2 — TRUST SERVICES CRITERIA:
| Category | Controls | Implemented | Gaps |
|--|--|--|--|
| Security | 12 | <N> | <N> |
| Availability | 8 | <N> | <N> |
| Processing Integr. | 6 | <N> | <N> |
| Confidentiality | 7 | <N> | <N> |
| Privacy | 10 | <N> | <N> |
Key SOC2 Controls:
- [ ] Change management process documented and followed
- [ ] Logical access controls with least privilege
- [ ] Encryption in transit and at rest
- [ ] Monitoring and alerting for security events
- [ ] Incident response plan tested within last 12 months
Step 5: PCI-DSS Compliance Check
If payment card data is processed:
PCI-DSS — REQUIREMENTS CHECK:
| Requirement | Status |
|--|--|
| 1. Network security controls | PASS/FAIL |
| 2. Secure configuration | PASS/FAIL |
| 3. Protect stored account data | PASS/FAIL |
| 4. Encrypt transmission over networks | PASS/FAIL |
| 5. Protect from malicious software | PASS/FAIL |
| 6. Secure systems and software | PASS/FAIL |
| 7. Restrict access by business need | PASS/FAIL |
| 8. Identify users and auth access | PASS/FAIL |
| 9. Restrict physical access | PASS/FAIL/N/A |
| 10. Log and monitor all access | PASS/FAIL |
| 11. Test security regularly | PASS/FAIL |
Step 6: Audit Trail Design & Validation
Verify that all security and compliance events are logged:
AUDIT TRAIL ASSESSMENT:
| Event Category | Logged | Fields |
|--|--|--|
| Authentication | YES/NO | who, when, IP, result |
| Authorization changes | YES/NO | who, what, when, by-whom |
| Data access (read) | YES/NO | who, what, when |
| Data modification | YES/NO | who, what, old, new |
| Data deletion | YES/NO | who, what, when, reason |
| Data export | YES/NO | who, what, format, dest |
| Configuration changes | YES/NO | who, what, old, new |
| System errors | YES/NO | what, when, severity |
| Admin operations | YES/NO | who, what, when |
Step 7: Data Retention & Deletion
Verify data lifecycle management:
DATA RETENTION POLICY:
| Data Category | Retention | Auto-delete | Method |
|--|--|--|--|
| User accounts | Active+2y | YES/NO | <method> |
| Transaction logs | 7 years | YES/NO | <method> |
| Session data | 30 days | YES/NO | <method> |
| Audit logs | 3 years | YES/NO | <method> |
| Analytics data | 1 year | YES/NO | <method> |
| Backup data | 90 days | YES/NO | <method> |
| Temporary files | 24 hours | YES/NO | <method> |
Deletion workflow:
- [ ] Deletion request → verification → execution → confirmation
- [ ] Deletion cascades to all copies (backups, caches, replicas)
- [ ] Deletion is verifiable (can prove data no longer exists)
Step 8: License Compliance
Audit dependencies: MIT/Apache/BSD/ISC = safe. LGPL = review. GPL/AGPL = replace or verify no copyleft trigger. Unlicensed = investigate/replace. Verify NOTICE/LICENSE files included in distribution.
Step 9: Compliance Report
COMPLIANCE AUDIT REPORT
Regulations assessed:
GDPR: <COMPLIANT | PARTIAL | NON-COMPLIANT>
HIPAA: <COMPLIANT | PARTIAL | NON-COMPLIANT | N/A>
SOC2: <COMPLIANT | PARTIAL | NON-COMPLIANT | N/A>
PCI-DSS: <COMPLIANT | PARTIAL | NON-COMPLIANT | N/A>
Findings:
CRITICAL: <N> (must fix before launch)
HIGH: <N> (must fix within 30 days)
MEDIUM: <N> (should fix within 90 days)
LOW: <N> (best practice, not required)
Step 10: Commit and Transition
- Save report as
docs/compliance/<date>-compliance-audit.md - Commit:
"comply: <scope> — <verdict> (<N> findings across <regulations>)" - If NON-COMPLIANT: "Critical compliance gaps found. Fix these before launch. Run
/godmode:fixto remediate." - If COMPLIANT: "Compliance audit passed. Ready for
/godmode:ship."
Key Behaviors
# Run compliance checks
npx license-checker --production --failOn "GPL-3.0;AGPL-3.0"
grep -rn "email\|ssn\|password" src/ --include="*.ts" | head -20
git log --oneline --since="30 days" -- docs/compliance/
IF CRITICAL findings > 0: block launch until resolved. WHEN HIGH findings > 0: remediation plan with < 30 day SLA. IF license scan finds GPL/AGPL in proprietary code: replace immediately.
- Regulation-specific. Reference exact article (GDPR Art. 17).
- Evidence from code. File paths, line numbers, functions.
- Risk-rated. CRITICAL=penalty, HIGH=audit, MEDIUM=gap, LOW=improve.
- Remediation is concrete. Schema, endpoints, UI flow.
- Privacy by design. Minimize collection, limit sharing.
- License compliance non-negotiable. Single GPL = legal risk.
- Audit trails are infrastructure. Tamper-resistant logging.
Flags & Options
| Flag | Description |
|---|---|
| (none) | Full compliance audit across all applicable regulations |
--gdpr | GDPR compliance check only |
--hipaa | HIPAA compliance check only |
Quality Targets
- Critical controls: >99% passing rate
- High-severity findings: <1 per audit cycle
- Audit log retention: >90 days minimum
HARD RULES
- NEVER STOP until all applicable regulations are assessed and all findings are documented.
- NEVER provide legal advice — identify technical gaps, recommend consulting legal counsel for interpretation.
- EVERY finding MUST reference a specific regulation article (e.g., "GDPR Article 17" not "deletion missing").
- EVERY finding MUST point to actual code — file paths, line numbers, functions. No theoretical assessments.
- git commit BEFORE verify — commit the compliance report, then verify all findings are actionable.
- Automatic revert on regression — if a remediation introduces new compliance gaps, revert immediately.
- TSV logging — log every compliance scan:
timestamp regulation scope critical high medium low verdict - NEVER log PII in audit trails — log user IDs, not names/SSNs/emails.
Explicit Loop Protocol
FOR each applicable regulation:
1. Scan codebase for data flows
2. Check controls against requirements
3. For each NON_COMPLIANT finding: record with evidence
4. STOP when all regulations assessed
Auto-Detection
On activation, automatically detect compliance scope:
AUTO-DETECT:
1. Data types handled:
grep -r "email\|password\|ssn\|credit.card\|phone\|address\|dob\|birth" src/ --include="*.ts" --include="*.py" -l
2>/dev/null
# Determines: PII present -> GDPR/CCPA scope
2. Health data:
grep -ri "patient\|diagnosis\|medical\|health\|phi\|hipaa" src/ -l 2>/dev/null
# Determines: PHI present -> HIPAA scope
3. Payment data:
grep -ri "stripe\|payment\|credit.card\|pan\|cvv\|billing" src/ -l 2>/dev/null
# Determines: Payment data -> PCI-DSS scope
4. Existing compliance artifacts:
Output Format
Every comply invocation must produce a structured report:
COMPLIANCE RESULT
Regulations assessed: <list>
GDPR: <COMPLIANT | PARTIAL | NON-COMPLIANT | N/A>
HIPAA: <COMPLIANT | PARTIAL | NON-COMPLIANT | N/A>
SOC2: <COMPLIANT | PARTIAL | NON-COMPLIANT | N/A>
PCI-DSS: <COMPLIANT | PARTIAL | NON-COMPLIANT | N/A>
Findings: <N>C <N>H <N>M <N>L
Audit trail: <COMPLETE | PARTIAL | MISSING>
License risk: <CLEAR | REVIEW NEEDED | RISK>
Verdict: <COMPLIANT | CONDITIONAL | NON-COMPLIANT>
Keep/Discard
KEEP if: improvement verified. DISCARD if: regression or no change. Revert discards immediately.
Stop Conditions
Stop when: target reached, budget exhausted, or >5 consecutive discards.
Frequently asked questions
What to verify before installation and use
What does the comply source document cover?
Compliance and governance — GDPR, HIPAA, SOC2, PCI-DSS, audit trails, privacy controls, data retention, license compliance.
How do I install comply?
The source record exposes this install command: npx skills add https://github.com/arbazkhan971/godmode --skill "skills/comply". Inspect the command and pinned source before running it.
Which permission-related actions were detected?
Static rules flagged exec-script, read-files in the source; the page lists the matching lines and excerpts.
Alternatives
Compare before choosing
prowler-cloud/prowler
postgresql-indexing
PostgreSQL indexing best practices for Prowler: index design, partial indexes, partitioned table indexing, EXPLAIN ANALYZE validation, concurrent operations, monitoring, and maintenance. Trigger: When creating or modifying PostgreSQL indexes, analyzing query performance with EXPLAIN, debugging slow queries, reviewing index usage statistics, reindexing, dropping indexes, or working with partitioned table indexes. Also trigger when discussing index strategies, partial indexes, or index maintenance
brucesongs/kali-claw
insecure-design
Insecure Design (OWASP A06:2025) focuses on security flaws in system architecture and design phases, rather than code implementation-level bugs.
NintendaDev/unikit-ai
unikit-docs
Generate and maintain the project's TECHNICAL documentation from its codebase — scans the project structure, tech stack, and module boundaries, then writes a lean README landing page plus detailed topic pages (architecture, modules, setup, build, APIs), only the docs that are relevant. Use whenever the user wants to create, update, or validate documentation of the CODE or the project itself, e.g. "generate documentation", "create docs", "write the README", "update the project docs", "document th
Aperivue/medsci-skills
make-figures
Generate publication-ready figures and visual abstracts for medical research papers. Supports ROC curves, forest plots, CONSORT/STARD/PRISMA flow diagrams, calibration plots, Kaplan-Meier curves, Bland-Altman plots, confusion matrices, pipeline diagrams, and journal-specific visual/graphical abstracts (python-pptx template-based).