njt2810/claude-code-framework/compliance-audit
Claude Code and agent skill by njt2810/claude-code-framework
- community
Checking that the SKILL.md file is still in the repository.
TRIGGER when: the user wants to audit the project against PDPA or SOC 2 controls, asks about compliance status, wants a gap analysis, says "are we compliant", or is preparing for a client security questionnaire. DO NOT TRIGGER when: the user wants a security audit (use /security-check), data inventory only (use /data-inventory), or legal docs (use /legal-docs).
Install
npx vskill@latest install njt2810/claude-code-framework/compliance-auditSKILL.md
The same SKILL.md was published earlier as njt2810/claude-code-framework/compliance-audit.
Compliance Audit
When to Use
When you need a gap analysis of the current project against PDPA (Singapore) or SOC 2 Common Criteria, or both. Produces a structured report — does not auto-remediate. The user fixes gaps in subsequent sessions.
Procedure
Step 1 — Determine Scope
Read $ARGUMENTS to determine which framework(s) to audit:
PDPA— Singapore Personal Data Protection Act onlySOC2— SOC 2 Common Criteria onlyboth— audit against both (recommended)- If empty: ask "Audit against PDPA, SOC 2, or both?"
Also read the project's own CLAUDE.md for a Production-tier: line (v2, written by /adopt) — falls back to the old Stream:/.claude/stream detection for a v1 project not yet re-adopted:
- If not production-tier: STOP. Say "Non-production-tier projects are not
in compliance scope. /compliance-audit is for production-tier projects only."
Step 2 — Delegate to Compliance Officer
Delegate to the Compliance Officer subagent:
"Perform a {PDPA|SOC2|both} gap audit on this project.
For PDPA, check these obligations (Singapore PDPA Part IV-VI):
- Consent — is consent collected for PII processing?
- Purpose limitation — is purpose stated and respected?
- Notification — are users told what's collected and why?
- Access & correction — can users request their data?
- Accuracy — are mechanisms in place to keep data accurate?
- Protection — encryption, access controls, retention
- Retention — is there a retention policy and enforcement?
- Transfer limitation — are cross-border transfers compliant?
- Openness — is privacy policy published?
- Data Protection Officer — is a DPO designated?
For SOC 2, check Common Criteria (CC1-CC9): CC1 — Control environment (governance, accountability) CC2 — Communication and information CC3 — Risk assessment CC4 — Monitoring activities CC5 — Control activities CC6 — Logical and physical access CC7 — System operations (change management, monitoring) CC8 — Change management CC9 — Risk mitigation
For each control, classify the project as: PASS — control fully implemented with evidence PARTIAL — control implemented but missing evidence or has gaps FAIL — control not implemented N/A — control does not apply to this project
Report findings as a structured table. For each FAIL or PARTIAL, include a remediation suggestion."
Wait for the Compliance Officer's report.
Step 3 — Write Gap Report
Write wiki/compliance/gaps.md (append a new dated section if file exists):
Step 4 — Update Evidence Index
For each PASS finding, append to wiki/compliance/evidence-index.md:
Step 5 — Report Summary
Print to user:
Pitfalls
- Running this without a Compliance Officer agent installed — fails silently.
Confirm agent exists at .claude/agents/compliance-officer.md first.
- Running on a non-production-tier project — meaningless and noisy. Block early.
- Overwriting
wiki/compliance/gaps.mdinstead of appending — historical
audits matter for SOC 2 evidence.
- Auditing without specifying scope — defaults are dangerous; ask the user.
Verification
wiki/compliance/gaps.mdwas written with today's date- All controls in scope have a status (PASS/PARTIAL/FAIL/N/A)
- Top 5 gaps are clearly identified
- Evidence index updated with PASS findings
- User has a clear next action
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-audit/SKILL.md
Popularity
- 7-day trend score
- 0
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/njt2810/claude-code-framework/compliance-audit)