Lang Haskell
Navigate, test, and build Haskell packages.
Skill metadata
| Source | Bundled (installed by default) |
| Path | skills/software-development/lang-haskell |
| Version | 1.1.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.
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
| Goal | Command |
|---|---|
| Apply pack | vibeos pack apply lang-haskell --apply |
| Doctor | vibeos language doctor haskell |
| Primary test | cabal 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
- 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