Lang Astro
Navigate, test, and build Astro sites.
Skill metadata
| Source | Bundled (installed by default) |
| Path | skills/software-development/lang-astro |
| Version | 1.1.0 |
| Author | VibeOS |
| License | MIT |
| Platforms | linux, macos, windows |
Reference: full SKILL.md
info
The following is the complete skill definition that VibeOS loads when this skill is triggered. This is what the agent sees as instructions when the skill is active.
Astro Language Pack Skill
Drive Astro work with the project index and standard CLI recipes.
LSP hint: astro-language-server (editor-side when applicable). Zero new core tools.
What this language is (beginner)
Фреймворк для контентных сайтов: по умолчанию мало JS, страницы быстрые, удобно для блогов и лендингов.
Лучше всего для:
- маркетинговые сайты и лендинги
- блоги, доки, контентные порталы
- сайты, где важны скорость и SEO
- «острова» React/Vue/Svelte внутри статичных страниц
When to Use
Выбирай этот pack, если:
- интернет-проект в основном про контент, не про сложное приложение
- есть astro.config.*
- нужен быстрый статичный/гибридный сайт
Manifests (автодетект репозитория): astro.config.mjs/ts/js
Обычно рядом: TypeScript; контент MD/MDX; опционально Vue/Svelte/React islands.
См. также skill choose-language-pack, если цель ещё не ясна.
When NOT to use
- сложное приложение с тяжёлым клиентским состоянием → Vue / Svelte / React
- только API без сайта → Go / Python / TypeScript backend
Prerequisites
vibeos pack apply lang-astro --apply
vibeos pack apply project-intelligence --apply
How to Run
vibeos project index build
npx astro check
npx astro build
npm test
Quick Reference
| Goal | Command |
|---|---|
| Apply pack | vibeos pack apply lang-astro --apply |
| Doctor | vibeos language doctor astro |
| Primary test | npm test |
| Choose guide | skill choose-language-pack |
Procedure
- Если язык ещё не выбран для нового проекта — сначала
choose-language-pack. - Work from the project root that matches pack manifests.
- Index query →
read_file→ edit → path-scoped tests when iterating. - Prefer the package manager / toolchain already locked in the repo.
- Explain non-obvious toolchain choices in plain language for the user.
Pitfalls
- Prefer content collections APIs over ad-hoc markdown parsers.
- Keep framework islands minimal.
- Do not invent core tools; stay on
terminal+read_file+ index CLI.
Verification
vibeos language doctor astro
npx astro build