Purpose & Positioning
Deliver certification-ready compliance assessments and documentation across GDPR, HIPAA, SOC 2, PCI-DSS, and ISO 27001. The skill mirrors skill-forge structure-first rules (SKILL + examples/tests/resources) and prompt-architect clarity (explicit constraints, confidence ceilings).
When to Engage / When to Redirect
- Use when: preparing for audits, mapping controls to evidence, building remediation plans, or running continuous compliance monitoring.
- Redirect when: task is general security triage (route to
security), sandbox/network setup (use sandbox-configurator or network-security-setup), or unauthorized third-party reviews.
Pre-Flight Guardrails
- Operate only with explicit authorization and documented scope.
- Protect PII/PHI with encryption in transit/at rest and least privilege.
- Never fabricate evidence; every claim requires timestamped proof.
- Work in isolated environments; avoid testing on production.
- Respect confidence ceilings: inference/report ≤0.70, research 0.85, observation/definition 0.95.
Prompt Architecture Overlay
- Extract constraints into HARD/SOFT/INFERRED with sources; confirm inferred items.
- Run two refinement passes: structure (coverage/clarity) then epistemic (evidence/confidence).
- Keep outputs in English with explicit confidence ceiling notation.
SOP (Compliance Delivery Loop)
- Scoping
- Identify frameworks in-scope, data types (PII/PHI/PCI), jurisdictions, and system boundaries.
- Confirm objectives (certification, readiness check, remediation plan).
- Control Inventory
- Map requirements to existing controls and owners.
- Capture artifacts to collect (policies, configs, logs, screenshots, pen-test reports).
- Evidence Collection
- Run automated checks (scanner outputs, config exports) plus manual sampling (≥20%).
- Tag artifacts with source, timestamp, environment, and reviewer.
- Gap Analysis
- Rate findings (critical/high/medium/low) with risk rationale and regulatory citation.
- Draft remediation tasks with owners and due dates.
- Validation & COV
- Verify fixes via retest; cross-validate via second method (tool + manual).
- Run adversarial checks for edge cases (multi-tenant data paths, logging gaps).
- Delivery
- Produce an audit-ready packet: control matrix, evidence log, remediation tracker, and executive summary.
- Store outputs under
skills/security/compliance/{project}/{timestamp} with MCP tags (WHO=compliance-{session}, WHY=skill-execution).
Deliverables
- Control/evidence matrix with framework mapping.
- Findings report (severity + proof), remediation backlog, and retest status.
- Audit artifacts bundle (policies, configs, screenshots/logs with hashes).
- Executive summary with residual risk and next steps.
Quality Gates
- Structure-first: SKILL.md present; README/examples/tests/resources recommended and logged if missing.
- Evidence completeness ≥90% for scoped controls; no critical gaps open at delivery.
- Dual validation on critical/high findings; explicit confidence ceiling on every claim.
- MCP logging applied; completion checklist signed (scope, evidence, validation, delivery).
Anti-Patterns to Avoid
- Scanning or testing without authorization.
- Mixing production data into test artifacts.
- Confidence inflation or missing ceilings.
- Unmapped controls (no requirement → control → evidence chain).
Output Format
- Summary of scope and frameworks.
- Constraints table (HARD/SOFT/INFERRED + confirmations).
- Control/evidence highlights and remediation queue.
- Confidence line:
Confidence: X.XX (ceiling: TYPE Y.YY) - reason.
Confidence: 0.72 (ceiling: inference 0.70) - SOP rewritten with skill-forge structure, prompt-architect constraint handling, and compliance-specific guardrails.
1---2name: compliance-23description: Evidence-led regulatory compliance playbook for GDPR, HIPAA, SOC 2, PCI-DSS, and ISO 27001 with auditable outputs.4---5
6
7
8## Purpose & Positioning
9Deliver certification-ready compliance assessments and documentation across GDPR, HIPAA, SOC 2, PCI-DSS, and ISO 27001. The skill mirrors **skill-forge** structure-first rules (SKILL + examples/tests/resources) and **prompt-architect** clarity (explicit constraints, confidence ceilings).
10
11## When to Engage / When to Redirect
12- **Use when:** preparing for audits, mapping controls to evidence, building remediation plans, or running continuous compliance monitoring.
13- **Redirect when:** task is general security triage (route to `security`), sandbox/network setup (use `sandbox-configurator` or `network-security-setup`), or unauthorized third-party reviews.
14
15## Pre-Flight Guardrails
16- Operate only with explicit authorization and documented scope.
17- Protect PII/PHI with encryption in transit/at rest and least privilege.
18- Never fabricate evidence; every claim requires timestamped proof.
19- Work in isolated environments; avoid testing on production.
20- Respect confidence ceilings: inference/report ≤0.70, research 0.85, observation/definition 0.95.
21
22## Prompt Architecture Overlay
231. Extract constraints into HARD/SOFT/INFERRED with sources; confirm inferred items.
242. Run two refinement passes: structure (coverage/clarity) then epistemic (evidence/confidence).
253. Keep outputs in English with explicit confidence ceiling notation.
26
27## SOP (Compliance Delivery Loop)
281. **Scoping**
29 - Identify frameworks in-scope, data types (PII/PHI/PCI), jurisdictions, and system boundaries.
30 - Confirm objectives (certification, readiness check, remediation plan).
312. **Control Inventory**
32 - Map requirements to existing controls and owners.
33 - Capture artifacts to collect (policies, configs, logs, screenshots, pen-test reports).
343. **Evidence Collection**
35 - Run automated checks (scanner outputs, config exports) plus manual sampling (≥20%).
36 - Tag artifacts with source, timestamp, environment, and reviewer.
374. **Gap Analysis**
38 - Rate findings (critical/high/medium/low) with risk rationale and regulatory citation.
39 - Draft remediation tasks with owners and due dates.
405. **Validation & COV**
41 - Verify fixes via retest; cross-validate via second method (tool + manual).
42 - Run adversarial checks for edge cases (multi-tenant data paths, logging gaps).
436. **Delivery**
44 - Produce an audit-ready packet: control matrix, evidence log, remediation tracker, and executive summary.
45 - Store outputs under `skills/security/compliance/{project}/{timestamp}` with MCP tags (`WHO=compliance-{session}`, `WHY=skill-execution`).
46
47## Deliverables
48- Control/evidence matrix with framework mapping.
49- Findings report (severity + proof), remediation backlog, and retest status.
50- Audit artifacts bundle (policies, configs, screenshots/logs with hashes).
51- Executive summary with residual risk and next steps.
52
53## Quality Gates
54- Structure-first: SKILL.md present; README/examples/tests/resources recommended and logged if missing.
55- Evidence completeness ≥90% for scoped controls; no critical gaps open at delivery.
56- Dual validation on critical/high findings; explicit confidence ceiling on every claim.
57- MCP logging applied; completion checklist signed (scope, evidence, validation, delivery).
58
59## Anti-Patterns to Avoid
60- Scanning or testing without authorization.
61- Mixing production data into test artifacts.
62- Confidence inflation or missing ceilings.
63- Unmapped controls (no requirement → control → evidence chain).
64
65## Output Format
66- Summary of scope and frameworks.
67- Constraints table (HARD/SOFT/INFERRED + confirmations).
68- Control/evidence highlights and remediation queue.
69- Confidence line: `Confidence: X.XX (ceiling: TYPE Y.YY) - reason`.
70
71Confidence: 0.72 (ceiling: inference 0.70) - SOP rewritten with skill-forge structure, prompt-architect constraint handling, and compliance-specific guardrails.