Перейти к основному содержимому

Lang Erlang

Test and build Erlang via rebar3 or Make.

Skill metadata​

SourceBundled (installed by default)
Pathskills/software-development/lang-erlang
Version1.0.0
AuthorVibeOS
LicenseMIT
Platformslinux, 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.

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​

GoalCommand
Apply packvibeos pack apply lang-erlang --apply
Doctorvibeos language doctor erlang
Primary testrebar3 eunit
Choose guideskill choose-language-pack
Recommendvibeos language recommend "…"

Procedure​

  1. Для нового продукта сначала choose-language-pack / vibeos language recommend.
  2. Work from the project root that matches pack manifests.
  3. Prefer project-local toolchain already locked in the repo.
  4. Explain destructive/export/breaking changes; wait for explicit ask.
  5. 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