Przejdź do treści
Biblioteka skilli
Programowanie · Integracja z narzędziem

astro-integrations

/astro-integrations

Dodaje React, Vue, Svelte, Solid, Preact lub inny framework UI do projektu Astro przez integracje @astrojs/*.

Repozytorium
agents ↗
Licencja
MIT
Ostatnia zmiana repozytorium
12.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
11
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 12.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Dodaje React, Vue, Svelte, Solid, Preact lub inny framework UI do projektu Astro przez integracje @astrojs/*.

Oryginalny opis (EN)

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

Jak działa

  1. Agent Workflow (MANDATORY)
  2. Overview
  3. Quick Setup
  4. Reference Guide
  5. Best Practices
Sekcje z nagłówków SKILL.md, w oryginale · 88 linii, 453 słów
Podgląd SKILL.md
---
name: astro-integrations
description: Use when adding React, Vue, Svelte, Solid, Preact, or another UI framework to an Astro project via @astrojs/* integrations.
versions:
  astro: 7
user-invocable: true
references: references/overview.md, references/react.md, references/vue.md, references/svelte.md, references/solid.md, references/preact.md, references/others.md, references/multi-framework.md, references/templates/react-setup.md, references/templates/multi-framework.md
related-skills: astro-7, astro-islands, astro-styling
---

<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, spawn 3 agents in parallel, one `Agent` call each with a `name`:

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

| Integration | Package | Notes |
|-------------|---------|-------|
| React | `@astrojs/react` | Requires react + react-dom |
| Vue | `@astrojs/vue` | Requires vue |
| Svelte | `@astrojs/svelte` | Requires svelte |
| SolidJS | `@astrojs/solid-js` | Requires solid-js |
| Preact | `@astrojs/preact` | Lightweight React alternative |
| AlpineJS | `@astrojs/alpinejs` | Minimal JS sprinkles |
| Lit | `@astrojs/lit` | Web components |
| Qwik | `@qwikdev/astro` | Resumability |
| Angular | `@analogjs/astro-angular` | Via AnalogJS |

---

## Quick Setup

```bash
# 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

| Need | Reference |
|------|-----------|
| Architecture overview | [overview.md](references/overview.md) |
| React setup + options | [react.md](references/react.md) |
| Vue setup + options | [vue.md](references/vue.md) |
| Svelte setup + options | [svelte.md](references/svelte.md) |
| SolidJS setup + options | [solid.md](references/solid.md) |
| Preact setup + options | [preact.md](references/preact.md) |
| Lit, Qwik, Alpine, Angular | [others.md](references/others.md) |
| Multi-framework config | [multi-framework.md](references/multi-framework.md) |
| React full setup | [templates/react-setup.md](references/templates/react-setup.md) |
| Multi-framework project | [templates/multi-framework.md](references/templates/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
Pliki w paczce (11)
  • SKILL.md 4 KB
  • references/multi-framework.md 2 KB
  • references/others.md 2 KB
  • references/overview.md 2 KB
  • references/preact.md 2 KB
  • references/react.md 2 KB
  • references/solid.md 2 KB
  • references/svelte.md 1 KB
  • references/vue.md 2 KB
  • references/templates/multi-framework.md 2 KB
  • references/templates/react-setup.md 2 KB

Wersje

W bazie nie ma innych skilli o nazwie astro-integrations.

Migawka bazy z 28.10.2026 · wersja paczki b5cb9fde716b (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100astro-islands-architect
    Pomaga budować strony treściowe w Astro: wybór SSG, SSR lub hybrydy, dyrektywy klienta, kolekcje treści ze schematami zod, integracja React, Vue, Solid i Svelte oraz migracja z Next.js.
  • 100nanostores
    Obsługuje Nano Stores, mały menedżer stanu niezależny od frameworka z atomowymi sklepami, w React, Preact, Vue, Svelte, Solid, Lit, Angular i Astro oraz przy migracji z Redux i Zustand.
  • 100preact-stinger
    Buduje aplikacje i widgety w Preact 11: sygnały, migracja z React compat, osadzenia, wyspy Astro i Fresh.
  • 100repo-source-code-test-frameworks
    Pisze testy jednostkowe i typów dla pakietów frameworków Formisch (Angular, Preact, Solid, Svelte, Vue, React), w tym hooki i komponenty.
  • 100preact
    Pilnuje, by aplikacja Preact działała jako zamiennik Reacta: sygnały do stanu, warstwa compat i lekkie paczki.
  • 100astro
    Opisuje Astro: architekturę wysp (dyrektywy client:*), Server Islands, Content Layer API, wiele frameworków na jednej stronie, tryby renderowania i View Transitions.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.