Agent skill
Compliance checker
Audits a codebase or business process for regulatory compliance across GDPR, HIPAA, SOC2, CCPA, and PCI‑DSS. Scans for PII handling, data retention...
New to this? An agent skill is a file of instructions your AI assistant follows for one job. The text above is written for the assistant. How to use a skill
- It links to other files in its repo. Open the original to see them.
What it does
Compliance checker is a data skill from OneWave-AI/
In short, it shows your assistant how to work with data step by step.
The file is 58 lines long and is set out in parts such as “Contents”, “Workflow”, “Phase 1: Discovery and Scoping” and “Phase 2: Scanning and Evidence Collection”.
It is plain instructions, with no code to run.
When to use it
Reach for it when you have numbers or tables to clean, query or explain.
It points to other files in its repo, so open the original to read those too.
It does not ask for special tools.
Safety check
Our checker read all 58 lines before we listed it.
It found no attack techniques, no hidden text and no steps that switch off your assistant's safety or send your data away.
It did flag one thing to know, listed above.
The text links to no outside sites.
It is shared under the MIT license.
Still read it before you use it, like any instructions you give your AI.
Open in the appOriginal on GitHub
What is inside
- Contents
- Workflow
- Phase 1: Discovery and Scoping
- Phase 2: Scanning and Evidence Collection
- Phase 3: Gap Analysis
- Phase 4: Remediation Planning
- Phase 5: Report Generation
- Behavioral Rules
How to use it
- Claude Code: save the text as
.claude/skills/compliance-checker/SKILL.mdin your project. Claude reads it when a task needs it. - Claude, ChatGPT or Gemini: tap Copy skill and paste it into the chat. It arrives with a short line asking the assistant to use it.
- Cursor and other agents: add it to the project rules or instructions.
Read the full guide to using an agent skill
Want your own? How to write an agent skill that works
The full skill
--- name: compliance-checker description: Audits a codebase or business process for regulatory compliance across GDPR, HIPAA, SOC2, CCPA, and PCI-DSS. Scans for PII handling, data retention, encryption, access controls, audit logging, consent management, and data transfer issues. Generates a structured compliance report with findings, gap analysis, remediation steps, and evidence requirements. tools: Read, Glob, Grep, Bash, Write model: inherit --- # Compliance Checker Perform thorough regulatory compliance audits against one or more frameworks, identify gaps, and produce actionable remediation guidance with evidence requirements suitable for certification preparation. ## Contents - `references/frameworks.md` — the five supported frameworks (GDPR, HIPAA, SOC 2, CCPA, PCI-DSS): scope, key articles/requirements, penalties, and reference links. - `references/scan-patterns.md` — the seven scan categories, their search patterns, scan execution rules, and common pitfalls to always check. - `references/classification.md` — compliance status values, risk severity rubric, and the remediation detail fields. - `references/cross-framework-mapping.md` — control-area-to-framework mapping and the glossary. - `references/output-template.md` — the full `compliance-report.md` structure, including per-framework gap-analysis tables and evidence packs. ## Workflow Run the full methodology for every audit. Do not skip steps. ### Phase 1: Discovery and Scoping 1. Identify the target: codebase, infrastructure configuration, business process documentation, or a combination. 2. Determine applicable frameworks from the data types processed, geographic scope, industry, and business model. See `references/frameworks.md`. When none are specified, assess all five and note applicability. 3. Map the data flow: where regulated data enters, how it is processed, where it is stored, and how it exits. 4. Inventory data categories present (PII, PHI, CHD, sensitive PI, special category data). ### Phase 2: Scanning and Evidence Collection 5. Scan each of the seven categories — PII/sensitive data, data retention, encryption, access controls, audit logging, consent management, and data transfer. Apply the search patterns and execution rules in `references/scan-patterns.md`. Record exact file paths, line numbers, and snippets for both positive findings and gaps. ### Phase 3: Gap Analysis 6. Map each finding to specific framework requirements, assign a compliance status, and assign a risk severity to every non-compliant or partial finding. Use the rubric in `references/classification.md`. ### Phase 4: Remediation Planning 7. For each non-compliant or partial finding, produce the remediation detail (description, regulatory reference, current state, required state, steps, evidence, effort, dependencies) per `references/classification.md`. Cross-reference `references/cross-framework-mapping.md` to flag when one action closes gaps across multiple frameworks. ### Phase 5: Report Generation 8. Generate `compliance-report.md` in the project root (or a user-specified location), following the mandatory structure in `references/output-template.md`. Every section is required; if a section has no findings, state that explicitly. ## Behavioral Rules 1. Never fabricate findings. Back every finding with scan evidence. When evidence is absent, mark UNABLE TO ASSESS rather than guess. 2. Be specific. Reference exact file paths, line numbers, function names, and configuration keys. 3. Distinguish technical from organizational controls. Note when a finding requires verifying organizational controls (training, policies, physical security) that code review alone cannot confirm. 4. Consider the full stack: application code, database schemas, infrastructure configuration, CI/CD pipelines, dependency manifests, documentation, and environment configuration. 5. Prioritize actionable findings. Specify exact changes; avoid vague recommendations like "improve security". 6. Respect the scope. Audit only what is provided. Do not assume broader infrastructure without evidence. 7. Account for frameworks and libraries that handle compliance concerns (ORM parameterized queries, framework CSRF protection); credit them as positive findings but verify configuration. 8. Avoid false positives. Missing a marginal finding is better than reporting a non-gap. Err toward accuracy. 9. Cross-reference across frameworks. Note when a single remediation addresses multiple regulations. 10. Date and version everything so the report can be compared against future audits. ## Responding to Requests - "Audit this codebase" / "check compliance": Confirm which frameworks to focus on (or assess all five), run Phases 1-5, generate `compliance-report.md`, and summarize the most critical findings. - "Check for [framework]": Focus on that framework, still scan all seven categories, and map findings only to it. - "Check [category]" (e.g., "check encryption"): Focus the scan on that category and map findings to all applicable frameworks. - "Are we [requirement] compliant?" (e.g., GDPR Art. 17): Focus on the relevant controls, give a direct assessment with evidence, and offer remediation if gaps exist. - Business process documentation instead of code: Adapt the methodology to document analysis, focus on policy and procedure requirements, and note that technical controls cannot be verified without codebase access.
Copyright (c) 2025 OneWave AI.
Published under the MIT License, which you can read in full there.
Shown as published on GitHub, with credit and a link to the original.
Read it before you use it.
More skills
Cash flow forecaster
Build a 13‑week rolling cash flow forecast from bank exports, AR aging, AP bills, payroll, and recurring commitments, the report that tells a small business...
Client health dashboard
Generates a comprehensive client health overview across all accounts. Reads CRM data, support tickets, usage metrics, billing, and engagement logs.
Cold email sequence generator
Generate personalized cold email sequences (7‑14 emails) with A/B test subject lines, follow‑up timing recommendations, and integrated social proof.
Try it in your browser
Today's AI news, one card per swipe.
Free to start.