# Astro Sites Manager

> Comprehensive skill for building, migrating, and maintaining Astro v7 projects — full lifecycle, v6→v7 migration, Starlight, Pagefind, deploy to 8+ platforms.

- Category: DevOps
- License: Apache-2.0
- Install: `npx skills add fabricioctelles/skills -s astro-sites-manager`
- SKILL.md: https://skilldev.pro/.well-known/agent-skills/astro-sites-manager/SKILL.md

URL: https://skilldev.pro/en/skills/astro-sites-manager/

## Overview

Comprehensive skill for building, migrating, and maintaining Astro v7 projects. Covers the full lifecycle: best practices, v6→v7 migration with structured plan, validation of breaking/deprecated patterns, AI-enhanced dev server (background mode, JSON logging), advanced routing with `src/fetch.ts`, route caching, Sätteri Markdown, Rust compiler, Starlight docs, Pagefind search, SEO, testing, and deployment to 8+ platforms including Coolify.

## When to Use

- Build Astro sites
- Upgrade to Astro v7
- Deploy on Coolify/Vercel/Netlify/Cloudflare
- Validate breaking changes during migration
- Configure Starlight docs
- Set up Pagefind search
- Use background dev server as AI agent
- Configure route caching

## Installation

```bash
npx skills add https://github.com/fabricioctelles/skills -s astro-sites-manager
```

## Key Features

- **MCP Astro Docs integration** — real-time access to official documentation
- **10 reference files** covering migration, validation, testing, deployment, Starlight, and more
- **Coolify deployment guide** battle-tested with 17-project patterns
- **Feature detection** — v7 features activate only when available (safe on v6)

## Reference Categories

| Reference | Content |
|-----------|---------|
| Migration v6→v7 | Structured plan with breaking changes checklist |
| Validation | Deprecated patterns and removals |
| Dev Server | Background mode, JSON logging for agents |
| Routing | `src/fetch.ts`, route caching, Sätteri Markdown |
| Starlight | Docs configuration, sidebar, i18n |
| Pagefind | Integrated static search |
| Deploy | 8+ platforms with specific configs |
| Testing | Vitest, Playwright, CI/CD |

## Deploy Platforms

Coolify · Vercel · Netlify · Cloudflare Pages · AWS · Fly.io · Railway · Render

📄 [Full documentation on GitHub](https://github.com/fabricioctelles/skills/blob/main/skills/astro-sites-manager/SKILL.md)
