Astro Architecture

Astro v6 architecture — rendering modes (SSG/SSR/hybrid), routing, Content Collections Loader API, Zod v4 schemas, hydration directives, API routes, and Node 22+ setup. Use when creating or modifying .astro pages and layouts, configuring astro.config.mjs, setting up or querying content collections, choosing rendering strategy, or hitting v5→v6 migration errors (`entry.slug`, `entry.render()`, `getEntryBySlug`, `src/content/config.ts` all changed in v6). Load this skill before touching any .astro file or astro config.

casoon 6230f51 6.7 KB Updated

File contents

casoon/ai-agent-config/tree/main/skills/astro-architecture commit 6230f512dc

Frequently asked questions

npx skillmds@latest add casoon/astro-architecture