lawful-basis-assessment
Guides determination of the correct lawful basis under GDPR Article 6(1)(a)-(f) for each processing activity. Includes decision tree logic for consent vs…
от onfire7777★ 17 звёзд на GitHub
Установить lawful-basis-assessment в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Implementing Lawful Basis Assessment
Overview
Every processing activity under GDPR must have a valid lawful basis established before processing begins. Article 6(1) provides six mutually non-exclusive bases. Selecting the wrong basis creates compliance risk, may invalidate the processing entirely, and can result in enforcement action. This skill provides a systematic methodology for evaluating and documenting the appropriate lawful basis.
The Six Lawful Bases — Art. 6(1)
(a) Consent
The data subject has given consent to the processing of their personal data for one or more specific purposes.
Requirements per Art. 7 and Recital 32:
- Freely given: genuine choice, no imbalance of power, no conditionality (Art. 7(4))
- Specific: granular consent for distinct processing purposes
- Informed: clear plain language about identity, purpose, data types, rights
- Unambiguous: clear affirmative action (no pre-ticked boxes, no silence)
- Withdrawable: as easy to withdraw as to give (Art. 7(3))
Best suited for: Marketing communications, cookies/tracking, research participation, sharing data with third parties for their own purposes.
Not appropriate when: There is a power imbalance (employer-employee, public authority-citizen), processing is necessary for another basis, or withdrawal would be impractical.
(b) Contract Performance
Processing is necessary for the performance of a contract to which the data subject is party, or to take steps at the data subject's request prior to entering into a contract.
Key test: Would the contract be impossible to perform without this specific processing? The processing must be objectively necessary, not merely useful or standard practice.
Best suited for: Delivering purchased goods, processing payments, providing contracted services, pre-contractual enquiries at the data subject's request.
Not appropriate when: Processing is useful but not necessary for the contract (e.g., profiling customers is not necessary to deliver their order).
(c) Legal Obligation
Processing is necessary for compliance with a legal obligation to which the controller is subject.
Requirements:
- The obligation must be laid down by EU or Member State law (not contractual obligations)
- The law must be sufficiently clear about the processing required
- The processing must be limited to what is necessary to comply
Best suited for: Tax reporting, employment law obligations, anti-money laundering checks, regulatory reporting, court orders.
(d) Vital Interests
Processing is necessary to protect the vital interests of the data subject or of another natural person.
Requirements:
- Relates to life-or-death situations or serious medical emergencies
- Cannot be used if another lawful basis is available (Recital 46)
- Very narrow scope in practice
Best suited for: Emergency medical treatment for unconscious patients, disaster response, humanitarian crises.
(e) Public Task
Processing is necessary for the performance of a task carried out in the public interest or in the exercise of official authority vested in the controller.
Requirements:
- Must have a basis in EU or Member State law
- The specific task or function must be defined in law
- Primarily applies to public authorities and bodies
Best suited for: Public administration, law enforcement, statutory functions of public bodies, public health monitoring.
(f) Legitimate Interests
Processing is necessary for the purposes of the legitimate interests pursued by the controller or by a third party, except where such interests are overridden by the interests or fundamental rights and freedoms of the data subject.
Requirements (three-part test):
- Purpose test: Is there a legitimate interest? (commercial, societal, or individual)
- Necessity test: Is the processing necessary for that interest? (no less intrusive alternative)
- Balancing test: Do the data subject's interests override the controller's?
Best suited for: Fraud prevention, network security, direct marketing to existing customers, intra-group administrative transfers, internal analytics.
Not available to: Public authorities in the performance of their tasks (Art. 6(1) final paragraph).
Decision Tree for Lawful Basis Selection
Step 1: Is the processing required by law?
- YES → Art. 6(1)(c) Legal Obligation. Identify the specific law and provision.
- NO → Proceed to Step 2.
Step 2: Is the processing necessary to perform a contract with the data subject?
- YES → Art. 6(1)(b) Contract Performance. Verify objective necessity (not just convenience).
- NO → Proceed to Step 3.
Step 3: Is this a life-threatening or medical emergency?
- YES → Art. 6(1)(d) Vital Interests. Document why no other basis applies.
- NO → Proceed to Step 4.
Step 4: Is the controller a public authority performing a statutory function?
- YES → Art. 6(1)(e) Public Task. Identify the legal
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- assets/template.md
- references/standards.md
- references/workflows.md
- scripts/process.py
FAQ
Что делает скилл lawful-basis-assessment?
Guides determination of the correct lawful basis under GDPR Article 6(1)(a)-(f) for each processing activity. Includes decision tree logic for consent vs legitimate interest vs contract necessity. Activate when evaluating legal grounds for processing or reviewing lawful basis selections. Keywords: lawful basis, Article 6, consent, legitimate interest, legal obligation, contract.
Как установить скилл lawful-basis-assessment?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл lawful-basis-assessment запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
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…