Compliance Audit Skill
Audit technical controls against compliance framework requirements.
Trigger Conditions
- Control mapping changes or evidence staleness >30 days
- Quarterly compliance review cycle
- User invokes with "compliance audit" or "control assessment"
Input Contract
- Required: Framework(s) to audit against (SOC 2, GDPR, FedRAMP, etc.)
- Required: Control mapping matrix
- Optional: Prior audit results, remediation status
Output Contract
- Control status report (compliant, gap, partial)
- Evidence inventory with freshness scores
- POA&M for open findings
- Compliance posture score
Tool Permissions
- Read: All configs, logs, access policies, encryption settings
- Write: Audit reports, evidence documentation
- Search: Control implementation evidence
Execution Steps
- Load control mapping matrix for target framework
- For each control, search for implementation evidence
- Verify evidence is current (not stale)
- Classify each control: compliant, partial, gap
- For gaps, create POA&M entries with owners and deadlines
- Calculate overall compliance posture score
- Generate audit report
Success Criteria
- Every control classified with evidence reference
- No evidence older than 30 days for continuous controls
- POA&M entries have assigned owners and deadlines
- Compliance score calculated
Escalation Rules
- Escalate if critical control gaps are found
- Escalate if evidence cannot be generated automatically
- Escalate if compliance score drops below threshold
Example Invocations
Input: "Audit SOC 2 Type II controls for the payment service"
Output: 47 controls assessed. 39 compliant, 5 partial (access reviews overdue, MFA not enforced for service accounts, log retention below 1yr for 2 services, encryption key rotation not automated, backup restore not tested). 3 gaps (no formal change management for DB, missing vendor risk assessment, incident response not tested). POA&M created with 30/60/90 day deadlines.
1---2name: compliance-audit3description: Audit technical controls against compliance framework requirements4---56# Compliance Audit Skill78Audit technical controls against compliance framework requirements.910## Trigger Conditions11- Control mapping changes or evidence staleness >30 days12- Quarterly compliance review cycle13- User invokes with "compliance audit" or "control assessment"1415## Input Contract16- **Required:** Framework(s) to audit against (SOC 2, GDPR, FedRAMP, etc.)17- **Required:** Control mapping matrix18- **Optional:** Prior audit results, remediation status1920## Output Contract21- Control status report (compliant, gap, partial)22- Evidence inventory with freshness scores23- POA&M for open findings24- Compliance posture score2526## Tool Permissions27- **Read:** All configs, logs, access policies, encryption settings28- **Write:** Audit reports, evidence documentation29- **Search:** Control implementation evidence3031## Execution Steps321. Load control mapping matrix for target framework332. For each control, search for implementation evidence343. Verify evidence is current (not stale)354. Classify each control: compliant, partial, gap365. For gaps, create POA&M entries with owners and deadlines376. Calculate overall compliance posture score387. Generate audit report3940## Success Criteria41- Every control classified with evidence reference42- No evidence older than 30 days for continuous controls43- POA&M entries have assigned owners and deadlines44- Compliance score calculated4546## Escalation Rules47- Escalate if critical control gaps are found48- Escalate if evidence cannot be generated automatically49- Escalate if compliance score drops below threshold5051## Example Invocations5253**Input:** "Audit SOC 2 Type II controls for the payment service"5455**Output:** 47 controls assessed. 39 compliant, 5 partial (access reviews overdue, MFA not enforced for service accounts, log retention below 1yr for 2 services, encryption key rotation not automated, backup restore not tested). 3 gaps (no formal change management for DB, missing vendor risk assessment, incident response not tested). POA&M created with 30/60/90 day deadlines.