{
  "id": "astro-static-seo-site",
  "type": "context-packs",
  "category": "context",
  "locale": "fr",
  "url": "/fr/context/astro-static-seo-site",
  "title": "Pack de contexte pour site SEO statique Astro",
  "description": "Un pack de contexte copiable décrivant un site SEO statique Astro afin qu'un agent IA puisse y travailler correctement dès la première invite.",
  "tools": [
    "Cursor",
    "Claude Code",
    "Codex"
  ],
  "stack": [
    "Astro",
    "Tailwind",
    "TypeScript"
  ],
  "tags": [
    "astro",
    "seo",
    "context-pack"
  ],
  "difficulty": null,
  "updated": "2026-06-08",
  "markdown": "Collez ceci en haut d'une tâche pour que l'agent comprenne le projet avant d'écrire quoi que ce soit.\nIl est conçu pour être lu par les humains et par votre agent.\n\n## Contexte du projet\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 technique\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## Structure des répertoires\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## Conventions de codage\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## Limites des tâches IA\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```"
}