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

Lang Haskell

Navigate, test, and build Haskell packages.

Skill metadata​

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

Haskell Language Pack Skill

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

What this language is (beginner)​

Чисто функциональный язык с очень сильной системой типов. Учит корректности; используется в компиляторах, финтехе, исследованиях.

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

  • сложных доменных моделей с типами
  • компиляторов, DSL, формальных систем
  • сервисов, где важна математическая строгость

When to Use​

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

  • есть *.cabal / stack.yaml / cabal.project
  • команда уже на Haskell
  • пользователь явно хочет Haskell

Manifests (автодетект репозитория): cabal.project, stack.yaml, *.cabal

Обычно рядом: Иногда рядом с Rust/OCaml в systems/research.

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

When NOT to use​

  • быстрый продуктовый веб → TypeScript / Python / Elixir
  • практичный функциональный JVM → Scala / Clojure
  • BEAM typed → Gleam

Prerequisites​

vibeos pack apply lang-haskell --apply
vibeos pack apply project-intelligence --apply

How to Run​

vibeos project index build
cabal test || stack test
hlint .
cabal build || stack build

Quick Reference​

GoalCommand
Apply packvibeos pack apply lang-haskell --apply
Doctorvibeos language doctor haskell
Primary testcabal 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​

  • Prefer Stack when stack.yaml exists; Cabal otherwise.
  • HLS is editor-side.
  • Do not invent core tools; stay on terminal + read_file + index CLI.

Verification​

vibeos language doctor haskell
cabal test || stack test