{
  "id": "astro-static-seo-site",
  "type": "context-packs",
  "category": "context",
  "locale": "es",
  "url": "/es/context/astro-static-seo-site",
  "title": "Sitio SEO Estático Astro — Paquete de Contexto",
  "description": "Un paquete de contexto copiable que describe un sitio SEO estático de Astro para que un agente de IA pueda trabajar en él correctamente desde el primer prompt.",
  "tools": [
    "Cursor",
    "Claude Code",
    "Codex"
  ],
  "stack": [
    "Astro",
    "Tailwind",
    "TypeScript"
  ],
  "tags": [
    "astro",
    "seo",
    "context-pack"
  ],
  "difficulty": null,
  "updated": "2026-06-08",
  "markdown": "Pega esto al inicio de una tarea para que el agente entienda el proyecto antes de escribir nada. Está escrito para ser leído por humanos y por tu agente.\n\n## Antecedentes del Proyecto\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## Estructura de Directorios\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## Convenciones de Codificación\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## Límites de Tareas de 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```"
}