#Astro
15 entries
Prompt to Add a Sitemap and robots.txt
AI agent prompt to add a dynamically generated sitemap.xml and a correct robots.txt to a Next.js or Astro project for better search indexing.
Prompt to Build an Astro Static SEO Site
Copy-paste prompt for scaffolding a fully optimized Astro static site with content collections, sitemap, og-images, and TypeScript.
Prompt to Generate OG Images at Build Time
AI agent prompt to generate per-page Open Graph images at build time in Astro or Next.js using Satori and sharp, with no external service.
AGENTS.md Rules for an Astro Static Site
A drop-in AGENTS.md for Astro static sites that keeps AI agents on-stack, prevents SSR drift, and enforces content collection conventions.
AI Coding Rules for SEO Content Sites
AGENTS.md rules for SEO-focused content sites that prevent duplicate metadata, enforce structured data, and keep agents from breaking crawlability.
AI Coding Rules for Static Site Performance
AGENTS.md rules for static site performance that enforce Core Web Vitals, image optimization, font loading, and prevent agents from shipping render-blocking resources.
Prompt-to-PR: Add a Sitemap and robots.txt
SOP for adding a dynamic XML sitemap and robots.txt to a Next.js or Astro project — correct lastmod, priority, and crawl rules for production SEO.
Prompt-to-PR: Add Pagefind Search to an Astro Site
The full SOP for adding static, zero-backend search to an Astro site with Pagefind — from first prompt to PR description.
Prompt-to-PR: Build a Static SEO Site with Astro
Complete SOP for scaffolding a content-driven static SEO site with Astro, Tailwind, MDX content collections, sitemap, and canonical tags from scratch.
Checklist for Reviewing AI-Generated SEO Pages
A human review checklist for SEO-targeted pages written by AI coding agents — metadata, structured data, canonical URLs, and Core Web Vitals for Astro and Next.js.
Checklist for Reviewing AI-Generated Tailwind UI
A human review checklist for Tailwind CSS UI components written by AI coding agents — accessibility, responsiveness, dark mode, and purge safety.
How to Fix AI Creating React Hydration Mismatches
AI agents generate React components that render different HTML on the server and client, triggering hydration errors and broken UI on first load.
How to Fix AI Ignoring SEO Metadata
AI agents scaffold Next.js and Astro pages without title tags, Open Graph metadata, or canonical URLs, shipping pages that are invisible to search engines and social crawlers.
AI Tool Directory — Context Pack
Copyable context pack for an AI tool directory site built with Astro and PostgreSQL, so agents understand the submission flow, tagging system, and content model from prompt one.
Astro Static SEO Site — Context Pack
A copyable context pack describing an Astro static SEO site so an AI agent can work in it correctly from the first prompt.