skills/platform/policy/SKILL.md
Policy interpretation and compliance guidance. Translates regulatory requirements into actionable controls, maps policies to code, and provides implementation guidance. Use when: "regulatory policy", "compliance policy", "translate policy to controls", "map regulation to code", "policy implementation guidance"
npx skillsauth add mikeparcewski/wicked-garden policyInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Interpret policies and translate into actionable requirements.
/wicked-garden:platform:policy [--map] [--gap] [--guide]
| Type | Examples | Focus | |------|----------|-------| | Regulatory | GDPR, HIPAA, PCI | Legal requirements | | Industry | ISO 27001, NIST | Best practices | | Corporate | Security, Data policies | Internal rules | | Contractual | SLA, BAA, DPA | Agreement terms |
Extract requirements:
Translate to technical controls:
Policy: "Personal data must be encrypted"
Controls:
See detailed policy-to-control mappings:
Determine scope:
Check what exists:
Find missing:
See refs/checklists-gdpr-hipaa.md, refs/checklists-soc2-pci-impl.md, and refs/checklists-gap-analysis.md for implementation checklists and gap analysis templates.
Recommend:
| Requirement | Current | Gap | Priority | Action | |-------------|---------|-----|----------|--------| | Encrypt PII | DB only | Files missing | P0 | Add file encryption | | Access logs | Basic | Missing details | P1 | Enhance logging | | Retention | None | No policy | P1 | Define policy |
P0 - Critical: Legal violation, must fix immediately P1 - High: Best practice gap, fix soon P2 - Medium: Improvement, plan for next iteration
Create remediation tasks:
TaskCreate(
subject="Implement {control}",
description="Policy: {policy}\nGap: {gap}",
metadata={
"event_type": "task",
"chain_id": "policy.remediation",
"source_agent": "policy-reviewer",
"priority": "{P0|P1|P2}"
}
)
Store interpretations:
/wicked-garden:mem:store "Policy: {name}\nInterpretation: {guidance}"
## Policy Analysis: {Policy Name}
**Framework**: {GDPR|HIPAA|SOC2}
**Scope**: {what applies}
**Intent**: {what it achieves}
### Control Mapping
| Requirement | Control | Implementation |
|-------------|---------|----------------|
| Encrypt data | Technical | AES-256 |
| Access control | Technical | RBAC |
### Gap Analysis
| Gap | Priority | Action |
|-----|----------|--------|
| File encryption | P0 | Add AES-256 |
| Enhanced logging | P1 | Add details |
### Implementation
{Code examples}
### Next Steps
1. Fix P0 gaps
2. Collect evidence
Good analysis:
Bad analysis:
development
--- name: large-scale-migration description: How to execute a LARGE MECHANICAL change across any codebase with LEVERAGE instead of an agent-grind or hand-edits — a cross-cutting migration, refactor, rename, dialect/framework/DB port, library adoption, or bulk transform. The map→transform→gate pattern: a deterministic transform driven by a source-of-truth map, proven by a differential-equivalence gate. Use when the work is "migrate all X to Y", "rename Z everywhere", "port to a new DB/dialect/fra
testing
v11 LLM-based work-shape classifier. Replaces the regex archetype detector with the model's own reasoning. Reads the user's prompt, picks the right archetype(s) from the catalog, identifies signals (blast_radius, novelty, reversibility, etc.), and persists to SessionState so subsequent turns steer correctly. Use when: the prompt_submit hook emitted a `<wg classify-due />` directive, OR explicitly invoked at session start, OR when re-classifying after the user changes scope mid-session.
tools
v11 work-shape archetype runner. When a prompt has been routed to one of the 9 archetypes (triage, explore, specify, decide, ship, review, incident, build, migrate), this skill is the entry point. It picks the right per-archetype playbook from refs/ and executes the phase shape declared in `.claude-plugin/archetypes.json`. Use when: a `<wg archetype="X">` or `<wg archetypes>` system-reminder tag appears, an explicit "let's run the X archetype" request, or when one of the per-archetype slash commands resolves to this skill.
development
Show or set the session intent variable. Intent gates how loud the framework is — simple-edit (silent), feature/research (synthesis directive), rigor (full crew context). Auto-detected on turn 1; this skill overrides explicitly. Sticky for the session. Use when: "set intent", "intent override", "/wicked-garden:intent", "make the framework quiet", "force rigor", "what's my intent".