legal-pages
创建包含法定内容的德/瑞士网站“关于我们”和“隐私政策”页面。提供符合DSG/DSGVO规定的模板。用于创建法律页面、检查合规性或用户请求“关于我们”、“隐私政策”、“法律页面”、“隐私政策”、“印记”。
📖 中文导读:创建包含法定内容的德/瑞士网站“关于我们”和“隐私政策”页面。提供符合DSG/DSGVO规定的模板。用于创建法律页面、检查合规性或用户请求“关于我们”、“隐私政策”、“法律页面”、“隐私政策”、“印记”。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: legal-pages description: Create Impressum and Datenschutz pages with legally required content for German/Swiss websites. Provides templates with all mandatory sections for DSG/DSGVO compliance. Use when creating legal pages, checking compliance, or user asks for "impressum", "datenschutz", "legal pages", "privacy policy", "imprint".
Legal Pages
Create compliant Impressum (Legal Notice) and Datenschutz (Privacy Policy) pages.
Workflow
- User provides company details (name, address, contact, UID, etc.)
- Create page files at
app/[locale]/impressum/andapp/[locale]/datenschutz/ - Add translations to messages/de.json and messages/en.json
- Simple text-based layout with Navbar2 and Footer16
Required Input
Ask user for:
- Company name and legal form
- Address (street, city, postal code, country)
- Contact (phone, email)
- UID/MwSt-Nummer (Switzerland) or USt-IdNr (Germany)
- Responsible person name
- Hosting provider name
- Analytics tools used (if any)
Page Structure
// app/[locale]/impressum/page.tsx
"use client";
import { useTranslations } from "next-intl";
import { Navbar2 } from "@/components/navbar2";
import { Footer16 } from "@/components/footer16";
export default function ImpressumPage() {
const t = useTranslations("impressum");
return (
<main>
<Navbar2 />
<section className="container py-24 max-w-3xl">
<h1 className="mb-8">{t("title")}</h1>
<h2>{t("companyInfo.title")}</h2>
<p>{t("companyInfo.content")}</p>
<h2>{t("contact.title")}</h2>
<p>{t("contact.content")}</p>
{/* More sections... */}
</section>
<Footer16 />
</main>
);
}
Templates
See references/impressum-template.md for required Impressum sections. See references/datenschutz-template.md for DSGVO/DSG privacy policy sections.
Legal Compliance
Swiss (DSG):
- UID-Nummer required
- DSG (Datenschutzgesetz) compliance
German/EU (DSGVO):
- § 5 TMG requirements
- DSGVO Art. 13/14 information duties
- User rights (Art. 15-22)
Styling
- Use
container max-w-3xlfor readable text width - No inline typography classes on headings
- Simple paragraph text, no complex components