clojure-repl-dev
Installation
SKILL.md
Clojure REPL-Driven Development
Core Workflow
Never write code without REPL validation.
Before modifying any file:
- Read existing code - Use
readto examine target file and related files - Verify nREPL connection - Test:
clj-nrepl-eval -p 7889 "(+ 1 1)" - Explore unfamiliar functions -
clj-nrepl-eval -p 7889 "(clojure.repl/doc function-name)" - Test in REPL - Define and validate functions before saving
- Check edge cases - nil, empty collections, invalid inputs
- Save only after validation - Use
editorwrite
If nREPL fails, ask: "Please start your nREPL server (e.g., bb nrepl or lein repl :headless)"