Claude-skill-registry clojure-paren-repair

Repair unbalanced parentheses, brackets, and braces in Clojure, ClojureScript, and EDN files. Use when you encounter delimiter mismatch syntax errors after editing .clj, .cljs, .cljc, or .edn files, or on clojure syntax errors.

install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/clojure-paren-repair" ~/.claude/skills/majiayu000-claude-skill-registry-clojure-paren-repair && rm -rf "$T"
manifest: skills/data/clojure-paren-repair/SKILL.md
source content

Clojure Parenthesis Repair (how to fix unbalanced brackets/parens)

Use

brepl balance
to fix unbalanced brackets in Clojure files using parmezan:

# Fix file in place (default)
brepl balance src/myapp/core.clj

# Preview fix to stdout
brepl balance src/myapp/core.clj --dry-run

This is useful for recovering files with bracket errors.

When to Use

Run this tool when you encounter unbalanced delimiters (parentheses, brackets, braces) in Clojure, ClojureScript, or EDN files.

IMPORTANT: Do NOT try to manually repair parenthesis errors. If you encounter a file with unbalanced parentheses or delimiters, run

brepl balance
on that file instead of attempting to fix the delimiters yourself.

If the Tool Fails

If brepl doesn't fix the problem, report to the user that they need to fix the delimiter error manually. Do not continue attempting repairs.