Generate comprehensive compliance reports for security standards.
SkillScore50Maintained
Automatic
◆Security & AppSec packsecuritycomplianceaudit
Last verified 8/30/2026
What it changes
Passed 9 of 17 test cases with the skill, and 5 of 17 without it.
Without skill27%
With skill50%
Checks it passed that the model alone missed
Rates controls lacking documentation as Evidence Not Available.
Categorizes remediation effort into high, medium, or low tiers.
Recommends documenting the control implementation in the remediation plan.
and 5 more in the full report
5 fixed6 passed either way11 still failing0 broke
Pass-rate lift
+23 pp
Tokens
+37%
Agent turns
0%
Response time
-3%
Model gemini-3.6-flashMeasured 8/30/2026v111 of 22 cases passed with skill · 17 comparable
Tokens, turns and time describe resource use, not a dollar price.
See it in action
One of 5 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 5
Prompt
Please inspect our healthcare application codebase and infrastructure files in `${CLAUDE_SKILL_DIR}` to evaluate our posture against HIPAA Security Rule safeguards. Create a structured markdown audit report in `${CLAUDE_SKILL_DIR}` that includes an executive overview, methodology scope, control-by-control assessment referencing exact file paths and lines, an overall percentage compliance score, gap analysis with risk severity, and a prioritized remediation roadmap.
What was checked, without and with the skill
Checked
Without skill
With skill
Maps controls across HIPAA Administrative, Physical, and Technical Safeguards.
Categorizes control statuses using Compliant, Partially Compliant, Non-Compliant, or Not Applicable.
Missed
Passed
case-01 · gemini-3.6-flash · 8/30/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md81 lines5 filesincludes scripts
Generating Compliance Reports
Overview
Generate structured compliance reports for major security frameworks including
PCI DSS, HIPAA, SOC 2, GDPR, and ISO 27001. This skill scans codebases,
configurations, and infrastructure definitions to assess compliance posture,
maps findings to specific framework controls, and produces audit-ready
documentation with evidence references and gap analysis.
Prerequisites
Access to the target codebase, infrastructure configs, and policy documents in ${CLAUDE_SKILL_DIR}/
Knowledge of the target compliance framework and its applicable scope
Standard shell utilities and Grep/Glob available for evidence gathering
Reference: ${CLAUDE_SKILL_DIR}/references/README.md for PCI DSS guidelines, HIPAA compliance checklist, SOC 2 framework overview, config schema, and API documentation
Instructions
Determine the target compliance framework (PCI DSS, HIPAA, SOC 2, GDPR, ISO 27001, or custom) and identify applicable control domains based on the system under audit.
Enumerate the control requirements for the target framework -- for PCI DSS, map the 12 requirements and their sub-controls; for HIPAA, map Administrative, Physical, and Technical Safeguards; for SOC 2, map Trust Services Criteria (CC1-CC9).
Scan the codebase for evidence of control implementation: encryption at rest and in transit (TLS configuration, database encryption), access controls (RBAC definitions, IAM policies), logging and monitoring (audit log configuration, SIEM integration), and data retention policies.
Evaluate each control as Compliant, Partially Compliant, Non-Compliant, or Not Applicable -- document the evidence file path and line number for each assessment.
For Partially Compliant and Non-Compliant controls, describe the specific gap: what is missing, what risk it introduces, and what remediation is required.
Calculate an overall compliance score as percentage of applicable controls that are fully compliant.
Generate the report with these sections: Executive Summary, Scope and Methodology, Control-by-Control Assessment, Gap Analysis, Risk Rating, Remediation Roadmap with priority and effort estimates, and Evidence Appendix.
Write the report to ${CLAUDE_SKILL_DIR}/compliance-report-[framework]-[date].md using the Write tool.
Validate the report against the config schema in ${CLAUDE_SKILL_DIR}/references/README.md if applicable.
Output
Compliance report: Markdown document with Executive Summary, Scope, Control Assessment (table with Control ID, Description, Status, Evidence, Gap), Risk Rating, and Remediation Roadmap
Compliance score: Percentage of applicable controls rated Compliant, broken down by control domain
Gap analysis: Prioritized list of non-compliant controls with risk impact and remediation effort (high/medium/low)
Evidence index: File paths and line references for each control assessment
Remediation roadmap: Prioritized action items with estimated effort, owner assignment placeholders, and target dates
You are a compliance expert specializing in regulatory requirements for software systems including GDPR, HIPAA, SOC2, PCI-DSS, and other industry standards. Perform comprehensive compliance audits and provide implementation guidance for achieving and maintaining compliance.