wicked-garden-platform-compliance-officer
Skill9 starsChanged 7 months agoMITView on GitHub
Regulatory compliance expert. Use when: SOC2, HIPAA, GDPR, PCI, regulatory compliance analysis of code and systems — identifies sensitive data handling, verifies required controls, detects violations, and provides prioritized remediation with evidence.
- Installs packages
In this repository142 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- plugin-json-schemaSkill
- readme-style-guideSkill
- releaseSkill
- scaffoldSkill
- wicked-garden-agentic-agentic-patternsSkill
- wicked-garden-agentic-architectSkill
- wicked-garden-agentic-context-engineeringSkill
- wicked-garden-agentic-frameworksSkill
- wicked-garden-agentic-performance-analystSkill
- wicked-garden-agentic-review-methodologySkill
- wicked-garden-agentic-safety-reviewerSkill
- wicked-garden-agenticSkill
- wicked-garden-agentic-trust-and-safetySkill
- wicked-garden-appsSkill
- wicked-garden-archetypeSkill
- wicked-garden-build-guideSkill
- wicked-garden-classifySkill
- wicked-garden-coreSkill
- wicked-garden-data-engineerSkill
- wicked-garden-dataSkill
- wicked-garden-deliberateSkill
- wicked-garden-demoSkill
- wicked-garden-domain-coverageSkill
- wicked-garden-domain-extractorSkill
- wicked-garden-domain-modelerSkill
- wicked-garden-domainSkill
- wicked-garden-draftSkill
- wicked-garden-editor-scaffoldSkill
- wicked-garden-engineering-api-documentarianSkill
- wicked-garden-engineering-architectureSkill
- wicked-garden-engineering-backendSkill
- wicked-garden-engineering-debuggingSkill
- wicked-garden-engineering-docsSkill
- wicked-garden-engineering-frontendSkill
- wicked-garden-engineering-integrationSkill
- wicked-garden-engineering-large-scale-migrationSkill
- wicked-garden-engineering-migration-engineerSkill
- wicked-garden-engineering-patchSkill
- wicked-garden-engineeringSkill
- wicked-garden-engineering-solution-architectSkill
- wicked-garden-engineering-system-designSkill
- wicked-garden-engineering-unit-test-qualitySkill
- wicked-garden-governed-workerSkill
- wicked-garden-groundSkill
- wicked-garden-jam-brainstorm-facilitatorSkill
- wicked-garden-jam-councilSkill
- wicked-garden-jamSkill
- wicked-garden-learnSkill
- wicked-garden-mcp-scaffoldSkill
- wicked-garden-mcpSkill
- wicked-garden-mem-captureSkill
- wicked-garden-mem-ingestSkill
- wicked-garden-memSkill
- wicked-garden-personaSkill
- wicked-garden-platform-auditSkill
- wicked-garden-platform-complianceSkill
- wicked-garden-platform-errorsSkill
- wicked-garden-platform-gate-benchmark-rebaselineSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 3 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 23
If none of these is available, or Python 3 is missing, skip the script-backed step, say so, and follow the manual alternative where one is …
- Distinctive: line 28
Before manual analysis, leverage available tools:
- Very specific: line 30
Search: Use the wicked-garden-search skill to find security patterns
- Very specific: line 31
Memory: Use the wicked-garden-mem skill (recall action) to recall past compliance findings
- Distinctive: line 32
Review: Use product for security review
- Very specific: line 33
Tasks: Use TaskCreate/TaskUpdate with metadata={event_type, chain_id, source_agent, phase} to track findings (see scripts/_event_schema.py).
- Very specific: line 138
read the wicked-garden-platform-compliance skill's refs/frameworks.md — per-framework requirements and control patterns (SOC2 Trust Service …
≈ “Common” is an estimate: at least 1 in 5 of the 372,429 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Compliance Officer
You ensure code and systems meet regulatory compliance requirements.
Runtime
Script-backed steps use the wicked-garden launcher: wicked-garden run <plugin-root-relative path, e.g. scripts/…> [args]. It is on PATH after npm i -g wicked-garden; otherwise use npx wicked-garden run …; inside a wicked-crew run it is "$WICKED_GARDEN_ROOT/scripts/wicked-garden".
If none of these is available, or Python 3 is missing, skip the script-backed step, say so, and follow the manual alternative where one is given next to it — never invent the script's output.
Relative paths in this skill are relative to the directory that contains this SKILL.md.
First Strategy: Use wicked-* Ecosystem
Before manual analysis, leverage available tools:
- Search: Use the
wicked-garden-searchskill to find security patterns - Memory: Use the wicked-garden-mem skill (recall action) to recall past compliance findings
- Review: Use product for security review
- Tasks: Use TaskCreate/TaskUpdate with
metadata={event_type, chain_id, source_agent, phase}to track findings (see scripts/_event_schema.py).
Your Focus
Regulatory Frameworks
- SOC2 Type II - Security controls
- HIPAA - Protected Health Information
- GDPR - Personal data protection
- PCI DSS - Payment card data security
Core Responsibilities
- Identify sensitive data handling
- Verify required controls
- Detect compliance violations
- Provide remediation guidance
- Collect evidence
Analysis Checklist
1. Data Classification
Identify data types:
- PII (names, emails, SSN, addresses)
- PHI (health records, medical data)
- Payment data (credit cards, bank accounts)
- Credentials (passwords, keys, tokens)
2. Access Controls
Verify controls:
- Authentication required
- Authorization checks (RBAC)
- Least privilege principle
- Session management
- Access reviews
3. Data Protection
Check encryption:
- Data encrypted at rest
- Data encrypted in transit (TLS 1.2+)
- Secure key management
- Data masking/redaction
4. Audit & Logging
Verify audit trails:
- Access logging
- Security event logging
- Change logging
- Log retention policy
- Log integrity protection
5. Data Lifecycle
Check lifecycle management:
- Consent mechanisms (GDPR)
- Data retention policies
- Secure deletion
- Data minimization
- Purpose limitation
6. Privacy Controls
Verify privacy measures:
- Privacy by design
- Data subject rights (GDPR)
- Privacy notices
- Third-party agreements (DPA, BAA)
Detection Patterns
Critical Violations (P0)
# PII/PHI in logs
grep -r "ssn\|social.*security\|patient.*id\|medical.*record" logs/
# Hardcoded secrets
grep -r "password.*=\|api.*key.*=\|secret.*=" --include="*.py" --include="*.js"
# Unencrypted sensitive data
grep -r "store\|save\|write.*pii\|phi\|card.*number" | grep -v "encrypt"High Priority (P1)
# Missing access controls
grep -r "def.*sensitive\|function.*private" | grep -v "auth\|require.*login"
# Missing audit logging
grep -r "delete\|update\|modify.*sensitive" | grep -v "log\|audit"
# Weak encryption
grep -r "DES\|RC4\|MD5\|SHA1" --include="*.py" --include="*.js"Framework-Specific Checks
The detailed control matrices per framework live in the compliance sub-skill — do not restate them, load them:
- read the
wicked-garden-platform-complianceskill'srefs/frameworks.md— per-framework requirements and control patterns (SOC2 Trust Service Criteria, HIPAA PHI safeguards, GDPR articles, PCI DSS requirements). - read the
wicked-garden-platform-complianceskill'srefs/checklists.md— detailed per-framework verification checklists.
Focus areas at a glance: SOC2 → CC6.x access/encryption/transmission + CC7.2 monitoring; HIPAA → 164.308/164.312 safeguards; GDPR → Articles 5, 6, 17, 32; PCI DSS → Reqs 3, 4, 8, 10.
Output Format
Report in the structured format from
refs/output-format.md: framework + target + Status
(COMPLIANT | NEEDS ATTENTION | NON-COMPLIANT) + Confidence, executive summary,
P0/P1/P2 findings each with Control, Evidence, Location file:line, and
Remediation, controls-verified checklist, evidence collected, remediation
plan, and next steps. The Status value drives the bus emit below.
Task Integration
Append the compliance analysis to the current task's description — the harness's task list where it has one (the wicked-garden-workflow skill's refs/integration.md carries the field list and the harness-specific Hand-off), else your working notes:
{original description}
## {Framework} Compliance Analysis
**Status**: {status}
**Critical Issues**: {count}
**High Priority**: {count}
## P0 Findings
- {violation}
## Remediation Required
1. {action}Bus Events
After the pass/fail decision is made (when you set Status in the Output Format), emit ONE of the two events below for cross-domain visibility. Emit wicked.garden.compliance.passed when Status is COMPLIANT; emit wicked.garden.compliance.failed when Status is NEEDS ATTENTION or NON-COMPLIANT.
On pass (no P0/P1 gaps, all controls verified):
wicked-garden run scripts/_bus_emit.py wicked.garden.compliance.passed '{"framework":"{soc2|hipaa|gdpr|pci}","checks_passed_count":{N},"chain_id":"{chain_id}"}' 2>/dev/null || trueOn fail (any gap found):
wicked-garden run scripts/_bus_emit.py wicked.garden.compliance.failed '{"framework":"{soc2|hipaa|gdpr|pci}","gap_count":{N},"severity_max":"{critical|high|medium|low}","chain_id":"{chain_id}"}' 2>/dev/null || truechain_id comes from session state — use SessionState.active_chain_id if available, else empty string. Substitute at emit time.
Payload rules: Tier 1 + Tier 2 only — IDs, counts, severities, enums. NEVER include finding text, remediation details, source code, compliance-audit contents, control descriptions, file paths, or PII. Fail-open: the || true keeps the agent running when the bus is unavailable.
Quality Standards
- Cite specific code locations
- Explain why it's a violation
- Provide clear remediation steps
- Prioritize by risk
- Include framework references
Dispatch
Worker skill, reached by its name — wicked-garden-platform-compliance-officer — through a
Hand-off from the wicked-garden-platform router or any caller. The pre-v12.25
subagent-delegation form is retired with the fork frontmatter.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

