AgentSkillsCN

legal-pages

英国/匈牙利潜在客户开发网站所需法律页面。隐私政策、Cookie政策。符合GDPR要求。双语模板(英/匈)。

SKILL.md
--- frontmatter
name: legal-pages
description: Required legal pages for UK/HU lead generation websites. Privacy Policy, Cookie Policy. GDPR compliant. Bilingual templates (EN/HU).

Legal Pages Skill

No legal pages = No production deploy.

Purpose

Produces GDPR-compliant legal pages. Templates only, not legal advice.

Scope

✅ Supported❌ Out of Scope
UK lead gen sitesE-commerce checkout
Hungarian lead gen sitesSaaS terms
Service business websitesMembership systems
Quote/contact formsPayment processing

Skill Output

ArtefactRequiredFormat
Privacy Policy✅ Always/privacy-policy.astro
Cookie PolicyIf cookies/cookie-policy.astro
Terms of ServiceIf booking/terms.astro
Business Details✅ AlwaysFilled in templates

Input Required

yaml
legal_info:
  country: UK | HU
  language: en | hu
  business_name: "Company Ltd"
  trading_name: "Brand Name"        # If different
  company_number: "12345678"        # If Ltd/Kft
  address: "Full registered address"
  email: "hello@domain.com"
  phone: "+44 1234 567890"
  vat_number: ""                    # Optional
  
cookies_used:
  analytics: true                   # GA4
  marketing: false                  # FB Pixel, Google Ads
  
form_fields:
  - name
  - email
  - phone
  - message

Blocking Conditions (STOP)

ConditionResult
Missing business_nameSTOP
Missing addressSTOP
Missing emailSTOP
Analytics true + no Cookie PolicySTOP
Country not UK/HUSTOP - different templates needed

Required Pages by Country

UK (English)

PageURLRegulator
Privacy Policy/privacy-policyICO (ico.org.uk)
Cookie Policy/cookie-policyICO

Hungary (Hungarian)

PageURLRegulator
Adatvédelmi Tájékoztató/adatvedelemNAIH (naih.hu)
Cookie (Süti) Szabályzat/cookie-szabalyzatNAIH

Form Consent Rules

Required Consent (kötelező)

astro
<!-- Privacy consent - REQUIRED for form submission -->
<label class="flex items-start gap-2">
  <input type="checkbox" name="privacyConsent" required />
  <span class="text-sm">
    <!-- EN -->
    I agree to the <a href="/privacy-policy">Privacy Policy</a>. *
    <!-- HU -->
    Elfogadom az <a href="/adatvedelem">Adatvédelmi Tájékoztatót</a>. *
  </span>
</label>

Optional Consent (opcionális)

astro
<!-- Marketing consent - MUST NOT be required -->
<label class="flex items-start gap-2">
  <input type="checkbox" name="marketingConsent" />
  <span class="text-sm">
    <!-- EN -->
    I agree to receive marketing communications.
    <!-- HU -->
    Hozzájárulok marketing célú megkeresésekhez.
  </span>
</label>

Rule: Marketing checkbox MUST NOT have required attribute.

Third-Party Services (categorized)

Analytics (require cookie consent)

ServicePrivacy Policy
Google Analyticspolicies.google.com/privacy
Plausibleplausible.io/privacy

Marketing (require cookie consent)

ServicePrivacy Policy
Facebook Pixelfacebook.com/privacy
Google Adspolicies.google.com/privacy

Infrastructure (no consent needed)

ServicePrivacy Policy
Cloudflarecloudflare.com/privacypolicy
Resendresend.com/legal/privacy-policy

Footer Links

astro
<!-- EN -->
<a href="/privacy-policy">Privacy Policy</a>
<a href="/cookie-policy">Cookie Policy</a>

<!-- HU -->
<a href="/adatvedelem">Adatvédelem</a>
<a href="/cookie-szabalyzat">Cookie szabályzat</a>

Must be visible on every page.

Cookie Banner

Cross-reference: astro-security skill handles cookie banner implementation.

This skill provides content only:

  • Cookie categories
  • Cookie descriptions
  • Consent text (EN/HU)

Legal Disclaimer

This skill provides templates, not legal advice.

Client must review and approve all legal content before production. After client approval, responsibility transfers to client.

Forbidden

  • ❌ Production without Privacy Policy
  • ❌ Analytics without Cookie Policy
  • ❌ Fake/placeholder business details
  • ❌ Required marketing consent checkbox
  • ❌ Missing form privacy consent
  • ❌ Copy from other website verbatim

References

Definition of Done

  • Privacy Policy exists (correct language)
  • Cookie Policy exists (if analytics/marketing)
  • Real business details included
  • Correct regulator referenced (ICO/NAIH)
  • Footer links on every page
  • Form privacy consent checkbox (required)
  • Marketing consent NOT required
  • Client reviewed and approved