CO

compliance-auditor

Assesses feature specs for compliance with India's DPDP Act.

Install

mkdir -p .claude/skills/compliance-auditor && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/11519" && unzip -o skill.zip -d .claude/skills/compliance-auditor && rm skill.zip

Installs to .claude/skills/compliance-auditor

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Audit feature specs against India's Digital Personal Data Protection (DPDP) Act. Use this skill when: - Writing or reviewing any feature that handles user data (especially children's data) - Auditing a spec's Personal Information section for completeness - Checking a feature against DPDP Act 2023 requirements - Preparing compliance documentation before engineering review - Verifying masking, retention, and consent policies are defined for all PII
450 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Advanced

Key capabilities

  • Identify data elements from feature specifications.
  • Classify data elements as personal data under DPDP Act 2023.
  • Map personal data elements to applicable DPDP requirements.
  • Verify consent, purpose limitation, retention, and security policies.
  • Generate an audit report with gap analysis against DPDP Act 2023.
  • Audit features handling children's data against Section 9 requirements.

How it works

The skill audits feature specifications by identifying data elements, classifying them as personal data, mapping them to DPDP Act 2023 requirements, and verifying policies to generate a compliance report.

Inputs & outputs

You give it
Feature specification document
You get back
Compliance audit report against India's DPDP Act 2023

When to use compliance-auditor

  • Audit specs for DPDP compliance
  • Check PII data retention policies
  • Generate compliance audit report

About this skill

Compliance Auditor — DPDP Act 2023

Audit a feature specification against India's Digital Personal Data Protection Act 2023. Identifies personal data elements, maps them to DPDP sections, checks for consent/retention/security policies, and flags compliance gaps.

Workflow

  1. Read the feature spec — Focus on data elements, PII sections, compliance sections
  2. Identify data elements — Extract every data element from the spec
  3. Classify as personal data — Determine if each element is personal data under DPDP
  4. Map to DPDP sections — For each personal data element, identify applicable DPDP requirements
  5. Check policies — Verify consent, purpose limitation, retention, security, and deletion policies exist
  6. Generate audit report — Output the audit table and gap analysis

DPDP Act 2023 — Key Provisions

Definitions (Section 2)

TermDPDP Definition
Personal dataAny data about an individual who is identifiable by or in relation to such data
Data PrincipalThe individual whose personal data is being processed
Data FiduciaryThe entity that determines the purpose and means of processing
Data ProcessorThe entity that processes data on behalf of a Data Fiduciary
Significant Data FiduciaryA Data Fiduciary notified by the government based on volume/sensitivity of data
ChildIndividual below the age of 18 years

Obligations of Data Fiduciary (Section 8)

#ObligationCheck
1Lawful purpose — Process data only for a lawful purpose for which Data Principal has given consentPurpose stated in spec? Consent mechanism defined?
2Purpose limitation — Use data only for the purpose for which it was collectedEach data element has a stated purpose? No secondary use without fresh consent?
3Data minimization — Collect only data necessary for the stated purposeEach element justified by a spec requirement?
4Accuracy — Ensure personal data is complete, accurate, and not misleadingData validation rules defined?
5Retention limitation — Retain data only as long as necessary for the stated purpose, then eraseRetention period specified per data element? Erasure procedure defined?
6Reasonable security safeguards — Protect personal data with appropriate technical and organizational measuresEncryption at rest and in transit? Access control defined?

Consent Requirements (Section 6)

#RequirementCheck
1Free, specific, informed, unconditional, unambiguous consent with clear affirmative actionConsent UI/UX defined? Not bundled with T&C?
2Itemized consent — Separate consent for each purpose if multiple purposes existSeparate consent per data processing activity?
3Consent withdrawal — Data Principal can withdraw consent at any time, as easily as giving itWithdrawal mechanism defined and accessible?
4Notice before consent — Provide notice in clear, plain language describing data and purposeNotice content defined? Available in English and scheduled Indian languages?

Rights of Data Principal (Section 11-14)

#RightCheck
1Right to access — Summary of personal data being processed and processing activitiesAccess/download mechanism defined?
2Right to correction and erasure — Request correction of inaccurate/incomplete data, erasure of data no longer neededEdit and delete workflows defined?
3Right to grievance redressal — Nominate a grievance officer, respond within prescribed timeGrievance officer designated? Response SLA defined?
4Right to nominate — Nominate another person to exercise rights in case of death/incapacityNomination mechanism considered?

Children's Data (Section 9) — CRITICAL

#RequirementCheck
1Verifiable guardian consent — Before processing any child's data, obtain verifiable consent from parent/guardianGuardian consent mechanism defined? Age verification present?
2No tracking or behavioral monitoring — Must not track, monitor, or do behavioral analysis of childrenFeature does not profile children beyond stated purpose?
3No targeted advertising — Must not target advertising at childrenNo ad-related data collection or usage?
4No detrimental processing — Must not process data in a manner that causes detrimental effect to a childNo public ranking, shaming, or disadvantaging features?

Data Breach Notification (Section 8(6))

#RequirementCheck
1Notify Data Protection Board — In the event of a personal data breach, inform the Board in prescribed mannerBreach notification procedure defined?
2Notify affected Data Principals — Inform each affected individualUser notification mechanism defined?

Penalties (Section 33)

ViolationMaximum Penalty
Failure to take security safeguards (breach)Rs 250 crore
Failure to notify breachRs 200 crore
Non-compliance with children's data provisionsRs 200 crore
Non-compliance with Data Fiduciary obligationsRs 150 crore
Non-compliance with additional Significant Data Fiduciary obligationsRs 150 crore

Output Format

# DPDP Compliance Audit Report

**Spec:** {spec file}
**Feature:** {feature name}
**Audited:** {DD-MM-YYYY}
**Regulation:** Digital Personal Data Protection Act, 2023 (India)

## 1. Data Element Inventory

| # | Data Element | Category | Personal Data? | Source | Purpose | Retention |
|---|-------------|----------|---------------|--------|---------|-----------|
| 1 | User name | Identity | Yes | {spec section} | Personalization | Account lifetime |
| 2 | Usage duration | Activity | Yes (linkable) | {spec section} | Analytics | 2 years |

## 2. DPDP Compliance Check

| # | Data Element | DPDP Section | Requirement | Status | Gap |
|---|-------------|-------------|-------------|--------|-----|
| 1 | User name | S.6 | Consent — free, specific, informed | Compliant | — |
| 2 | User name | S.8(3) | Retention limitation | Gap | No retention period defined |
| 3 | User name | S.8(4) | Erasure after purpose fulfilled | Gap | No erasure workflow defined |
| 4 | Child age | S.9 | Verifiable guardian consent | Compliant | — |

## 3. Children's Data Audit (Section 9)

| # | Requirement | Status | Evidence | Gap |
|---|------------|--------|----------|-----|
| 1 | Guardian consent mechanism | Compliant/Gap | {description} | {if gap} |
| 2 | No tracking/behavioral monitoring | Compliant/Gap | {description} | {if gap} |
| 3 | No targeted advertising | Compliant/Gap | {description} | {if gap} |
| 4 | No detrimental processing | Compliant/Gap | {description} | {if gap} |

## 4. Data Principal Rights Check

| # | Right | DPDP Section | Mechanism Defined? | Status |
|---|------|-------------|-------------------|--------|
| 1 | Access | S.11 | {yes/no} | Compliant/Gap |
| 2 | Correction & Erasure | S.12 | {yes/no} | Compliant/Gap |
| 3 | Grievance Redressal | S.13 | {yes/no} | Compliant/Gap |
| 4 | Nomination | S.14 | {yes/no} | Compliant/Gap |

## 5. Masking & Security Audit

| # | Data Element | Masking Required? | Masking Method | At Rest Encryption | In Transit Encryption | Status |
|---|-------------|-------------------|----------------|--------------------|-----------------------|--------|

## 6. Summary

| Status | Count |
|--------|-------|
| Compliant | {N} |
| Needs Review | {N} |
| Gap (Must Fix) | {N} |

**Penalty Exposure:** {estimated based on gap severity}

## 7. Required Actions

### Gaps (Must Fix Before Review)
1. **{Data Element} — DPDP S.{section} — {Requirement}**
   Gap: {description}
   Fix: {specific action to add to the spec}
   Penalty risk: {relevant penalty from Section 33}

### Needs Review (Discuss with Legal)
1. **{Data Element} — DPDP S.{section}**
   Question: {what needs clarification}

Rules

  1. When in doubt, flag it — Classify uncertain data as personal data and flag for review
  2. Linkable data is personal data — Data linkable to a specific person (even via session ID) is personal data under DPDP
  3. Children = strictest requirements — Section 9 applies to all individuals under 18. No exceptions.
  4. Analytics events are data — Event tracking creates personal data about user behavior. Include in audit.
  5. Don't assume compliance — If a policy isn't explicitly stated in the spec, it's a gap
  6. Consent must be granular — Bundled consent (buried in T&C) does not satisfy Section 6
  7. Retention must be finite — "Account lifetime" is not acceptable without a defined account deletion policy

Anti-Patterns

  • Don't skip the children's data audit — Section 9 penalties are up to Rs 200 crore
  • Don't treat consent as a checkbox — DPDP requires free, specific, informed consent
  • Don't assume "anonymized" data is exempt — verify the anonymization is irreversible
  • Don't ignore Data Principal rights — access, correction, erasure, and grievance mechanisms are mandatory

Quality Checklist

  • Every data element from the spec is inventoried
  • Personal data classification applied to each element
  • DPDP sections mapped per element
  • Children's data audit completed (Section 9)
  • Data Principal rights check completed (Sections 11-14)
  • Consent mechanism verified (Section 6)
  • Retention periods specified (Section 8(3))
  • Security safeguards defined (Section 8(4))
  • Masking and encryption audit completed
  • Gaps have specific fix recommendations with penalty references

When not to use it

  • When auditing against data protection regulations other than India's DPDP Act 2023.
  • When only simple data element identification is needed without compliance checks.
  • When the feature specification does not handle user data.

Limitations

  • Audits specifically against India's Digital Personal Data Protection (DPDP) Act 2023.
  • Requires a feature specification that handles user data.
  • Relies on explicit policy statements within the spec for verification.

How it compares

This skill provides a structured, regulation-specific audit against the DPDP Act 2023, offering a detailed gap analysis and policy verification, unlike a general data review.

Compared to similar skills

compliance-auditor side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
compliance-auditor (this skill)04moNo flagsAdvanced
gdpr-dsgvo-expert87moReviewAdvanced
data-privacy-compliance47moNo flagsIntermediate
juicebox-data-handling027dReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

gdpr-dsgvo-expert

davila7

Senior GDPR/DSGVO expert and internal/external auditor for data protection compliance. Provides EU GDPR and German DSGVO expertise, privacy impact assessments, data protection auditing, and compliance verification. Use for GDPR compliance assessments, privacy audits, data protection planning, and regulatory compliance verification.

831

data-privacy-compliance

davila7

Data privacy and regulatory compliance specialist for GDPR, CCPA, HIPAA, and international data protection laws. Use when implementing privacy controls, conducting data protection impact assessments, ensuring regulatory compliance, or managing data subject rights. Expert in consent management, data minimization, and privacy-by-design principles.

418

juicebox-data-handling

jeremylongshore

Implement Juicebox data privacy and handling. Use when managing personal data, implementing GDPR compliance, or handling sensitive candidate information. Trigger with phrases like "juicebox data privacy", "juicebox GDPR", "juicebox PII handling", "juicebox data compliance".

011

ra-qm-skills

alirezarezvani

12 production-ready regulatory affairs and quality management skills for HealthTech/MedTech: ISO 13485 QMS, MDR 2017/745, FDA 510(k)/PMA, ISO 27001 ISMS, GDPR/DSGVO compliance, risk management (ISO 14971), CAPA, document control, and internal auditing. Python tools included (all stdlib-only). Works with Claude Code, Codex CLI, and OpenClaw.

13

fda-medtech-compliance-auditor

TJSNDHU

Expert AI auditor for Medical Device (SaMD) compliance, IEC 62304, and 21 CFR Part 820. Reviews DHFs, technical files, and software validation.

00

ccpa-compliance

TerminalSkills

>-

00

Search skills

Search the agent skills registry