{
  "id": "astro-static-seo-site",
  "type": "context-packs",
  "category": "context",
  "locale": "de",
  "url": "/de/context/astro-static-seo-site",
  "title": "Astro Statische SEO-Website — Kontextpaket",
  "description": "Ein kopierbares Kontextpaket, das eine statische Astro-SEO-Website beschreibt, damit ein KI-Agent von der ersten Eingabe an korrekt darin arbeiten kann.",
  "tools": [
    "Cursor",
    "Claude Code",
    "Codex"
  ],
  "stack": [
    "Astro",
    "Tailwind",
    "TypeScript"
  ],
  "tags": [
    "astro",
    "seo",
    "context-pack"
  ],
  "difficulty": null,
  "updated": "2026-06-08",
  "markdown": "Fügen Sie dies oben in eine Aufgabe ein, damit der Agent das Projekt versteht, bevor er etwas schreibt. Es ist so geschrieben, dass es von Menschen und von Ihrem Agenten gelesen werden kann.\n\n## Projekt-Hintergrund\n\n```txt\nA content-driven static site built with Astro. No database, no server runtime.\nContent lives in Markdown/MDX under src/content and is rendered to static HTML\nat build time. Deployed to Cloudflare Pages.\n```\n\n## Stack\n\n```txt\nAstro 6 (static output)\nMDX content collections (Content Layer API)\nTailwind CSS v4 (via @tailwindcss/vite)\nPagefind for static search\nTypeScript (strict)\n```\n\n## Verzeichnisstruktur\n\n```txt\nsrc/content/        # MDX content, one folder per collection\nsrc/content.config.ts\nsrc/layouts/        # BaseLayout, ResourceLayout\nsrc/pages/          # routes + .md/.json endpoints + llms.txt\nsrc/components/\n```\n\n## Programmierkonventionen\n\n```txt\n- Content is data: edits to copy should be MDX edits, not template changes.\n- Keep components in plain Astro; add a framework island only when needed.\n- Every resource page also emits a .md and .json version.\n- No client-side rendering of primary content — output HTML at build time.\n```\n\n## KI-Aufgabengrenzen\n\n```txt\n- Do not add a server adapter or database.\n- Do not break the .md/.json/llms.txt endpoints.\n- Validate frontmatter against the zod schema in content.config.ts.\n```\n\n## llms.txt\n\n```txt\nThis site publishes /llms.txt and a .md version of every page so agents can\nread content as clean Markdown instead of scraping HTML.\n```"
}