ericdallo/dotfiles/brepl
Claude Code and agent skill by ericdallo/dotfiles
- community
Checking that the SKILL.md file is still in the repository.
MANDATORY - Load this skill BEFORE using brepl in any way. Teaches the heredoc pattern for reliable Clojure code evaluation.
Install
npx vskill@latest install ericdallo/dotfiles/breplSKILL.md
brepl - Evaluating Clojure Code
CRITICAL: Load This Skill First
You MUST load this skill before using brepl. Do NOT attempt to use brepl without loading this skill first, or you will use incorrect syntax.
Overview
brepl is a REPL client for evaluating Clojure expressions. This skill teaches the heredoc pattern for reliable code evaluation.
Always load this skill before using brepl. Always use the heredoc pattern for all Clojure code evaluation.
The Heredoc Pattern - Default Approach
Always use heredoc for brepl evaluation. This eliminates quoting issues, works for all cases, and provides a consistent, reliable pattern.
Syntax (Stdin - Recommended)
This is the simplest heredoc syntax - stdin feeds directly to brepl.
Alternative Syntax (Positional Argument)
For simple one-liners, you can use positional arguments:
Heredoc is preferred for anything with quotes or multiple lines.
Note: The -e flag is optional - brepl automatically treats stdin and positional arguments as code to evaluate.
Important: Use <<'EOF' (with quotes) not <<EOF to prevent shell variable expansion.
Examples
Multi-line expressions:
Specific nREPL port
Code with quotes:
Reloading and testing:
Complex data structures:
Running tests:
Alternative: Simple Expressions
For very simple expressions, you can use direct positional arguments:
Why prefer heredoc: No mental overhead deciding which pattern to use, no risk of quoting issues, easy to extend.
Loading Files
To load an entire file into the REPL:
After loading, you can evaluate functions from that namespace using either pattern.
Fixing Unbalanced Brackets
Use brepl balance to fix unbalanced brackets in Clojure files using parmezan:
This is useful for recovering files with bracket errors.
Common Patterns
Namespace reloading
Documentation lookup
Error inspection
Critical Rules
- Always use heredoc - Use the heredoc pattern for all brepl evaluations
- Quote the delimiter - Always use
<<'EOF'not<<EOFto prevent shell expansion - No escaping needed - Inside heredoc, write Clojure code naturally
- Multi-step operations - Combine multiple forms in one heredoc block
- Write correct Clojure - Ensure proper bracket balancing and valid syntax
Why Always Use Heredoc
Consistency over optimization. While simple positional arguments work for basic cases, using heredoc everywhere means:
- No decision fatigue - One pattern for everything
- No quoting errors - Everything between
<<'EOF'andEOFis literal - Easy to extend - Add more lines without changing syntax
- Readable - Clear where the code starts and ends
- Safe - No shell interpretation of Clojure code
Shell quoting with Clojure is error-prone: Clojure uses both single and double quotes, nested quotes require escaping, and reader macros can confuse the shell. Heredoc eliminates all these issues.
Resources
brepl documentation: https://github.com/licht1stein/brepl
Security
- Security scanPassed, 100 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 repositoryChecking.config/eca/skills/brepl/SKILL.md
Popularity
- Repository stars
- 99
- Repository forks
- 8
- 7-day trend score
- 23
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 18 Mar 2026, 7 months ago.
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/ericdallo/dotfiles/brepl)