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

Lang Gleam

Navigate, test, and build Gleam on BEAM.

Skill metadata​

SourceBundled (installed by default)
Pathskills/software-development/lang-gleam
Version1.1.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.

Gleam Language Pack Skill

Drive Gleam work with the project index and standard CLI recipes. LSP hint: gleam (editor-side when applicable). Zero new core tools.

What this language is (beginner)​

Типобезопасный язык для BEAM (как Elixir/Erlang), с дружелюбным синтаксисом. Высоко ценится разработчиками.

Лучше всего для:

  • надёжные сервисы на BEAM с типами
  • новые BEAM-проекты вместо/рядом с Elixir
  • бэкенды с упором на корректность

When to Use​

Выбирай этот pack, если:

  • есть gleam.toml
  • нужен BEAM + статическая типизация
  • пользователь хочет современный typed BEAM

Manifests (автодетект репозитория): gleam.toml

Обычно рядом: Elixir/Erlang на том же BEAM.

См. также skill choose-language-pack, если цель ещё не ясна.

When NOT to use​

  • зрелая Phoenix/LiveView экосистема → Elixir
  • простой API без BEAM → Go / TypeScript

Prerequisites​

vibeos pack apply lang-gleam --apply
vibeos pack apply project-intelligence --apply

How to Run​

vibeos project index build
gleam check
gleam test
gleam build

Quick Reference​

GoalCommand
Apply packvibeos pack apply lang-gleam --apply
Doctorvibeos language doctor gleam
Primary testgleam test
Choose guideskill choose-language-pack

Procedure​

  1. Если язык ещё не выбран для нового проекта — сначала choose-language-pack.
  2. Work from the project root that matches pack manifests.
  3. Index query → read_file → edit → path-scoped tests when iterating.
  4. Prefer the package manager / toolchain already locked in the repo.
  5. Explain non-obvious toolchain choices in plain language for the user.

Pitfalls​

  • Erlang/OTP must be available for BEAM targets.
  • Prefer gleam format --check in CI.
  • Do not invent core tools; stay on terminal + read_file + index CLI.

Verification​

vibeos language doctor gleam
gleam test