
fuse-astro
Astro 7 expert that covers Islands Architecture, Content Layer, Actions, and multi-framework integration.
- version
- 1.0.18
- GitHub stars
- 36
What it does
- Adds an
astro-expertagent plus 14 skills, includingastro-7,astro-actions,astro-content, andastro-islands - Covers output modes, Server Actions via
defineAction, typed collections incontent.config.ts, and Astro DB with Turso - Provides assets, i18n, SEO, security, Starlight docs, styling, deployment to Cloudflare, Vercel, Netlify, or Node.js, and
solid-astrointegration - Designed for developers building Astro 7 sites that need framework-specific guidance on islands, actions, and content
Expert Astro 7 with Islands Architecture, Content Layer API, Server Actions, Server Islands, UI framework integrations (React/Vue/Svelte/Solid), SEO, Starlight docs, i18n, and deployment
Add marketplace
/plugin marketplace add fusengine/agentsRun it inside Claude Code once, then install the plugin below.
Install
/plugin install fuse-astro@fusengine-pluginsRun it inside Claude Code after adding the marketplace.
Files
Discovered from sourceCovers initial project setup and migration from Astro 5/6, including breaking changes and Node 22.23.4+ requirements (the floor rose within Astro 7: 22.12 at 7.0, 22.22 at 7.4.0, 22.23.4 at 7.4.7). Does not cover Content Layer API details (astro-content), Server Actions (astro-actions), Islands hydration directives (astro-islands), UI framework integrations (astro-integrations), or deployment adapters (astro-deployment) — those live in their own skills.
Astro 7 Expert
Production-ready web framework for content-driven sites with unified dev runtime and Islands Architecture.
Agent Workflow (MANDATORY)
Before ANY implementation, spawn 3 agents in parallel, one Agent call each with a name:
- fuse-ai-pilot:explore-codebase - Analyze existing routes, layouts, and config
- fuse-ai-pilot:research-expert - Verify latest Astro 7 docs via Context7/Exa
- mcp__context7__query-docs - Check breaking changes v6→v7
After implementation, run fuse-ai-pilot:sniper for validation.
Overview
When to Use
- Building new content-driven websites or blogs
- Migrating from Astro 6 to version 7
- Configuring static or server output (hybrid = per-route
prerender) - Setting up middleware for auth or redirects
- Leveraging the new Rust compiler for large sites
- Implementing Content Security Policy (CSP) headers
Why Astro 7
| Feature | Benefit |
|---|---|
| Unified Dev Runtime | Dev matches production — fewer "works in dev, breaks in prod" bugs |
| Vite Environment API (Vite 8) | Exact production runtime during development |
| Single Rust Compiler | Go compiler removed — one Rust compiler for .astro files, with strict HTML parsing (unclosed tags now error instead of being silently auto-corrected) |
| Live Content Collections | Real-time data from external sources |
| Built-in Fonts API (stable) | Zero-config font loading with performance optimization |
| CSP Support (stable) | Built-in Content Security Policy nonce management |
| Cloudflare Workers | First-class support with workerd runtime in dev |
| Route caching (stable in 7.0) | Top-level cache + routeRules, Astro.cache.set({ maxAge, swr, tags }) |
| Advanced Routing (7.0) | Optional src/fetch.ts entrypoint (astro/fetch, astro/hono) |
Core Concepts
Output Modes
| Mode | Description | Use Case |
|---|---|---|
static (default) | All pages prerendered at build | Blogs, docs, marketing |
server | All pages rendered on demand | Apps, dashboards, auth |
Hybrid (not an output value) | static or server + per-route export const prerender | Most production sites |
Routing
- File-based routing —
src/pages/maps directly to URLs - Dynamic routes —
[slug].astro,[...all].astro - Per-route prerender —
export const prerender = false/true - Endpoints —
.ts/.jsfiles insrc/pages/for API routes
Reference Guide
| Need | Reference |
|---|---|
| Initial setup | installation.md |
| Routing patterns | routing.md |
| Output configuration | output-modes.md |
| Middleware setup | middleware.md |
| astro.config.ts | config.md |
| New Astro 7 features | new-features.md |
| Full project setup | templates/basic-setup.md |
| Config examples | templates/config-example.md |
Best Practices
- Use
output: 'static'by default — Add server only when needed - Per-route
prerender— Fine-grained hybrid control (outputonly accepts'static' | 'server'; there is no'hybrid'value) - Middleware for cross-cutting concerns — Auth, redirects, headers
- No compiler flag needed — the Rust compiler is the only compiler now (Go removed); watch for strict HTML parsing errors on unclosed tags
- CSP hashes — Use built-in stable
security.csp(hash-based, plus theAstro.cspruntime API) instead of custom headers - Node 22.23.4+ required (current floor per the install docs; Node 24/26 LTS are fine, odd-numbered versions are unsupported) — and keep
typescripton 5.x/6.x:@astrojs/check0.9.x peers^5 || ^6, so TypeScript 7 (tsgo, npmlatest) is not supported byastro check(see installation.md)
From the fusengine/agents README
Fusengine Claude Code Plugins
A plugin ecosystem that turns Claude Code into a supervised, multi-agent development environment. Expert agents write code, hooks enforce quality in real-time, skills inject framework-specific knowledge, and intelligent cartography auto-maps plugins and projects — so Claude never guesses, never duplicates, and always follows your architecture.
Statusline
Demo: the hook → agent → sniper cycle
Scripted demo — a faithful reconstruction of the real hook → agent → sniper cycle. Regenerate with
vhs docs/demo/hook-sniper.tape.
What It Does
Without plugins: Claude Code writes code based on its training data. It can hallucinate APIs, duplicate existing code, ignore your project structure, and produce inconsistent quality.
With Fusengine plugins:
- Expert agents detect your project type (Next.js, Laravel, React, Astro, Swift...) and load framework-specific documentation via MCP servers before writing a single line
- 60+ hook checks intercept Write/Edit/Bash and agent/session lifecycle events to enforce file-size limits (<100 lines), block code duplication (DRY), require SOLID reference reads, gate documentation lookup, and block destructive shell commands
- 240 skills inject copy-paste-ready templates, architecture patterns, and best practices directly into agent context — no hallucination needed
- APEX workflow structures every task through Analyze → Plan → Execute (TDD) → Review → Validate — preventing the "just write code and hope" approach
- Sniper agent — a 7-phase post-edit quality check (explore → research → grep usages → lint → fix → zero errors) the APEX workflow invokes after every modification
Quick Install
# Add marketplace
/plugin marketplace add fusengine/agents
# Install all plugins
/plugin install fuse-ai-pilot fuse-commit-pro fuse-laravel fuse-nextjs fuse-react fuse-astro fuse-swift-apple-expert fuse-solid fuse-tailwindcss fuse-design fuse-prompt-engineer fuse-shadcn-ui fuse-security fuse-changelog fuse-lessons fuse-tanstack-start fuse-typescript fuse-php fuse-rust fuse-go fuse-motion fuse-hermes fuse-devops fuse-statusline # fuse-statusline: responsive status line mod, replaces the classic one (the installer can also set it up)
# Setup (hooks + API keys + MCP servers)
~/.claude/plugins/marketplaces/fusengine-plugins/setup.sh # macOS / Linux
~\.claude\plugins\marketplaces\fusengine-plugins\setup.ps1 # Windows
Statusline (optional): the fuse-statusline mod is the recommended option — the installer offers it (default yes) and it replaces the classic status line. The classic statusline stays available and is configured with:
bun --cwd ~/.claude/plugins/marketplaces/fusengine-plugins/plugins/core-guards/statusline run config
How It Works
User prompt → Hook detects project type → Expert agent activated
→ Hook loads SOLID references → Agent reads docs via MCP
→ Hook blocks if DRY violation → Agent writes code
→ Hook checks file size → Agent runs Sniper validation
→ Commit gate blocks on lint/type errors → Commit with version bump
Every step is intercepted. Claude cannot skip research, cannot duplicate code, cannot exceed file size limits, and cannot commit with lint or type errors.
Plugins
Development — Framework Expert Agents
Each plugin provides an expert agent that auto-activates when it detects the framework in your project. The agent has access to official documentation via MCP servers and follows SOLID principles enforced by hooks.
| Plugin | Detects | What the agent does |
|---|---|---|
| fuse-nextjs | next.config.* | App Router, RSC, Prisma 7, Better Auth, proxy.ts patterns |
| fuse-laravel | composer.json + artisan | Eloquent, Livewire, Blade, queues, Sanctum, Stripe Connect |
| fuse-react | package.json + React | React 19 hooks, TanStack Router/Form, Zustand stores |
| fuse-astro | astro.config.* | Islands, Content Layer, Actions, SEO, Starlight, i18n |
| fuse-swift-apple-expert | Package.swift | SwiftUI, concurrency, Apple Intelligence, system frameworks, Metal, media; all Apple platforms (iOS → visionOS) |
| fuse-tailwindcss | tailwind.config.* | v4.1 CSS-first config, @theme, @utility, OKLCH colors |
| fuse-design | Any UI task | Gemini Design MCP + shadcn/ui + WCAG 2.2 accessibility |
| fuse-shadcn-ui | components.json | Radix/Base UI detection, registry, theming, migration |
| fuse-tanstack-start | @tanstack/react-start | Server functions, selective SSR, middleware, server routes, Nitro deploy |
| fuse-typescript | tsconfig.json (no framework) | Pure TS 6.0, Node 24 LTS / Bun 1.3, strict typing, ESM packaging |
| fuse-php | composer.json (no artisan) | PHP 8.5, PER-CS 3.0, PHPStan, PSR, Slim / Symfony components |
| fuse-rust | Cargo.toml | Rust 1.96+, 2024 edition, ownership, tokio / axum, clippy-clean |
| fuse-go | go.mod | Go 1.26+, concurrency, backend services, golangci-lint v2 |
Quality & Security — Automated Enforcement
| Plugin | What it enforces |
|---|---|
| fuse-ai-pilot | APEX workflow orchestration, 7-phase sniper validation, DRY detection via jscpd, 4-level cache (60-75% token savings) |
| fuse-security | OWASP Top 10 scanning, CVE research via NVD/OSV.dev, dependency audit, secrets detection, auth patterns audit |
| fuse-solid | Files < 100 lines, interface separation, JSDoc mandatory — auto-detected for TypeScript, PHP, Swift, Go, Java, Ruby, Rust |
Productivity — Automation
| Plugin | What it automates |
|---|---|
| fuse-commit-pro | Conventional commits with security check, auto version bump, CHANGELOG, git tag — with a pre-commit secret-pattern scan |
| fuse-prompt-engineer | Prompt creation with CoT/Few-Shot/Meta-Prompting, A/B testing, 50+ template library, agent design |
| fuse-cartographer | Intelligent cartography: auto-generates navigable maps of plugins and projects at SessionStart with merge-preserving enrichment — agents navigate via linked index trees, /map --enrich completes descriptions from source frontmatter |
| fuse-changelog | Monitors Claude Code updates, detects breaking changes in plugins, gathers community feedback via Exa |
| fuse-lessons | Per-project "never reproduce" memory — writes compact timestamped lessons to MEMORY/LESSON.md after code edits and force-reads them at session/subagent start so mistakes don't recur across sessions |
| fuse-motion | Product motion films and demos — brief lock, beat map, deterministic HTML scenes rendered to mp4/GIF; owner gates on stills and draft, independent critic review |
| fuse-hermes | Nous Research Hermes Agent deployments — from a free-form description of your organisation to a verified chief-of-staff install over SSH: profile, delegation, cron, gateways, security, mail triage, dry run, one go, rollback |
| fuse-statusline | Responsive statusline mod above the prompt — pill cards on the desktop app, classic segments on the terminal; cache hit/expiry timer, 5h/7d usage, effort — replaces the classic status line |
Infrastructure & Operations — Self-Hosted Expert
| Plugin | Detects | What the agent does |
|---|---|---|
| fuse-devops | Infrastructure repos only: *.tf / *.tofu, ansible.cfg, Chart.yaml, kustomization.yaml, *.pkr.hcl, .sops.yaml (a lone Dockerfile or docker-compose.yml in an application repo does not route here) | Docker/Compose, Kubernetes workloads and clusters, Linux, networking, OPNsense, Proxmox VE, KVM/Incus, OpenStack, Terraform/OpenTofu, Ansible, CI/CD, observability, storage and backup, secrets, databases — discovery, dry-run, one go, verify, rollback; no public clouds |
Core (auto-installed, always active)
| Plugin | What it guards |
|---|---|
| core-guards | Blocks git push --force, rm -rf, npm install without lock, enforces SOLID file limits, tracks session state, DRY duplication blocking — also bundles token-optimization hooks (MCP verbosity caps, MCP + WebFetch disk cache, SessionStart cleanup) |
| claude-rules | Injects APEX/SOLID/DRY rules into every prompt so Claude never forgets the methodology |
Key Features
| Feature | How it prevents mistakes |
|---|---|
| APEX Workflow | Forces Analyze before coding — no more "let me just write this real quick" |
| Agent Teams | Parallel agents with exclusive file ownership — no merge conflicts |
| DRY Detection | Blocks Write/Edit if function/class name already exists — forces import or shared extraction |
| SOLID Hooks | Denies file save if >100 lines or missing SOLID reference read |
| Sniper Validation | 7-phase post-edit check: explore → research → grep → lint → fix → zero errors |
| 4-Level Cache | Caches exploration, docs, lessons, tests — 60-75% token savings |
| Token-efficient by default | Caps MCP verbosity (Context7/Exa numResults≤3, tokens≤2000), disk cache for MCP results + WebFetch with TTL (48h / 24h) and ripgrep lookup, auto-cleanup at SessionStart — typically saves ~150-200 KB per research-heavy session |
| 23 MCP Servers | Context7, Exa, Astro docs, Gemini Design, shadcn, fuse-browser, and more |
| Smart Commits | Security scan before commit, auto version bump, CHANGELOG, shields.io badge sync |
Documentation
| Section | Content |
|---|---|
| Getting Started | Installation, configuration, first steps |
| Workflow | APEX methodology, agents, skills, commands |
| Plugins | Per-plugin documentation and skills |
| Reference | Architecture, hooks, MCP servers, cache system |
License
MIT
Details
- Marketplace
- fusengine/agents
- Source
- plugins/astro-expert
- Author
- Fusengine
- Category
- Development
- License
- MIT
- Keywords
- astro, astro-7, islands-architecture, content-layer, server-islands, server-actions, react, vue, svelte, solid-js, mdx, starlight, i18n, seo, deployment, cloudflare, vercel
- Listed since
- Apr 7, 2026
More from fusengine/agents
All 26- fuse-cartographerv1.0.18
- fuse-changelogv1.0.17
- fuse-commit-prov1.2.33
- fuse-designv2.3.0
- fuse-devopsv1.0.1
- fuse-gov1.0.11
- fuse-hermesv1.0.2
- fuse-laravelv1.2.15
- fuse-lessonsv1.0.10
- fuse-motionv1.0.3
- fuse-nextjsv1.1.31
- fuse-phpv1.0.12
- fuse-prompt-engineerv1.1.15
- fuse-reactv1.0.28
- fuse-rustv1.0.12
- fuse-securityv1.0.24
- fuse-seov1.0.19
- fuse-shadcn-uiv1.0.23
- fuse-solidv1.0.23
- fuse-statuslinev1.0.16
- fuse-swift-apple-expertv1.2.0
- fuse-tailwindcssv1.1.15
- fuse-tanstack-startv1.0.12
- fuse-typescriptv1.0.12
Similar to fuse-astro
More Frontend & UI Code
astro-frameworkSkilldelineas/astro-framework-agents2.2K installsAstro framework specialist for islands architecture, hybrid rendering, and content-driven sites, excluding full SPAs.
fuse-nextjsPluginfusengine/agents36 starsExpert Next.js 16 + React 19 with App Router, Server Components, Prisma 7, Better Auth, TanStack Form, Zustand, shadcn/ui
astroSkillmindrally/skills926 installsExpert Astro guidance for static-first sites with selective client hydration and content collections.
Astro McpMCP servermorinokami61 starsDocumentation search access for the Astro web framework, exposed through a single tool.
fuse-tanstack-startPluginfusengine/agents36 starsExpert TanStack Start full-stack React framework: server functions, selective SSR, execution model, middleware, server routes, file-based routing with data load
nuxt-v5Pluginsecondsky/claude-skills250 starsComprehensive Nuxt 5 development with 4 focused skills (core, data, server, production), 3 diagnostic agents (debugger, migration, performance), and interactive