clojure-write — Claude Code skill: what it does, how to install
This skill guides REPL-driven Clojure and ClojureScript development and refactoring. Use it when functions need step-by-step checks.
npx skills add metabase/metabase --skill clojure-write -a claude-codeWhat clojure-write does
The skill breaks development work into small functions, evaluates them in the REPL, and moves working code into source files. It promotes small composable functions, immutable data, higher-order functions, and Clojure’s standard library. The workflow also covers loading a namespace, trying functions with test inputs, and turning successful REPL checks into deftest and is cases.
It includes references to shared workflow, style, command, and documentation guidance. When available, clojure-mcp tools such as clojure_eval and clojure_edit should handle evaluation and structural editing. Every Clojure change requires a readability check with -check-readable; module boundary changes also require ./bin/mage fix-modules-config.
When clojure-mcp is unavailable, the workflow falls back to ./bin/mage commands. Check MCP availability before relying on the preferred editing path.
What it helps with
- break a Clojure task into testable functions
- load and inspect a namespace through the REPL
- turn working REPL checks into
deftestandistests - refactor Clojure code against project conventions
- regenerate module configuration after boundary changes
Example prompts for the agent
- Break this task into small Clojure functions and test each one in the REPL.
- Load `metabase.app-db.connection` with `./bin/mage -repl --namespace metabase.app-db.connection`, then call its functions with typical and edge-case inputs.
- After changing Clojure code, run the `-check-readable` check and tell me whether `./bin/mage fix-modules-config` is needed.
How to install clojure-write
1Skills CLI (Vercel)
npx skills add metabase/metabase --skill clojure-write -a claude-code2Manually: put the files in place
~/.claude/skills/clojure-write/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/clojure-write/
1Skills CLI (Vercel)
npx skills add metabase/metabase --skill clojure-write -a codex2Manually: put the files in place
.agents/skills/clojure-write/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add metabase/metabase --skill clojure-write -a cursor2Manually: put the files in place
.cursor/skills/clojure-write/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install metabase/metabase clojure-write2Manually: put the files in place
.github/skills/clojure-write/SKILL.md1Skills CLI (Vercel)
npx skills add metabase/metabase --skill clojure-write -a gemini-cli2Platform CLI
gemini skills install https://github.com/metabase/metabase --path .claude/skills/clojure-writeManually: put the files in place
.devin/skills/clojure-write/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add metabase/metabase --skill clojure-write -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set6
The whole set →Similar
Questions about clojure-write
How do I install clojure-write in Claude Code?
Run npx skills add metabase/metabase --skill clojure-write -a claude-code, then run npx skills add metabase/metabase --skill clojure-write -a claude-code again and check ~/.claude/skills/clojure-write/SKILL.md.
What does clojure-write do?
It guides Clojure and ClojureScript work through small REPL-tested steps, project coding conventions, documentation rules, and checks before composing larger functions.
What should I do when clojure-mcp is unavailable?
Use ./bin/mage commands for REPL work. Tools such as clojure_eval and clojure_edit are preferred when clojure-mcp is available.