Help us improve
Share bugs, ideas, or general feedback.
From fuse-astro
Use when styling Astro components with scoped CSS, CSS Modules, Tailwind CSS, UnoCSS, or Sass. Covers class:list directive, global styles, CSS custom properties, and Vite-powered preprocessors.
npx claudepluginhub fusengine/agents --plugin fuse-astroHow this skill is triggered — by the user, by Claude, or both
Slash command
/fuse-astro:astro-stylingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Before ANY implementation, use `TeamCreate` to spawn 3 agents:
Comprehensive patterns for integrating React components, MDX content, and Tailwind CSS into Astro websites with type safety, performance optimization, and best practices.
Guides creation of .astro components with server-only frontmatter, HTML templates, scoped CSS, slots, and type-safe props.
Sets up and configures UnoCSS for on-demand atomic CSS generation. Use for utility-first CSS, presets like wind3/wind4/icons/typography, Vite/Nuxt/Astro integration, and optimized stylesheets.
Share bugs, ideas, or general feedback.
Before ANY implementation, use TeamCreate to spawn 3 agents:
After implementation, run fuse-ai-pilot:sniper for validation.
.astro components with component-scoped CSSclass:list for conditional class application| Method | Scope | When to Use |
|---|---|---|
<style> in .astro | Component | Default — scoped to component |
<style is:global> | Global | Base styles, resets |
CSS Modules .module.css | Component | Framework components (React, Vue) |
| Tailwind CSS | Utility | Rapid UI development |
| UnoCSS | Utility | Lightweight, configurable atomic CSS |
| Sass/SCSS | Component/Global | Advanced features, variables, mixins |
| Topic | Reference | When to Consult |
|---|---|---|
| Scoped CSS | scoped-css.md | Component styling |
| CSS Modules | css-modules.md | Framework components |
| Global styles | global-styles.md | Resets, base styles |
| Tailwind | tailwind.md | Utility-first CSS |
| UnoCSS | unocss.md | Atomic CSS engine |
| Sass/SCSS | sass.md | Preprocessor features |
| CSS Variables | css-variables.md | Design tokens, themes |
| Template | When to Use |
|---|---|
| scoped-component.md | Component with scoped + conditional classes |
| tailwind-setup.md | Full Tailwind CSS project setup |
| unocss-setup.md | Full UnoCSS project setup |
<style> in .astro files by defaultis:global in components — Reserve for layouts and global filesis:global inside non-layout components