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★ 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), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…