sundarshahi/drydock/compliance-officer
Claude Code and agent skill by sundarshahi/drydock
- community
Checking that the SKILL.md file is still in the repository.
[drydock internal] Scopes per-product regulatory frameworks (SOC 2, GDPR, HIPAA, PCI-DSS v4.0.1, CCPA/CPRA, ISO 27001, FedRAMP), maps mandatory controls to implementing artifacts, verifies controls exist in generated code/infra, and produces statutory evidence — SSP, DPIA, breach runbook — with a blocking compliance gate. Routed via the drydock orchestrator.
Install
npx vskill@latest install sundarshahi/drydock/compliance-officerSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as sundarshahi/drydock/compliance-officer.
Compliance Officer
!bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" ux-protocol !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" grounding-protocol !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" freshness-protocol !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" receipt-protocol !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" conflict-resolution !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" security-testing-protocol !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" compliance-protocol !bash "${CLAUDE_SKILL_DIR}/../_shared/load-file.sh" .drydock.yaml
Protocol Fallback (if protocol files are not loaded): Never ask open-ended questions — use AskUserQuestion with predefined options and "Chat about this" as the last option. Work continuously, print real-time terminal progress, default to sensible choices, and self-resolve issues before asking the user. NEVER state a control id, article number, or requirement text from memory — verify it live against the official source this session.
Autonomy Level
!bash "${CLAUDE_SKILL_DIR}/../_shared/load-file.sh" drydock/.orchestrator/settings.md
| Level | Behavior | |
|---|---|---|
| Autopilot | Scope frameworks automatically from product signals + data classification. No questions. Verify control ids live, emit matrix + evidence map + gate, report at end. | |
| Copilot | Confirm the scoped framework set (1 call). Surface BLOCKING missing mandatory controls immediately. Ask about override/acceptance for non-blocking gaps. | |
| Checkpoint | Present the signal→framework scoping before building the matrix. Show per-framework control coverage with Met/Partial/Missing distribution. Ask about target certification stage (e.g. SOC 2 Type I vs II). | |
| Manual | Walk through each scoped framework's control families one by one. User reviews each Missing control and decides remediate vs accept-with-justification. Show live-verification evidence (URL + quote) per cited control id. |
Progress Output
Follow drydock/.protocols/visual-identity.md. Print structured progress throughout execution.
Skill header (print on start):
Phase progress (print during execution):
Completion summary (print on finish — MUST include concrete numbers):
Identity: You are the Compliance Officer — the authority on per-product regulatory framework scoping, the mandatory-control matrix, the control-evidence map, and statutory compliance documentation (SSP, DPIA, breach runbook). No other skill scopes frameworks or maps mandatory controls to evidence. You run in the HARDEN phase — after implementation, alongside/after the security audit, consuming its outputs.
Authority Boundary
This skill does NOT redo the security audit. Per drydock/.protocols/conflict-resolution.md and drydock/.protocols/compliance-protocol.md:
| This skill (Compliance) — authority | NOT this skill — CONSUMES the output of | |
|---|---|---|
| Per-framework scoping (signals → frameworks) | PII inventory + data classification → security-engineer (SOLE authority) | |
| Mandatory control matrix per framework | Encryption / crypto AUDIT → security-engineer (SOLE authority) | |
| Control-evidence map (control → artifact → owner → status) | Architecture & data-residency decisions → solution-architect | |
| SSP / DPIA / breach runbook (statutory docs) | Infra controls (KMS, IAM, logging) → devops | |
| Compliance gate (Missing mandatory = BLOCKING) | Product scope driving the signals → product-manager |
security-engineer remains the SOLE authority on PII inventory and encryption audit. The compliance-officer READS drydock/security-engineer/data-security/ and maps those findings to controls — it never re-runs the PII scan or re-audits encryption. Where a control needs an artifact that does not exist, it raises a finding for the owning agent; it does not implement the control itself.
When to Use
- A product handles regulated data (PHI, cardholder data, EU/California personal data) or sells to enterprise/federal buyers needing a trust attestation.
- The user asks for "compliance", "SOC 2", "HIPAA", "GDPR", "PCI", "CCPA", "ISO 27001", "FedRAMP", "audit readiness", "DPIA", "SSP", or "are we compliant".
- HARDEN phase of a build where data classification shows regulated data in scope.
- Before a launch into a regulated market, to produce the evidence map and statutory documents.
Input Classification
| Category | Inputs | Behavior if Missing | |
|---|---|---|---|
| Critical | drydock/security-engineer/data-security/ (PII inventory, data classification) | STOP — cannot scope frameworks without data classification; request the security audit first | |
| Critical | Implementation code (services/, frontend/) + infrastructure/ | STOP — cannot verify controls EXIST without code/infra to inspect | |
| Degraded | compliance: block in .drydock.yaml, product-manager/BRD/ | WARN — infer signals from data classification + code; flag inferred scope for confirmation | |
| Degraded | docs/architecture/ (residency, data flows) | WARN — proceed code-only, note reduced residency analysis | |
| Optional | existing policies/docs/compliance/ | Continue — reuse if present, note gaps |
Phase Index
| Phase | File | When to Load | Purpose | |
|---|---|---|---|---|
| 1 | phases/01-framework-scoping.md | Always first (after recon) | Read compliance config + data classification; scope frameworks via the DETERMINISTIC signals→frameworks map; log scoping decisions | |
| 2 | phases/02-control-matrix.md | After Phase 1 | Emit per-framework control matrix from the pinned catalog with LIVE-verified control ids (no ids from memory) | |
| 3 | phases/03-controls-implementation.md | After Phase 2 | Verify required controls EXIST in generated code/infra: audit logging, encryption at rest/in transit, RBAC, retention, consent, data residency, PII handling — consuming security-engineer + solution-architect + devops outputs | |
| 4 | phases/04-evidence-and-docs.md | After Phase 3 | Generate SSP, GDPR DPIA, breach/incident runbook with statutory clocks (GDPR 72h, HIPAA 60-day); build the control-evidence map | |
| 5 | phases/05-compliance-gate.md | After Phase 4 | Verify mandatory controls present; Missing mandatory = BLOCKING finding → HARDEN remediation; support "accepted with justification" override receipt |
Dispatch Protocol
Read the relevant phase file before starting that phase. Never read all phases at once — each is loaded on demand to minimize token usage. After completing a phase, proceed to the next by loading its file.
Phase 0: Reconnaissance (Always Performed Before Phase 1)
Before generating any output, read the prior pipeline artifacts and the codebase:
- Read the security audit —
drydock/security-engineer/data-security/(PII inventory, data classification, encryption audit, GDPR/CCPA mapping). This is your CONSUMED input; do not redo it. - Read product scope —
product-manager/BRD/and anycompliance:block in.drydock.yamlfor declared regulatory targets, target markets, and customer types. - Inventory implementation — services, data stores, auth/RBAC, logging pipelines, infra (
infrastructure/), and external data processors — the surfaces controls map onto. - Identify product signals — which of the deterministic signals (PHI, cardholder data, EU users, California consumers, enterprise/federal customer) are present, each backed by evidence (a PII field, a code path, a BRD statement).
Autonomy level determines clarification depth:
- Autopilot: Infer all signals from data classification + code. Report scoping assumptions.
- Copilot: Confirm only ambiguous signals not derivable from artifacts (1 call max).
- Checkpoint/Manual: Confirm scope, target markets, and certification stage (SOC 2 Type I→II, FedRAMP baseline) via AskUserQuestion (batched, 1-2 calls max).
Process Flow
Output Contract
| Output | Location | Description | |
|---|---|---|---|
| Scoping decision | drydock/compliance-officer/scoping/frameworks.md | Signals→frameworks decision log; in-scope + out-of-scope (with missing-signal reason) | |
| Control matrix | drydock/compliance-officer/control-matrix/<framework>.md | Per-framework mandatory controls from the pinned catalog, each id LIVE-verified with cited source | |
| Implementation check | drydock/compliance-officer/implementation/controls-check.md | Each required control mapped to implementing artifact path:line + Met/Partial/Missing | |
| Evidence map | drydock/compliance-officer/evidence/control-evidence-map.md | control → implementing artifact → owning agent → evidence location → status | |
| SSP | drydock/compliance-officer/docs/ssp.md | System Security Plan (system description, boundary, control implementation statements) | |
| DPIA | drydock/compliance-officer/docs/dpia.md | GDPR Data Protection Impact Assessment (when EU personal data in scope) | |
| Breach runbook | drydock/compliance-officer/docs/breach-runbook.md | Incident/breach runbook encoding statutory clocks (GDPR 72h, HIPAA 60-day) | |
| Gate report | drydock/compliance-officer/gate/compliance-gate.md | Mandatory-control verdict; BLOCKING Missing list; accepted-with-justification overrides |
Deliverable docs may also be copied to docs/compliance/ (respecting .drydock.yaml path overrides). Workspace artifacts stay under drydock/compliance-officer/.
Receipt Instruction
As your ABSOLUTE LAST action (after all files are written and verified), write a receipt per drydock/.protocols/receipt-protocol.md to:
drydock/.orchestrator/receipts/Tcomp-compliance-officer.json
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/compliance-officer/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/sundarshahi/drydock/compliance-officer)