skills/by-role/pm/compliance-auditor/SKILL.md
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
npx skillsauth add qa-aman/claude-skills compliance-auditorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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.
| Term | DPDP Definition | |------|----------------| | Personal data | Any data about an individual who is identifiable by or in relation to such data | | Data Principal | The individual whose personal data is being processed | | Data Fiduciary | The entity that determines the purpose and means of processing | | Data Processor | The entity that processes data on behalf of a Data Fiduciary | | Significant Data Fiduciary | A Data Fiduciary notified by the government based on volume/sensitivity of data | | Child | Individual below the age of 18 years |
| # | Obligation | Check | |---|-----------|-------| | 1 | Lawful purpose — Process data only for a lawful purpose for which Data Principal has given consent | Purpose stated in spec? Consent mechanism defined? | | 2 | Purpose limitation — Use data only for the purpose for which it was collected | Each data element has a stated purpose? No secondary use without fresh consent? | | 3 | Data minimization — Collect only data necessary for the stated purpose | Each element justified by a spec requirement? | | 4 | Accuracy — Ensure personal data is complete, accurate, and not misleading | Data validation rules defined? | | 5 | Retention limitation — Retain data only as long as necessary for the stated purpose, then erase | Retention period specified per data element? Erasure procedure defined? | | 6 | Reasonable security safeguards — Protect personal data with appropriate technical and organizational measures | Encryption at rest and in transit? Access control defined? |
| # | Requirement | Check | |---|------------|-------| | 1 | Free, specific, informed, unconditional, unambiguous consent with clear affirmative action | Consent UI/UX defined? Not bundled with T&C? | | 2 | Itemized consent — Separate consent for each purpose if multiple purposes exist | Separate consent per data processing activity? | | 3 | Consent withdrawal — Data Principal can withdraw consent at any time, as easily as giving it | Withdrawal mechanism defined and accessible? | | 4 | Notice before consent — Provide notice in clear, plain language describing data and purpose | Notice content defined? Available in English and scheduled Indian languages? |
| # | Right | Check | |---|------|-------| | 1 | Right to access — Summary of personal data being processed and processing activities | Access/download mechanism defined? | | 2 | Right to correction and erasure — Request correction of inaccurate/incomplete data, erasure of data no longer needed | Edit and delete workflows defined? | | 3 | Right to grievance redressal — Nominate a grievance officer, respond within prescribed time | Grievance officer designated? Response SLA defined? | | 4 | Right to nominate — Nominate another person to exercise rights in case of death/incapacity | Nomination mechanism considered? |
| # | Requirement | Check | |---|------------|-------| | 1 | Verifiable guardian consent — Before processing any child's data, obtain verifiable consent from parent/guardian | Guardian consent mechanism defined? Age verification present? | | 2 | No tracking or behavioral monitoring — Must not track, monitor, or do behavioral analysis of children | Feature does not profile children beyond stated purpose? | | 3 | No targeted advertising — Must not target advertising at children | No ad-related data collection or usage? | | 4 | No detrimental processing — Must not process data in a manner that causes detrimental effect to a child | No public ranking, shaming, or disadvantaging features? |
| # | Requirement | Check | |---|------------|-------| | 1 | Notify Data Protection Board — In the event of a personal data breach, inform the Board in prescribed manner | Breach notification procedure defined? | | 2 | Notify affected Data Principals — Inform each affected individual | User notification mechanism defined? |
| Violation | Maximum Penalty | |-----------|----------------| | Failure to take security safeguards (breach) | Rs 250 crore | | Failure to notify breach | Rs 200 crore | | Non-compliance with children's data provisions | Rs 200 crore | | Non-compliance with Data Fiduciary obligations | Rs 150 crore | | Non-compliance with additional Significant Data Fiduciary obligations | Rs 150 crore |
# 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}
development
Plan a webinar end-to-end using April Dunford's Obviously Awesome positioning framework to find the topic angle that makes the webinar obviously valuable to the right audience. Produces topic positioning, abstract, speaker brief, registration page, promotion sequence, day-of run-of-show, and post-webinar follow-up. Use when the user asks to plan a webinar, virtual event, online workshop, "we need a webinar on X", host a webinar, online masterclass, or any live virtual event with promotion and follow-up. Reads ICP, services, and brand voice from knowledge/.
development
Write long-form thought leadership articles, opinion pieces, industry POV essays, and CEO/founder bylines using the Made to Stick SUCCESs framework (Chip and Dan Heath). Use when the user asks for a long-form article, executive byline, opinion piece, industry POV, manifesto, "explain our point of view on X", or wants to publish an authority-building piece (1200-2500 words). Reads brand voice and positioning from knowledge/.
development
Plan a monthly content calendar across channels using the Content Marketing Matrix (Dave Chaffey, Smart Insights) - Entertain/Inspire/Educate/Convince. Every post gets a quadrant label. The monthly calendar must hit 40% Educate, 40% Inspire+Convince, 20% Entertain. Produces a week-by-week posting schedule with topics, formats, channels, and asset links. Use when the user says "content calendar", "social calendar", "plan next month's content", "what should we post", "content plan", "editorial calendar", "schedule posts for the month", or wants a structured posting plan for LinkedIn, Twitter, email, or blog. Reads brand voice, ICP, and past learnings from knowledge/.
development
Write SEO-optimized long-form articles targeting specific keywords using the They Ask You Answer Big 5 framework (Marcus Sheridan). Articles are categorized by Big 5 type (Cost, Problems, Versus, Best/Reviews, How-To) and structured accordingly. The "answer first" rule applies to every article. Use when the user asks for an SEO article, blog post for ranking, "rank for keyword X", organic content, search-optimized post, pillar page, or content for organic traffic. Includes keyword targeting, search intent matching, internal linking suggestions, and meta tags.