non-compliance
This skill should be used when the user asks to "check for non-compliance", "analyze GDPR compliance", "find CCPA violations", "check HIPAA compliance"…
от florianbuetow★ 22 звезды на GitHub
Установить non-compliance в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Non-Compliance Analysis (LINDDUN N2)
Analyze source code for regulatory non-compliance where data processing activities violate GDPR, CCPA, or HIPAA. Non-compliance results from missing technical controls, incorrect legal bases, or unimplemented data subject rights. This category has no STRIDE equivalent and is unique to privacy threat modeling.
Supported Flags
Read ../../shared/schemas/flags.md for full flag
documentation. This skill supports all cross-cutting flags.
| Flag | Non-Compliance-Specific Behavior |
|---|---|
--scope |
Default changed. Focuses on files containing data retention, deletion logic, consent management, cross-border transfers, age verification, and processing records. |
--depth quick |
Grep patterns only: scan for missing deletion endpoints, hardcoded retention, and cross-border transfers. |
--depth standard |
Full code read, check data lifecycle implementation against regulatory requirements. |
--depth deep |
Trace data flows across storage layers. Verify deletion cascades through databases, backups, caches, and logs. |
--depth expert |
Deep + regulatory audit simulation: assess compliance posture against GDPR, CCPA, and HIPAA article by article. |
--severity |
Filter output. Missing data subject rights are high; documentation gaps are medium. |
--fix |
Generate retention enforcement, deletion cascades, and consent management implementations. |
Framework Context
LINDDUN N2 -- Non-compliance
Non-compliance occurs when data processing activities violate applicable privacy
regulations. Read ../../shared/frameworks/linddun.md
for the full framework reference including regulatory mappings.
Privacy Property Violated: Regulatory Compliance | STRIDE Mapping: No equivalent | OWASP: A04:2021 (Insecure Design)
Workflow
Step 1 -- Determine Scope
- Parse
--scopeflag (default:changed). - Resolve to a concrete file list.
- Filter to relevant files: data retention logic, deletion handlers, consent management, user rights endpoints, data transfer configs, and age gates.
- Prioritize files containing: cleanup jobs, TTL configs, deletion endpoints, consent flows, data exports, and cross-region deployment configs.
Step 2 -- Analyze for Non-Compliance
Read each scoped file and assess regulatory compliance:
- Check data retention enforcement: Verify that data retention periods are defined, configurable, and enforced through automated cleanup.
- Assess deletion completeness: Verify that user deletion cascades through all storage layers (database, cache, logs, backups, third parties).
- Examine consent management: Check for valid consent collection, withdrawal mechanisms, and purpose-specific processing controls.
- Check cross-border transfers: Identify personal data flows to servers in non-adequate jurisdictions without transfer safeguards.
- Verify data subject rights: Confirm implementation of access, correction, deletion, portability, and restriction of processing endpoints.
- Assess age verification: Check for age gating where required (COPPA, GDPR Article 8).
At --depth deep or --depth expert, trace the complete data lifecycle and
verify compliance at every stage from collection through deletion.
Step 3 -- Report Findings
Output findings per ../../shared/schemas/findings.md.
Each finding needs: NCMPL-NNN id, title, severity (based on regulatory penalty
risk and affected data subjects), location with snippet, description of unmet
regulatory requirement, impact (penalties and liability), fix (technical control
implementation), and CWE/LINDDUN/regulatory article references.
Analysis Checklist
- Are data retention periods defined and enforced through automated cleanup jobs?
- Does user deletion cascade through all storage systems (DB, cache, logs, backups)?
- Is there a consent management system with collection, withdrawal, and purpose tracking?
- Are cross-border data transfers protected with adequate safeguards (SCCs, BCRs)?
- Are data subject rights implemented (access, export, deletion, restriction)?
- Does the system implement age verification for minors (COPPA, GDPR Article 8)?
- Is there a breach notification capability within 72 hours?
- Do hardcoded retention periods match the stated privacy policy?
What to Look For
- Missing data retention enforcement: No TTL, no cleanup jobs, no expiration.
- Grep:
retention|ttl|time.to.live|cleanup|purge|expire|cron.*delete|scheduled.*removal
- Grep:
- Incomplete deletion: User deletion that misses storage layers.
- Grep:
deleteUser|removeUser|eraseUser|destroyUser|delete.*account|purge.*user
- Grep:
- Missing consent withdrawal: No mechanism to revoke previously given consent.
- Grep: `withdraw.*consent|revoke.*consent|opt.out|u
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл non-compliance?
This skill should be used when the user asks to "check for non-compliance", "analyze GDPR compliance", "find CCPA violations", "check HIPAA compliance", "audit regulatory requirements", or mentions "non-compliance" in a privacy context. Maps to LINDDUN category N2. No STRIDE equivalent exists.
Как установить скилл non-compliance?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл non-compliance запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…