thomascothran/pomp/clj-paren-repair
Claude Code and agent skill by thomascothran/pomp
- community
Checking that the SKILL.md file is still in the repository.
Repair Clojure reader syntax errors caused by unbalanced delimiters ((), [], {}) to fix errors like "EOF while reading", "Unexpected EOF", "Unmatched delimiter", or "Unbalanced delimiter".
Install
npx vskill@latest install thomascothran/pomp/clj-paren-repairSKILL.md
Unbalanced delimiters repair (Clojure)
Purpose
Clojure source must have balanced delimiters: parentheses (), brackets [], and braces {}. When a file is unbalanced, the reader commonly fails with messages like:
EOF while readingUnexpected EOFUnmatched delimiterUnbalanced delimiterSyntax error reading source/ReaderException
This skill prescribes a single remediation: run the automated repair tool clj-paren-repair via devenv shell.
Hard rules
- Do NOT manually repair delimiter errors.
Do not add/remove/move delimiters “by inspection”, even if it looks obvious.
- Only run the tool on the specific file(s) implicated by the error, unless the user explicitly requests broader scope.
- If `clj-paren-repair` fails or the reader error persists after running it, stop and report that the user must fix the delimiter error manually. Do not attempt further automated or manual delimiter edits.
Command
Run:
Examples:
Workflow
Follow these steps in order:
- Identify the exact file(s) to repair
- Prefer files explicitly mentioned in error output/stack traces.
- If multiple files are implicated, start with the topmost file referenced at the failure point.
- Do not guess. If no file is identifiable, ask the user for the error output (or for the file they were editing).
- Run the repair tool on just those files
- Acknowledge formatting side-effect
- clj-paren-repair also runs cljfmt on processed files.
- Expect whitespace/formatting changes in addition to delimiter repairs.
- Inspect the result
- Re-run the failing action
- Re-run the prior evaluation/test/build command that produced the reader error.
- If the reader error is gone, proceed with whatever task was blocked.
- If repair did not resolve the issue
- If clj-paren-repair errors, exits non-zero, or the original reader error persists:
- Do not attempt manual delimiter edits.
- Report to the user: the delimiter error requires manual repair (and include the tool’s output if available).
When NOT to use this skill
Do not run clj-paren-repair for:
- Type errors, unresolved symbols, arity errors, spec failures, runtime exceptions, failing tests not involving reader errors.
- Non-Clojure delimiter issues (e.g., EDN embedded in strings) unless the reader error points to a concrete file and the user wants you to try.
Notes / edge cases
- Multi-extension codebases: the tool may be useful for .clj, .cljs, .cljc, and sometimes .edn if supported in your environment—only run it on file types the user is working with.
- If the user is mid-merge or has large unrelated diffs, consider recommending they commit/stash first (do not do it yourself unless your environment supports it and the user asked).
- If the tool makes no changes and the error remains, that is a hard stop per the rules above.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/clj-paren-repair/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/thomascothran/pomp/clj-paren-repair)