Skip to main content
skill Claude Code CX Codex Cursor GitHub Copilot

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.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add metabase/metabase --skill clojure-write -a claude-code
Open on GitHub

What 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 deftest and is tests
  • 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-code

2Manually: put the files in place

~/.claude/skills/clojure-write/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/clojure-write/

From the same set6

The whole set →

Similar

python-packaging Seth Hobson This skill turns Python libraries and CLI tools into installable packages and guides PyPI releases. Use it when a project needs a distributable structure. Claude Code CX Codex Cursor 12,915installs php-pro https://github.com/Jeffallan Enforces PHP 8.3+ standards across Laravel and Symfony projects with strict typing, PHPStan level 9 checks, and automated Pest tests. Claude Code CX Codex Cursor +1 15,500installs python-type-safety Seth Hobson Adds practical Python typing guidance for annotations, generics, protocols, type narrowing, and strict checks with mypy or pyright. Claude Code CX Codex Cursor 12,643installs cmux-architecture manaflow-ai Guides modular Swift package architecture, strict 5-layer dependency inversion, and Swift 6 concurrency rules in the cmux codebase. Claude Code CX Codex Cursor +1 4,800installs unity-ecs-patterns Seth Hobson A skill for building Unity games with ECS, DOTS, Jobs, and Burst. Use it for large entity counts or CPU-bound game logic. Claude Code CX Codex Cursor 12,027installs typescript-pro https://github.com/Jeffallan Implements advanced TypeScript type systems, branded types, and tRPC configurations. Use it when building type-first APIs or complex discriminated unions. Claude Code CX Codex Cursor +1 14,200installs migrate-to-shoehorn Matt Pocock Replaces as type assertions in tests with helpers from @total-typescript/shoehorn. Use it when tests need partial objects or deliberately invalid data. Claude Code 475,388installs write-swift emilkowalski This skill guides Swift coding, reviews, and migrations using the language’s current practices. Use it to investigate concurrency errors, hangs, data races, or retain cycles. Claude Code CX Codex Cursor +1 117,500installs

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.

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor