Skip to main content

Lang Clojure

Navigate, test, and run Clojure projects.

Skill metadata​

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

Clojure Language Pack Skill

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

What this language is (beginner)​

Современный Lisp на JVM (и ClojureScript в браузере). Гибкий, data-oriented, удобен для REPL-driven разработки.

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

  • бэкенды на JVM с интерактивной разработкой
  • data transformation / ETL
  • ClojureScript фронтенд (реже)
  • Babashka-скрипты (bb.edn)

When to Use​

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

  • есть deps.edn / project.clj / bb.edn
  • команда любит Lisp/REPL workflow
  • нужна выразительная работа с данными на JVM

Manifests (автодетект репозитория): deps.edn, project.clj, bb.edn

Обычно рядом: Java interop; иногда ClojureScript.

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

When NOT to use​

  • типичный корпоративный JVM → Java / Kotlin
  • обычный веб для новичков → TypeScript / Python

Prerequisites​

vibeos pack apply lang-clojure --apply
vibeos pack apply project-intelligence --apply

How to Run​

vibeos project index build
clojure -X:test || lein test || bb test
clj-kondo --lint src

Quick Reference​

GoalCommand
Apply packvibeos pack apply lang-clojure --apply
Doctorvibeos language doctor clojure
Primary testclojure -X: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 the project's chosen tool (deps.edn vs Lein vs bb).
  • Verify with tests, not only REPL eval.
  • Do not invent core tools; stay on terminal + read_file + index CLI.

Verification​

vibeos language doctor clojure
clojure -X:test || lein test || bb test