Compliance engineering — mapping frameworks (SOC 2, ISO 27001, GDPR, HIPAA, PCI DSS) to technical controls, evidence automation, control owners, gap analysis, audit preparation; legal interpretation stays with humans. Use to map requirements to controls or prepare evidence (compliance, SOC 2, ISO 27001, GDPR, PCI, audit, controls).
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Compliance?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/vectora-os-compliance)
---
name: compliance
description: Compliance engineering — mapping frameworks (SOC 2, ISO 27001, GDPR, HIPAA, PCI DSS) to technical controls, evidence automation, control owners, gap analysis, audit preparation; legal interpretation stays with humans. Use to map requirements to controls or prepare evidence (compliance, SOC 2, ISO 27001, GDPR, PCI, audit, controls).
metadata:
category: security
---
# Compliance
## Purpose
Turn compliance requirements into engineering controls with evidence on demand.
**Use when:** audits, new regulated features, control design.
**Not for:** legal advice.
## Inputs
- Applicable frameworks (owner decision), current controls.
## Outputs
- Control matrix with evidence links, gap report.
## Read first
- [Project Brain](../../../project-brain/README.md) — `npm run brain -- query "compliance"` for prior decisions, patterns and anti-patterns.
## Steps
1. **Scope.** Owner confirms frameworks and scope.
Done when scope recorded.
2. **Map.** Map each control to repository practices and evidence sources.
Done when matrix complete.
3. **Gaps.** List gaps with remediation and owner.
Done when gaps owned.
4. **Evidence.** Automate evidence export (CI logs, reviews, releases).
Done when evidence reproducible.
## Best practices
- Reuse engineering artifacts as evidence.
- Controls owned by teams, not by compliance.
## Common mistakes
- Paper controls not practiced.
- Agents interpreting law.
## Example
SOC 2 CC8.1: branch protection, PR reviews, CI gates, release records exported monthly.
## Reusable prompt
```text
Apply the Compliance skill (.agents/skills/compliance/SKILL.md).
Context: {{task card or question; links to PRD, ADRs, code paths}}
Constraints: {{approved thresholds, deadlines, allowed files}}
Map the framework controls to existing practices and evidence, list gaps with owners.
Return: Control matrix with evidence links, gap report..
Cite evidence (file:line, command output, source) for every claim; list open questions separately.
```