<< All versions

Skill v1.0.0

currentAutomated scan100/100
njt2810/claude-code-framework/compliance-status
──Details
PublishedNovember 15, 2026 at 08:35 AM
Content Hashsha256:adf8186e2e311a45...
Git SHA03a80d1937f5
──Files
Files (1 file, 4.3 KB)
SKILL.md4.3 KBactive
SKILL.md · 122 lines · 4.3 KB

name: compliance-status description: | TRIGGER when: the user wants a quick compliance health dashboard, asks "where are we on compliance", or needs to check what evidence has been collected and what's stale. DO NOT TRIGGER when: the user wants a full audit (use /compliance-audit) or data inventory (use /data-inventory). disable-model-invocation: true user_locked: true pinned: true metadata: version: "1.0.0"


Compliance Status Dashboard

When to Use

Lightweight read-only check on the project's compliance state. Designed to be fast — runs daily or weekly without modifying anything. For deep gap analysis, use /compliance-audit.

Procedure

Step 1 — Production-Tier Check

Read the project's own CLAUDE.md for a Production-tier: line (v2, written by /adopt) — falls back to the old Stream:/.claude/stream detection for a v1 project not yet re-adopted. If not production-tier: STOP. Compliance is for production-tier projects only.

Step 2 — Read Compliance Files

Read these in parallel (if they exist):

  • wiki/compliance/gaps.md — latest audit results
  • wiki/compliance/evidence-index.md — collected evidence
  • wiki/compliance/data-inventory.md — PII inventory
  • wiki/compliance/vendor-register.md — vendor list
  • wiki/compliance/soc2-controls.md — SOC 2 control matrix
  • wiki/compliance/audit-logging.md — audit log config
  • wiki/operations/calendar.md — upcoming review dates
  • wiki/legal/privacy-policy.md — verify exists and not stale
  • wiki/legal/dpa.md — verify exists and not stale

If any file is missing, note it as a gap.

Step 3 — Calculate Health Metrics

MetricCalculation
Days since last auditToday - latest audit date in gaps.md
Open gapsCount FAIL + PARTIAL in latest audit
Evidence freshnessCount evidence items last verified > 90 days ago
Vendor reviews dueVendors with review_date < today
Documents needing reviewFiles in wiki/legal/ with "DRAFT" header still present
PII fields without retentionRows in data-inventory.md with "TODO" in retention column

Step 4 — Check Audit Logging Activity

If audit log helper exists (src/lib/audit-log.ts or src/audit_log.py):

  • Check the helper file is still wired (not stubbed)
  • If a audit-logs/ directory exists locally, check the latest file timestamp
  • Report whether logging appears active

Step 5 — Print Dashboard

Compliance Status — {project name}
Realm: {realm-key, or "one-off"} Updated: {YYYY-MM-DD HH:MM}
📊 Overview
Days since last audit: {N} ({status: 🟢 < 90 🟡 90-180 🔴 > 180})
Open gaps: {N} ({severity breakdown})
Evidence items collected: {N}
Evidence > 90 days stale: {N}
Vendor reviews due: {N}
Documents pending lawyer: {N}
PII fields w/o retention: {N}
📁 Coverage
Data inventory: {exists / MISSING}
Vendor register: {N} vendors tracked
Security policies: {N/10} in wiki/compliance/policies/
Legal docs: {N/4} in wiki/legal/ (privacy/tos/dpa/cookie)
Audit logging: {ACTIVE / SCAFFOLD / MISSING}
📅 Upcoming
{Date}: Review {vendor X}
{Date}: Re-audit ({90 days from last})
{Date}: Annual privacy policy review
🔥 Top 3 actions
1. {action} — {why}
2. {action} — {why}
3. {action} — {why}

Step 6 — No Writes

This skill ONLY reads. It writes nothing.

For modifications, suggest the right skill:

  • "Run /compliance-audit to update gap analysis"
  • "Run /data-inventory to refresh PII map"
  • "Run /vendor-review {name} for stale vendors"
  • "Run /legal-docs {type} for missing legal docs"

Pitfalls

  • Treating this as a replacement for /compliance-audit — it's a dashboard, not an audit
  • Forgetting to refresh evidence after collecting it — the dashboard will show false staleness
  • Running on a non-production-tier project — meaningless, returns nothing useful
  • Not running it often enough — quarterly is too slow for production. Weekly or per-session is right.

Verification

  • All compliance files read (or noted as missing)
  • Dashboard printed with all metrics
  • Top 3 actions clearly stated
  • No files were modified by this skill
  • Stale items have a recommended skill to address them
All versions