api-security
Use for authorized security assessment of REST, GraphQL, WebSocket, or SOAP APIs, including discovery, authentication,…
Build or review code for compliance with the EU AI Act, GDPR, the NIS2 Directive (EU 2022/2555), and secure-development (SSDLC) best practice. Three modes. REVIEW: audit a repo and produce an evidence-based gap analysis — triggers on "compliance review", "gap analysis", "NIS2
Claude Code
$ npx -y skills add leodisa/compliance-review-skill --skill compliance-review --agent claude-code
Codex
$ npx skills add leodisa/compliance-review-skill --skill compliance-review -a codex -y
Cursor
$ npx skills add leodisa/compliance-review-skill --skill compliance-review -a cursor -y
Gemini CLI
$ npx skills add leodisa/compliance-review-skill --skill compliance-review -a gemini-cli -y
GitHub Copilot
$ npx skills add leodisa/compliance-review-skill --skill compliance-review -a github-copilot -y
OpenCode
$ npx skills add leodisa/compliance-review-skill --skill compliance-review -a opencode -y
Windsurf
$ npx skills add leodisa/compliance-review-skill --skill compliance-review -a windsurf -y
name: compliance-review description: > Build or review code for compliance with the EU AI Act, GDPR, the NIS2 Directive (EU 2022/2555), and secure-development (SSDLC) best practice. Three modes. REVIEW: audit a repo and produce an evidence-based gap analysis — triggers on "compliance review", "gap analysis", "NIS2 check", "is this repo GDPR compliant", "security audit of the code". DESIGN/BUILD: apply the same requirements as compliance-by-design guardrails while writing new code, then self-check — triggers on "build X with GDPR/AI Act/NIS2 in mind", "compliant/secure/privacy by design". DATA MASKING: when the user shares a dataset (CSV, JSON, query result) that may contain personal data, never read it raw — ask whether to pseudonymise (keeps joins) or anonymise (k-anonymity), then protect it first — triggers on "anonymise/mask this data" or any dataset handed over for analysis. Use whenever code or data must meet a security/privacy/AI regulation, even if no framework is named. Advisory only, not legal advice. license: MIT
Help code **meet** the EU AI Act, the GDPR, the NIS2 Directive (EU 2022/2555), and secure-development (SSDLC) best practice — either by **reviewing** an existing repository or by **building it in from the start**. The EU frameworks are public legal texts (articles cited directly); the SSDLC pillar aligns with OWASP SAMM / ASVS and NIST SSDF. The reference files are the shared source of truth in all modes:
A codebase is only part of an organisation's compliance posture. NIS2 and GDPR are largely governance regimes — policies, risk treatment, training, and reporting to authorities live outside any code. Be honest about that boundary: address only what code can actually carry, and flag the rest as organisational.
legal advice. It helps prioritise and build correctly; it does not prove conformity.
a secret store — never committed or embedded. If you find a committed credential, report its location and that it must be rotated; do not print it.
The four references overlap on purpose — NIS2 Art. 21(2)(e), the SSDLC practices, and GDPR Art. 32 all touch SAST, dependency scanning, encryption, access control and vulnerability handling. Assess each underlying fact **once**: record the full finding (evidence, severity, remediation) in the **most specific section** — usually SSDLC for engineering practice, NIS2 for the legal measure, GDPR when personal data is the point — and in the other tables add a one-line cross-reference (e.g. "see SSDLC §2.2") instead of repeating it. Count each underlying gap **once** in the severity totals.
wants it done compliantly → **Design/build mode**.
personal data → **Data-masking mode** first, whatever else follows.
If both apply (e.g. "build this and then check it"), do Design/build first, then finish with a Review-mode self-check.
---
The goal is to bake the requirements in *while writing*, not to bolt them on later. The reference files stop being an audit checklist and become a **requirements list**.
Before writing, work out which requirements are live for this project:
data categories (and whether any are special-category, Art. 9). See `references/gdpr-quickcheck.md`.
applies — infer the likely risk class first. See `references/eu-ai-act.md`.
treat Art. 21 technical measures as the security floor. See `references/nis2.md`.
`references/secure-development.md` as the engineering baseline (environment separation, secure coding, SAST/dependency scanning, security testing).
State these as premises so the user can correct them.
Read the applicable reference file(s) and translate each relevant item into a concrete thing to implement. For example:
`.gitignore`; never hardcode.
expiry, least privilege); add MFA support where accounts matter.
password hashing (bcrypt/argon2).
for AI, log inferences (input/output/model version) for record-keeping.
retention path (GDPR Art. 5, 17) early, not later.
mark AI-generated content.
scanning into CI from the start.
parameterised queries by default, code review before release.
Prefer building the gu
A Claude Agent Skill that helps code meet the EU AI Act, the GDPR, the NIS2 Directive (EU 2022/2555), and secure-development (SSDLC) best practice — in three modes: Review — audit an existing repo and get a structured, evidence-based gap analysis: one table
Use for authorized security assessment of REST, GraphQL, WebSocket, or SOAP APIs, including discovery, authentication,…
Extract and decrypt Windows DPAPI-protected secrets (Credential Manager, browser logins/cookies, Wi-Fi credentials, KeePass keys)…
Clean and finalize authorized natural-language text intended for readers by auditing suspicious invisible Unicode and rewriting…