For Astro
Project Spine for Astro
Islands architecture, content collections, adapters — captured as agent rules.
Spine reads Astro content collections, islands, and adapter configuration and emits rules agents follow when editing marketing + docs sites at scale.
What Spine detects in a Astro repo
- Content collections and their schemas
- Framework islands (React, Vue, Svelte, Solid)
- Integrations pipeline
- Output mode (static, hybrid, server)
Get started
~ — spine inspect --repo .
$ npm install -g project-spine@next $ spine inspect --repo . ✓ detected Astro 5 $ spine compile --brief ./brief.md --repo . ✓ wrote AGENTS.md, CLAUDE.md, copilot-instructions.md
Templates that fit Astro
- docs-portalDocs site with content collections + versioning.
- saas-marketingContent-driven marketing site.
Guardrails Spine compiles for Astro
- Content schema rules enforced
- Island hydration decisions documented
- Core Web Vitals gates per route
- Search + sitemap contract