Lang Crystal
Test, format, and build Crystal via shards.
Skill metadata
| Source | Bundled (installed by default) |
| Path | skills/software-development/lang-crystal |
| Version | 1.0.0 |
| Author | VibeOS |
| License | MIT |
| Platforms | linux, macos |
Reference: full SKILL.md
к сведению
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.
Crystal Language Pack Skill
Drive Crystal work with the project index and standard CLI recipes.
LSP hint: crystal (editor-side when applicable). Zero new core tools.
What this language is (beginner)
Язык «как Ruby, но компилируемый». Удобен, если нравится Ruby-синтаксис, но нужна скорость нативного бинарника.
Лучше всего для:
- быстрые веб-API (Kemal/Amber)
- CLI-утилиты
- Ruby-like DX + производительность
- нативные бинарники
When to Use
Выбирай этот pack, если:
- есть shard.yml
- хотите Ruby-like DX + скорость
- пользователь просит Crystal
Manifests (автодетект репозитория): shard.yml, shard.lock
Обычно рядом: Часто Postgres; деплой как один бинарник.
См. также skill choose-language-pack и vibeos language recommend "…".
When NOT to use
- зрелая Rails экосистема → Ruby
- максимальная safety → Rust
- простой микросервис → Go
Prerequisites
vibeos pack apply lang-crystal --apply
vibeos pack apply project-intelligence --apply
How to Run
vibeos project index build
crystal tool format --check
crystal spec
shards build
Quick Reference
| Goal | Command |
|---|---|
| Apply pack | vibeos pack apply lang-crystal --apply |
| Doctor | vibeos language doctor crystal |
| Primary test | crystal spec |
| Choose guide | skill choose-language-pack |
| Recommend | vibeos language recommend "…" |
Procedure
- Для нового продукта сначала
choose-language-pack/vibeos language recommend. - Work from the project root that matches pack manifests.
- Prefer project-local toolchain already locked in the repo.
- Explain destructive/export/breaking changes; wait for explicit ask.
- Do not invent core tools; stay on
terminal+read_file+ index CLI.
Pitfalls
- Prefer shards over global crystal deps.
- macOS/Linux first; Windows support is limited.
Verification
vibeos language doctor crystal
vibeos project index status