ryan-nguyen-01/maestro/astro-knowledge-patch
Claude Code and agent skill by ryan-nguyen-01/maestro
- community
Checking that the SKILL.md file is still in the repository.
Astro changes since training cutoff (latest: 6.0) — Fonts API, live collections, CSP, route caching, ClientRouter, Zod 4/Vite 7/Shiki 4. Load before working with Astro.
Install
npx vskill@latest install ryan-nguyen-01/maestro/astro-knowledge-patchSKILL.md
The same SKILL.md was published earlier as ryan-nguyen-01/maestro/astro-knowledge-patch.
Astro Knowledge Patch (5.16 – 6.0)
Covers Astro 5.16 through 6.0 (December 2025 – March 2026). Claude Opus 4.6 knows Astro through 4.x. It is unaware of the features below.
Index
| Topic | Reference | Key features | |
|---|---|---|---|
| Breaking changes | references/breaking-changes.md | Node 22+, removed APIs, Zod 4, Vite 7, Shiki 4 | |
| Content & caching | references/content-and-caching.md | Live collections, retainBody, route caching (Astro.cache) | |
| Fonts & assets | references/fonts-and-assets.md | Built-in Fonts API, SVGO optimization, image background prop | |
| Security (CSP) | references/security.md | security.csp config, auto-generated hashes, directives |
Breaking Changes (6.0)
| Change | Detail | |
|---|---|---|
| Node.js minimum | 22+ (dropped 18 & 20) | |
| Removed APIs | Astro.glob(), emitESMImage(), <ViewTransitions /> (use <ClientRouter />) | |
| Content collections | Legacy content collections removed | |
| Zod | Upgraded to Zod 4 (Zod 3 no longer supported) | |
| i18n | i18n.redirectToDefaultLocale default behavior changed | |
| Dependencies | Vite 7, Shiki 4 |
Built-in Fonts API (6.0)
Configure fonts in astro.config with automatic self-hosting and optimized fallbacks:
Use the <Font /> component from astro:assets:
Providers: fontProviders.fontsource(), fontProviders.google().
Live Collections (6.0)
Real-time content collections that update without rebuilds:
Content Security Policy (6.0)
Astro auto-generates hashes for inline scripts/styles. Simple mode:
Full config at security.csp — see references/security.md.
Route Caching (6.0, experimental)
Platform-agnostic SSR response caching:
Auto-invalidates with live collections:
In API routes, use context.cache instead of Astro.cache.
Image Background Prop (5.17)
Control background color when converting to non-transparent formats:
Also works with getImage():
Smaller Additions
ActionInputSchema Utility Type (5.16)
Extract input schema from an action definition:
Experimental SVGO (5.16)
Automatic SVG optimization in the asset pipeline:
retainBody: false for glob() Loader (5.17)
Reduces data store size by omitting raw body from entry.body:
Rendered HTML remains available via entry.rendered.html.
Cloudflare: cloudflare:workers (6.0)
Replaces Astro.locals.runtime for accessing Cloudflare bindings:
Reference Files
| File | Contents | |
|---|---|---|
| breaking-changes.md | Node 22+, removed APIs, Zod 4, dependency upgrades | |
| content-and-caching.md | Live collections, retainBody, route caching | |
| fonts-and-assets.md | Fonts API, SVGO, image background prop | |
| security.md | CSP configuration and directives |
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingmaestro-enterprise/.claude/skills/astro-knowledge-patch/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ryan-nguyen-01/maestro/astro-knowledge-patch)