Lang Erlang
Test and build Erlang via rebar3 or Make.
Skill metadata
| Source | Bundled (installed by default) |
| Path | skills/software-development/lang-erlang |
| Version | 1.0.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.
Erlang Language Pack Skill
Drive Erlang work with the project index and standard CLI recipes.
LSP hint: none (toolchain CLI) (editor-side when applicable). Zero new core tools.
What this language is (beginner)
Язык виртуальной машины BEAM (как Elixir). Создан для телефонии: процессы-акторы, горячие обновления, высокая доступность.
Лучше всего для:
- отказоустойчивые сервисы
- OTP/телеком-паттерны
- низкоуровневый BEAM
- легаси Erlang-кодовые базы
When to Use
Выбирай этот pack, если:
- есть rebar.config / erlang.mk
- легаси или low-level OTP
- пользователь явно просит Erlang
Manifests (автодетект репозитория): rebar.config, rebar.config.script, erlang.mk, Emakefile
Обычно рядом: Elixir/Gleam на том же BEAM.
См. также skill choose-language-pack и vibeos language recommend "…".
When NOT to use
- новый BEAM-продукт с DX → Elixir или Gleam
- обычный JSON API → Go/TypeScript
- типобезопасный BEAM → Gleam
Prerequisites
vibeos pack apply lang-erlang --apply
vibeos pack apply project-intelligence --apply
How to Run
vibeos project index build
rebar3 compile
rebar3 eunit || rebar3 ct
Quick Reference
| Goal | Command |
|---|---|
| Apply pack | vibeos pack apply lang-erlang --apply |
| Doctor | vibeos language doctor erlang |
| Primary test | rebar3 eunit |
| 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 rebar3 when rebar.config exists.
- Dialyzer is slow — run scoped when iterating.
Verification
vibeos language doctor erlang
vibeos project index status