Communitygithub.com

legal-web-de

Build and audit websites for the German market so they avoid common legal pitfalls (DSGVO/GDPR, § 25 TDDDG cookies, § 5 DDG Impressum, MStV, VSBG). Use when building or reviewing a website, landing page, shop or web app for Germany, or when the user mentions Impressum, Datenschutz, Datenschutzerklärung, DSGVO, GDPR Germany, Cookie-Banner, Consent, Abmahnung, Google Fonts, rechtssicher or "legal" for a German site.

legal-web-de とは?

legal-web-de is a Claude Code agent skill that build and audit websites for the German market so they avoid common legal pitfalls (DSGVO/GDPR, § 25 TDDDG cookies, § 5 DDG Impressum, MStV, VSBG). Use when building or reviewing a website, landing page, shop or web app for Germany, or when the user mentions Impressum, Datenschutz, Datenschutzerklärung, DSGVO, GDPR Germany, Cookie-Banner, Consent, Abmahnung, Google Fonts, rechtssicher or "legal" for a German site.

対応✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Vanish-pixel/legal-web-de/tree/HEAD/legal-web-de

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

legal-web-de — rechtssichere Websites für Deutschland

This skill makes Claude build German websites that are technically privacy-friendly from the first line of code, and find and fix the usual Abmahn-traps in existing projects.

This is not legal advice. The skill handles the technical side (what loads, when, from where) and the structure of mandatory pages. Final legal texts (Datenschutzerklärung, AGB, Widerrufsbelehrung) must come from a lawyer or a maintained generator (e.g. eRecht24, IT-Recht Kanzlei, Händlerbund, activeMind). Say this once in your reply whenever you create or change legal pages — briefly, not as a wall of disclaimers.

Rechtsstand of this skill: see references/checkliste.md (header). If the user's question concerns a rule that may have changed since then, look it up before answering.

Two modes

1. Build mode — new site or new feature

Apply these defaults without being asked. They cost nothing and remove most risks:

  1. No third-party requests before consent. Everything the page needs on first load comes from the site's own origin: fonts, icons, CSS/JS libraries, images, avatars.
    • Fonts: self-host (@fontsource/* npm packages or downloaded woff2 files + @font-face). Never fonts.googleapis.com / fonts.gstatic.com.
    • Libraries: install via npm and bundle, or copy into /vendor. No jsDelivr/unpkg/cdnjs links.
  2. Embeds are two-click. YouTube, Vimeo, Google Maps, Spotify, Instagram, X/Twitter, TikTok, Discord widgets → placeholder with a short notice; the iframe loads only after the user clicks. Use assets/two-click.js.
  3. Analytics/marketing only after opt-in. Prefer no tracking or cookieless, self-hosted analytics. If tracking is needed, load it through a consent manager with an equally prominent "Ablehnen" button. Use assets/consent.js for simple sites; for shops or many vendors recommend an established CMP.
  4. Mandatory links on every page, reachable in max. two clicks and never hidden behind the cookie banner: Impressum and Datenschutz in the footer, plus Cookie-Einstellungen if consent is used. Label them exactly like that (not "Legal", "Rechtliches" alone is weak).
  5. Forms: collect only needed fields (Datenminimierung), mark required fields, link the Datenschutzerklärung next to the submit button, no pre-ticked checkboxes, HTTPS only. Newsletter = Double-Opt-In. Spam protection: honeypot, ALTCHA or Friendly Captcha instead of Google reCAPTCHA.
  6. Impressum page from references/impressum.md. Ask the user for the real data; never invent addresses, register numbers or tax IDs — use clearly marked placeholders like [STRASSE HAUSNUMMER].
  7. Datenschutz page: create the structure from references/datenschutz.md and fill in only facts you know from the code (hoster, which services, which forms). Tell the user to generate/verify the final text.
  8. Shops / paid offers: also need AGB, Widerrufsbelehrung + Muster-Widerrufsformular, Preisangaben inkl. MwSt. + Versandkosten, "zahlungspflichtig bestellen" button, Kündigungsbutton for subscriptions, VSBG notice. Point this out and use placeholders — do not write AGB yourself.

2. Audit mode — existing project

  1. Run the scanner: node scripts/scan.mjs <project-dir> (no dependencies; --json for machine output; exits with code 1 if high-severity findings exist, so it can run in CI).
  2. Read the findings, then open the flagged files to confirm — the scanner is pattern-based and can produce false positives (e.g. a URL in a comment) and cannot see what a CMS loads at runtime.
  3. Also check manually what the scanner can't: cookie banner design (see checklist § Consent), whether scripts are really blocked before consent, Impressum content, whether the site is "geschäftsmäßig".
  4. Report to the user grouped by severity: Hoch (typical Abmahnung/Bußgeld risk), Mittel, Hinweis. One line per issue: what, where, why, fix.
  5. Offer to fix. When fixing, use the snippets in references/fixes.md and the files in assets/. Re-run the scanner afterwards.

Key facts to get right

  • Impressum: § 5 DDG (Digitale-Dienste-Gesetz, since 14 May 2024 — replaced § 5 TMG). Journalistic-editorial content (blogs, news): additionally § 18 Abs. 2 MStV (verantwortliche Person).
  • Cookies/device access: § 25 TDDDG (formerly TTDSG). Opt-in for everything not strictly necessary. localStorage, pixels and fingerprinting count too.
  • Personal data (incl. IP addresses sent to third parties): DSGVO. Loading Google Fonts from Google's servers without consent was ruled unlawful (LG München I, 20.01.2022, 3 O 17493/20) and triggered a wave of Abmahnungen.
  • OS-Plattform link: remove it. The EU ODR platform was shut down on 20 July 2025; the old link obligation is gone and a leftover link is itself a risk. The VSBG notice (§ 36 VSBG) on willingness to take part in Verbraucherschlichtung still applies to businesses with more than 10 employees.
  • Purely private sites (no commercial purpose, no ads/affiliate links, no selling) generally need no Impressum, but a Datenschutzerklärung is still needed as soon as personal data is processed (server logs count). When unsure whether a site is "geschäftsmäßig", say it is safer to add an Impressum.
  • Barrierefreiheit: since 28 June 2025 the BFSG applies to many B2C e-commerce services (micro-enterprises with < 10 employees and ≤ 2 Mio € turnover offering services are exempt). For shops, mention it and build accessibly anyway (semantic HTML, contrast, keyboard, alt texts).

Output rules

  • Write user-facing legal page content in German.
  • Never claim a site is "abmahnsicher", "100 % rechtssicher" or "DSGVO-konform" — say "die typischen technischen Risiken sind behoben".
  • Keep placeholders visibly marked so they can't go live unnoticed.

関連スキル