Lang Elixir
Navigate, test, and compile Elixir via Mix tooling.
Skill metadata
| Source | Bundled (installed by default) |
| Path | skills/software-development/lang-elixir |
| Version | 1.1.0 |
| Author | VibeOS |
| License | MIT |
| Platforms | linux, macos, windows |
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.
Elixir Language Pack Skill
Drive Elixir work with the project index and standard CLI recipes.
LSP hint: elixir-ls (editor-side when applicable). Zero new core tools.
What this language is (beginner)
Язык на виртуальной машине Erlang (BEAM). Силён в realtime, чатах, высокой доступности.
Лучше всего для:
- Phoenix веб и LiveView
- чаты, presence, websockets
- отказоустойчивые распределённые сервисы
When to Use
Выбирай этот pack, если:
- нужен realtime / высокая доступность
- есть mix.exs / Phoenix
- пользователь хочет BEAM-стек
Manifests (автодетект репозитория): mix.exs
Обычно рядом: Gleam на том же BEAM; фронт TS по желанию.
См. также skill choose-language-pack, если цель ещё не ясна.
When NOT to use
- простой CRUD без realtime → Rails / Laravel / Django
- типобезопасный BEAM → Gleam
- обычный JSON API без Phoenix → Go / TypeScript
Prerequisites
vibeos pack apply lang-elixir --apply
vibeos pack apply project-intelligence --apply
How to Run
vibeos project index build
mix test
mix compile
mix format --check-formatted
Quick Reference
| Goal | Command |
|---|---|
| Apply pack | vibeos pack apply lang-elixir --apply |
| Doctor | vibeos language doctor elixir |
| Primary test | mix 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
- OTP/Erlang must be installed for BEAM.
- Do not invent core tools.
- Do not invent core tools; stay on
terminal+read_file+ index CLI.
Verification
vibeos language doctor elixir
mix test