agentsclimarketplace

Astro integrations

Skill fusengine/agents/plugins/astro-expert/skills/astro-integrations

Use when adding React, Vue, Svelte, Solid, Preact, or another UI framework to an Astro project via @astrojs/* integrations.From its SKILL.md

Install
npx -y skills add fusengine/agents --skill astro-integrations

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • 22 stars22 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
  • runs commandsInstructs the agent to run 8 commands, including `TeamCreate` and 7 more.

SKILL.md

4.0 KB, 890 tokens by cl100k_base, as published. Nobody here has run it

<objective> Sets up and configures Astro's UI framework integrations: `@astrojs/react`, `@astrojs/vue`, `@astrojs/svelte`, `@astrojs/solid-js`, `@astrojs/preact`, `@astrojs/alpinejs`, `@astrojs/lit`, `@qwikdev/astro`, and `@analogjs/astro-angular`. Covers the `astro add` CLI installation flow, per-framework configuration options, and multi-framework projects (e.g. React + Vue in the same codebase) including `include` scoping to avoid JSX-framework conflicts.

This skill is Astro-specific (the framework is embedded via astro.config.ts, not a standalone React/Vue/Svelte app). Does not cover hydration directives once a component is added (astro-islands) or component styling (astro-styling) — those are separate skills. </objective>

Astro Integrations Expert

Framework-agnostic: use React, Vue, Svelte, Solid, and more in the same Astro project.

Agent Workflow (MANDATORY)

Before ANY implementation, use TeamCreate to spawn 3 agents:

  1. fuse-ai-pilot:explore-codebase - Check existing integrations and astro.config.ts
  2. fuse-ai-pilot:research-expert - Verify latest integration docs via Context7/Exa
  3. mcp__context7__query-docs - Get setup and configuration examples

After implementation, run fuse-ai-pilot:sniper for validation.


Overview

When to Use

  • Adding React/Vue/Svelte components to an Astro site
  • Migrating an existing framework app into Astro
  • Using multiple frameworks in the same project
  • Integrating web components (Lit) or signals-based frameworks

Supported Frameworks

IntegrationPackageNotes
React@astrojs/reactRequires react + react-dom
Vue@astrojs/vueRequires vue
Svelte@astrojs/svelteRequires svelte
SolidJS@astrojs/solid-jsRequires solid-js
Preact@astrojs/preactLightweight React alternative
AlpineJS@astrojs/alpinejsMinimal JS sprinkles
Lit@astrojs/litWeb components
Qwik@qwikdev/astroResumability
Angular@analogjs/astro-angularVia AnalogJS

Quick Setup

# Official integrations via CLI (recommended)
npx astro add react
npx astro add vue
npx astro add svelte
npx astro add solid-js
npx astro add preact

The CLI auto-installs packages and updates astro.config.ts.


Reference Guide

NeedReference
Architecture overviewoverview.md
React setup + optionsreact.md
Vue setup + optionsvue.md
Svelte setup + optionssvelte.md
SolidJS setup + optionssolid.md
Preact setup + optionspreact.md
Lit, Qwik, Alpine, Angularothers.md
Multi-framework configmulti-framework.md
React full setuptemplates/react-setup.md
Multi-framework projecttemplates/multi-framework.md

Best Practices

  1. Use astro add CLI — Auto-configures everything correctly
  2. Separate directories per framework — src/components/react/, src/components/vue/
  3. include for multiple JSX frameworks — Avoid React/Preact/Solid conflicts
  4. Apply client directives — All framework components need hydration directive for interactivity
  5. Prefer single framework — Mix only when truly necessary for performance

What ships with it: 10 files

16.8 KB alongside SKILL.md

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.