compliance-framework
Map technical controls to ISO 27001:2022, SOC 2, GDPR, HIPAA, and EU AI Act, then automate verification with OPA / Conftest.
Skill by SwapnilPopat
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/swapnilpopat-compliance-framework
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: security, legal
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/compliance-framework
What's inside
- Skill name
compliance-framework- Description
- Map technical controls to ISO 27001:2022, SOC 2, GDPR, HIPAA, and EU AI Act, then automate verification with OPA / Conftest. Use when designing a continuous-compliance program instead of point-in-time audit cramming.
- License
- MIT
- Instructions
- 96 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Compliance Framework
Compliance fails when it lives in spreadsheets disconnected from running systems. A modern framework expresses each control as code (policy, test, telemetry) so audit evidence is a query, not a fire drill. Map once to a unified control set, satisfy many regimes.
## Stack Baseline (2026)
| Concern | Recommended |
| --- | --- |
| Unified control set | SCF (Secure Controls Framework) or OSCAL profile |
| ISMS | ISO/IEC 27001:2022 + 27002:2022 controls |
| Service trust | SOC 2 (TSC 2017, 2022 points of focus) |
| Privacy | GDPR, UK GDPR, CCPA/CPRA, LGPD |
| Health | HIPAA Security Rule, HITRUST CSF v11 |
| AI | EU AI Act (in force 2024, full apply 2026), NIST AI RMF 1.0 |
| Cloud | CIS Benchmarks, CSA CCM 4 |
| Policy-as-code | OPA + Conftest, Kyverno, Cloud Custodian |
| Evidence automation | Drata, Vanta, Anecdotes; OSCAL JSON |
| SDLC | NIST SP 800-218 SSDF, OWASP SAMM 2 |
## When to Use
- Pursuing first SOC 2 or ISO 27001 certification.
- Entering EU market with AI features (AI Act high-risk path).
- Multi-regime program (SOC 2 + ISO + HIPAA) needing dedup.
- Continuous compliance for a regulated platform.
## Prerequisites
- Asset inventory and data classification.
- IaC for cloud resources (Terraform / Crossplane).
- Centralized identity (OIDC/SSO) and audit logging.
- Risk register with owners.
## Instructions
```mermaid
flowchart LR
R[Regulatory obligations] --> U[Unified control set OSCAL]
U --> P[Policy-as-code OPA/Kyverno]
U --> T[Tests + fitness functions]
U --> L[Telemetry + audit logs]
P --> E[Continuous evidence store]
T --> E
L --> E
E --> A[Auditor read-only access]
```
1. **Map once.** Build a unified control catalog (OSCAL) covering ISO 27001:2022 Annex A, SOC 2 TSC, GDPR Art. 32, HIPAA Security Rule, EU AI Act Annex IV. Cross-reference each technical control to the regimes it satisfies.
2. **Express as code.** For each control specify: preventive policy (OPA/Kyverno), detective test (CI check, Cloud Custodian), and evidence telemetry (CloudTrail, audit log).
3. **Wire into pipelines.** Conftest in CI for IaC; admission policies in clusters; scheduled posture scans (Steampipe, Prowler, ScoutSuite).
4. **Continuous evidence.** Stream policy decisions and telemetry into an evidence lake (e.g. S3 + Athena, or Drata/Vanta). Tag each artifact with control id.
5. **Risk + exceptions.** Any deviation requires a time-bound, owner-assigned exception ticket linked to the risk register.
6. **AI Act addendum.** For high-risk AI: maintain technical documentation (Annex IV), risk management, data governance, logging, human oversight, post-market monitoring.
```rego
# OPA: ISO 27001 A.8.24 - cryptography in transit
package compliance.iso27001
deny[{ "control": "A.8.24", "msg": msg }] {
input.resource_type == "aws_lb_listener"
input.protocol == "HTTP"
msg := "Listener must use HTTPS/TLS 1.2+"
}
```
```yaml
# control mapping (excerpt)
- id: CTRL-ENC-TRANSIT
description: All external traffic uses TLS 1.2+
satisfies: [ISO27001:A.8.24, SOC2:CC6.7, HIPAA:164.312(e)(1), GDPR:Art32]
preventive: opa/transit-encryption.rego
detective: prowler check_elb_https
evidence: cloudtrail+config-rule:elb-tls-listener
owner: platform-security
```
## Common Pitfalls
| Pitfall | Mitigation |
| --- | --- |
| One spreadsheet per regime | Unify via OSCAL / SCF |
| Annual audit scramble | Continuous evidence pipeline |
| Policies in docs, not enforced | Every control has prevent + detect + evidence |
| Exceptions never expire | Mandatory expiry; auto-reopen ticket |
| AI Act treated as legal-only | Engineering owns Annex IV docs + logging |
## Output Format
- OSCAL component definition + control catalog in repo.
- Policy bundle (OPA/Kyverno) versioned and signed.
- Evidence dashboard with control coverage and pass rate.
- Exception register with owners and expiry dates.
## Authoritative References
- ISO/IEC 27001:2022 and 27002:2022.
- AICPA Trust Services Criteria (SOC 2), 2017 with 2022 PoF.
- Regulation (EU) 2016/679 (GDPR); Regulation (EU) 2024/1689 (AI Act).
- HIPAA Security Rule, 45 CFR Part 164 Subpart C.
- NIST SP 800-53 Rev 5, NIST SP 800-218 SSDF, NIST AI RMF 1.0.
- OSCAL 1.1; OWASP SAMM 2; CSA CCM 4.From SwapnilPopat/ai-assistant-skills, MIT.
More from SwapnilPopat/ai-assistant-skills
- 0.497score
fitness-function-design
SwapnilPopat
Design executable architectural fitness functions per quality attribute.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
cloudflare-deploy
SwapnilPopat
Deploy Cloudflare Workers, Pages, and Workers-with-static-assets safely using Wrangler 4.x with versioned uploads, gradual deployments, preview/production…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
netlify-deploy
SwapnilPopat
Deploy static sites, framework apps (Next.js, Astro, Remix, SvelteKit, Nuxt), Edge Functions, and serverless Functions to Netlify with deploy previews, branch…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
openai-transcribe
SwapnilPopat
Transcribe audio with OpenAI speech-to-text models (gpt-4o-transcribe, gpt-4o-mini-transcribe, whisper-1) using prompt-guided terminology, segment-level…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
render-deploy
SwapnilPopat
Deploy Web Services, Private Services, Background Workers, Cron Jobs, Static Sites, PostgreSQL, and Key-Value (Redis-compatible) on Render via Blueprints…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
sentry-observability
SwapnilPopat
Operate Sentry end-to-end — error monitoring, performance tracing, session replay, profiling, release health, source-map upload, ownership routing, alert…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
architect-review
SwapnilPopat
Conduct a rigorous architecture review covering scope, drivers, quality attributes, risks, decisions, and action items.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
architecture-anti-patterns
SwapnilPopat
Detect and remediate architecture anti-patterns - Big Ball of Mud, Distributed Monolith, Golden Hammer, Vendor Lock-in, Premature Microservices, Lava Flow…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
dependency-governance
SwapnilPopat
Govern third-party and OSS dependencies via SBOM, SLSA, OpenSSF Scorecard, and license policy.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
anthropic-claude
SwapnilPopat
Build production integrations with Anthropic Claude (Claude 4.5 Sonnet, Claude Opus 4, Claude Haiku 4) via the Messages API — system prompts, multi-turn…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
architecture-patterns-catalog
SwapnilPopat
Select the right macro-architecture pattern by mapping drivers (scale, change rate, team topology, NFRs) to a curated 2026 catalog covering layered…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
architecture-review-facilitation
SwapnilPopat
Facilitate effective architecture reviews using ATAM-lite, structured agendas, decision logs, and clear action items.
SkillCFreshness: C★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- May 1, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from SwapnilPopat
- 0.497score
cloudflare-deploy
SwapnilPopat
Deploy Cloudflare Workers, Pages, and Workers-with-static-assets safely using Wrangler 4.x with versioned uploads, gradual deployments, preview/production…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
netlify-deploy
SwapnilPopat
Deploy static sites, framework apps (Next.js, Astro, Remix, SvelteKit, Nuxt), Edge Functions, and serverless Functions to Netlify with deploy previews, branch…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
openai-transcribe
SwapnilPopat
Transcribe audio with OpenAI speech-to-text models (gpt-4o-transcribe, gpt-4o-mini-transcribe, whisper-1) using prompt-guided terminology, segment-level…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
render-deploy
SwapnilPopat
Deploy Web Services, Private Services, Background Workers, Cron Jobs, Static Sites, PostgreSQL, and Key-Value (Redis-compatible) on Render via Blueprints…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
sentry-observability
SwapnilPopat
Operate Sentry end-to-end — error monitoring, performance tracing, session replay, profiling, release health, source-map upload, ownership routing, alert…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
anthropic-claude
SwapnilPopat
Build production integrations with Anthropic Claude (Claude 4.5 Sonnet, Claude Opus 4, Claude Haiku 4) via the Messages API — system prompts, multi-turn…
SkillCFreshness: C★ 1Claude Code +9
Cite this page
compliance-framework skill. Agent Mart. https://agentmart.dev/skills/swapnilpopat-compliance-framework (last updated 2026-10-24)