Skip to main content
skill CX Codex

security-compliance-audit — Claude Code skill: SOC 2 and GDPR audits

A skill that walks through security compliance checks for SOC 2, GDPR, HIPAA, PCI-DSS and ISO 27001. Useful before certification or an annual audit.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add aj-geddes/useful-ai-prompts --skill security-compliance-audit -a claude-code
Open on GitHub

What security-compliance-audit does

The skill runs a systematic review of security controls, policies and procedures. It ships a Python data model with ComplianceFramework, ControlStatus and Control classes, where each control carries control_id, framework and category. Full implementations live in references/automated-compliance-checker.md and references/nodejs-compliance-automation.md.

Six scenarios are covered: annual audits, pre-certification assessments, regulatory validation, security posture review, third-party audits and gap analysis. Each control gets a status — compliant, non_compliant, partially_compliant or not_applicable — so you can see where remediation is still owed.

Install runs through npx skills add with a platform flag. GitHub Copilot uses a different command: gh skill install. The skill file lands in .cursor/skills/, .github/skills/ or ~/.claude/skills/ depending on the tool. The reference guides assume a Python environment, since the sample code relies on dataclasses and enum.

What it helps with

  • check security controls before a SOC 2 certification
  • collect evidence for each GDPR requirement
  • find gaps in ISO 27001 coverage
  • track remediation status after an audit
  • prepare a HIPAA or PCI-DSS compliance report

Example prompts for the agent

  • run a SOC 2 control audit and list what fails
  • build a GDPR requirements checklist for our service
  • show what we have not covered under ISO 27001 and suggest a fix plan

How to install security-compliance-audit

1Skills CLI (Vercel)

npx skills add aj-geddes/useful-ai-prompts --skill security-compliance-audit -a claude-code

2Manually: put the files in place

~/.claude/skills/security-compliance-audit/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/security-compliance-audit/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about security-compliance-audit

How do I install security-compliance-audit in Claude?

Run npx skills add aj-geddes/useful-ai-prompts --skill security-compliance-audit -a claude-code. The skill file ends up at ~/.claude/skills/security-compliance-audit/SKILL.md.

What does security-compliance-audit do?

It evaluates security controls and procedures against SOC 2, GDPR, HIPAA, PCI-DSS and ISO 27001. Use it for certification prep, annual audits and gap analysis.

Which platforms are supported?

Claude, Codex, Cursor, GitHub Copilot, Gemini CLI and OpenCode. Each platform has its own install command and skill file path.

Source text

SKILL.md · MIT
---
name: security-compliance-audit
description: >
  Conduct comprehensive security compliance audits for SOC 2, GDPR, HIPAA,
  PCI-DSS, and ISO 27001. Use when preparing for certification, annual audits,
  or compliance validation.
---

# Security Compliance Audit

## Table of Contents

- [Overview](#overview)
- [When to Use](#when-to-use)
- [Quick Start](#quick-start)
- [Reference Guides](#reference-guides)
- [Best Practices](#best-practices)

## Overview

Systematic evaluation of security controls, policies, and procedures to ensure compliance with industry standards and regulatory requirements.

## When to Use

- Annual compliance audits
- Pre-certification assessments
- Regulatory compliance validation
- Security posture evaluation
- Third-party audits
- Gap analysis

## Quick Start

Minimal working example:

```python
# compliance_auditor.py
from dataclasses import dataclass, field
from typing import List, Dict
from enum import Enum
import json
from datetime import datetime

class ComplianceFramework(Enum):
    SOC2 = "SOC 2"
    GDPR = "GDPR"
    HIPAA = "HIPAA"
    PCI_DSS = "PCI-DSS"
    ISO_27001 = "ISO 27001"

class ControlStatus(Enum):
    COMPLIANT = "compliant"
    NON_COMPLIANT = "non_compliant"
    PARTIALLY_COMPLIANT = "partially_compliant"
    NOT_APPLICABLE = "not_applicable"

@dataclass
class Control:
    control_id: str
    framework: ComplianceFramework
    category: str
// ... (see reference guides for full implementation)
```

## Reference Guides

Detailed implementations in the `references/` directory:

| Guide | Contents |
|---|---|
| [Automated Compliance Checker](references/automated-compliance-checker.md) | Automated Compliance Checker |
| [Node.js Compliance Automation](references/nodejs-compliance-automation.md) | Node.js Compliance Automation |

## Best Practices

### ✅ DO

- Automate compliance checks
- Document all controls
- Maintain evidence repository
- Conduct regular audits
- Track remediation progress
- Involve stakeholders
- Keep policies updated

### ❌ DON'T

- Skip documentation
- Ignore findings
- Delay remediation
- Cherry-pick controls
- Forget evidence collection

© aj-geddes · MIT · aj-geddes/useful-ai-prompts

Similar skills

Everything for Security →

From the same set118

e2e-testing-automation A skill that helps you write end-to-end tests: browser flows, user journeys and frontend-backend integration checks. CX Codex +1 689installs react-component-architecture A skill that tells your coding agent how to structure React components: function components, hooks, composition and TypeScript. Useful once a shared component library starts growing. CX Codex +1 674installs agile-sprint-planning Helps teams organize sprints by setting clear sprint goals, estimating story points, managing backlogs against team velocity, and running standups. CX Codex +1 669installs business-case-development Walks your agent through a business case: quantify benefits and costs, assess risks, and make the ROI argument to leadership. CX Codex +1 668installs gitlab-cicd-pipeline A skill that steers your agent through writing .gitlab-ci.yml: stages, jobs, caching, artifacts, Kubernetes deploys. Useful when a pipeline needs building or reworking. CX Codex +1 664installs websocket-implementation A coding skill that walks you through building a WebSocket server: connection management, message routing, and Redis-based scaling. CX Codex +1 663installs project-estimation A skill that helps the agent estimate project scope, timeline and resources. Useful when you need a budget or a plan you can defend. CX Codex +1 659installs log-analysis A skill that helps the agent read application and system logs: spot errors, recurring patterns and the root cause of a failure. Useful when a service breaks and you need answers. CX Codex +1 657installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor