wicked-garden-platform-compliance
Skill9 starsChanged 7 months agoMITView on GitHub
Use when checking code or architecture against a regulatory framework (SOC2, HIPAA, GDPR, PCI) or translating a policy document into actionable controls — detects violations and provides prioritized remediation guidance. NOT for gathering audit evidence artifacts (use platform/audit).
- 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-compliance-officerSkill
- 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
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
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 …
- Very specific: line 49
Read refs/compliance.md (relative to this skill's base directory) — data-classification scan commands, per-framework control matrix …
≈ “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 Skill
Analyze code and systems for regulatory compliance.
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.
When to Use
- Code handles sensitive data (PII, PHI, payment data)
- Pre-deployment compliance verification
- User mentions regulatory frameworks
- User says "is this compliant", "compliance check", "regulatory requirements"
Supported Frameworks
| Framework | Focus | Key Requirements |
| SOC2 | Security, Availability | Access controls, encryption, logging, monitoring |
| HIPAA | Protected Health Info | PHI safeguards, access logs, encryption, BAA |
| GDPR | Personal Data | Consent, minimization, deletion, DPO |
| PCI DSS | Payment Card Data | Encryption, network segmentation, access control |
See refs/frameworks.md for detailed framework requirements.
Run it inline (no dispatch)
Invoked as <framework> [path]:
- Parse args:
<framework> [path](framework =soc2|hipaa|gdpr|pci). - Read
refs/compliance.md(relative to this skill's base directory) — data-classification scan commands, per-framework control matrix (SOC2/HIPAA/GDPR/PCI), gap checklist, bus emit, output format. - For detailed per-framework checklists:
Read
refs/checklists.md. For framework-specific patterns:refs/frameworks.md. - Apply the rubric directly: scan for sensitive data, verify each control, classify gaps P0/P1/P2, emit the bus event, and produce the compliance assessment report.
Analysis Process
1. Identify Sensitive Data
Scan for:
- PII: Names, emails, SSN, addresses
- PHI: Medical records, health data
- Payment: Credit cards, bank accounts
- Credentials: Passwords, API keys
2. Verify Controls
Access Control:
- Authentication required
- Authorization checks (RBAC)
- Least privilege
Data Protection:
- Encryption at rest (AES-256)
- Encryption in transit (TLS 1.2+)
- Secure key management
Logging & Monitoring:
- Access logs
- Audit trails
- Security events
- Log retention
Data Lifecycle:
- Consent mechanisms (GDPR)
- Retention policies
- Secure deletion
- Data minimization
3. Detect Violations
Common issues:
- PII/PHI in logs or errors
- Hardcoded secrets
- Missing encryption
- Insufficient access controls
- Missing audit trails
See refs/checklists.md for detailed verification checklists.
4. Generate Report
Output:
- Status: COMPLIANT / NEEDS ATTENTION / NON-COMPLIANT
- Findings: Violations by priority (P0, P1, P2)
- Evidence: Code references
- Remediation: Required fixes
Integration
With wicked-crew
Auto-triggered at phase gates
With the harness's task list
Append [compliance] {framework}: {status} to the task 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.
With the memory layer (wicked-estate)
Hand-off — open the wicked-garden-mem skill and run its recall action with compliance {framework} as the query; on Claude Code this is the Skill tool, on any other seat open the named skill from your catalog and carry it out inline, then continue here.
With the platform domain skill
For an ad hoc vulnerability scan of the same target, run the security
action of skills/platform/SKILL.md (real scanners + triage).
Output Format
## Compliance Analysis: {Framework}
**Target**: {scope}
**Status**: {COMPLIANT|NEEDS ATTENTION|NON-COMPLIANT}
**Framework**: {SOC2|HIPAA|GDPR|PCI}
### Critical (P0)
- {violation} - {file}:{line}
Remediation: {fix}
### High Priority (P1)
- {gap} - {file}:{line}
Recommendation: {guidance}
### Medium Priority (P2)
- {improvement} - {suggestion}
### Controls Verified
- [x] Encryption at rest
- [ ] Data retention policy
### Next Steps
{Recommended actions}External Integration Discovery
Compliance checking can leverage available integrations by capability:
| Capability | Discovery Patterns | Provides |
| Security scanning | snyk, semgrep, sast | Vulnerability detection |
| Secrets | vault, secrets | Credential management audit |
| SBOM | trivy, sbom, cyclonedx | Supply chain compliance |
Discover available integrations via capability detection. When none are available, fall back to manual analysis against the control checklist above.
Quality Standards
Good analysis:
- Specific code references
- Clear violation descriptions
- Actionable remediation
- Prioritized by risk
Bad analysis:
- Generic checklists
- No code evidence
- Vague recommendations
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.

