Command Palette

Search for a command to run...

Назад к скиллам
скилл № 87499

astro

Astro content islands, multi-framework support, SSG/SSR modes, and content collections. Use when building static sites, content sites, or hybrid web apps.

БесплатноБез исполняемых скриптов
skeletorfletот skeletorflet★ 48 звёзд на GitHub

Установить astro в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

astro

Core Concepts

  • Astro Islands: client:* directives (load, idle, visible, media, interact)
  • Content collections with type-safe frontmatter and schema validation
  • Multi-framework: use React, Vue, Svelte, Solid components in one project
  • File-based routing in src/pages/ with dynamic params and layouts
  • Three output modes: static (SSG), server (SSR), hybrid per-route

Common Patterns

  • Content collections with Zod schema for blog/docs type safety
  • View Transitions API for SPA-like page navigation
  • Image optimization with and components
  • Server islands for dynamic content with zero client JS
  • Astro DB for SQLite-backed relational data queries

Best Practices

  • Prefer static generation for content, islands only for interactivity
  • Use content collections over manual markdown parsing
  • Keep framework islands isolated to minimize JS payload
  • Use Astro.build adapter for deployment targets
  • Leverage view transitions for smooth multi-page experiences

Common Code Patterns

  • Blog post listing from content collection with sorted entries
  • Interactive React counter island with client:load directive
  • Hybrid page with static content and server-rendered component

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл astro?

Astro content islands, multi-framework support, SSG/SSR modes, and content collections. Use when building static sites, content sites, or hybrid web apps.

Как установить скилл astro?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл astro запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить astro с