Bracket-fixing Clojure REPL for Claude Code and other agents. Enables interactive development for operations teams. Connects to Claude Code and other agents for real-time code execution and debugging.
git clone https://github.com/licht1stein/brepl.gitBracket-fixing Clojure REPL for Claude Code and other agents. Enables interactive development for operations teams. Connects to Claude Code and other agents for real-time code execution and debugging.
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/licht1stein/breplCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
I'm working on a Clojure script for [COMPANY] in the [INDUSTRY] sector. I need to use Brepl to help me debug and execute this code in real-time. Here's the code I'm working with: [CODE]. Can you help me set up the Brepl environment and guide me through the debugging process?
# Brepl Debugging Session for Clojure Script
## Initial Code Review
```clojure
(defn calculate-revenue [products]
(reduce + (map :price products)))
```
I notice a few potential issues with this code:
- No input validation
- No handling of nil values
- The function name might be misleading as it doesn't calculate revenue but sums prices
## Suggested Improvements
1. Add input validation:
```clojure
(defn validate-products [products]
(when (not (every? map? products))
(throw (ex-info "Invalid products data" {:products products}))))
```
2. Handle nil values:
```clojure
(defn safe-price [product]
(or (:price product) 0))
```
3. Rename the function:
```clojure
(defn sum-product-prices [products]
(->> products
(map safe-price)
(reduce +)))
```
## Testing the Improved Function
Let's test the improved function with some sample data:
```clojure
(sum-product-prices [{:price 10} {:price 20} {:price 30}])
;; => 60
(sum-product-prices [{:price 10} nil {:price 30}])
;; => 40
```AI assistant built for thoughtful, nuanced conversation
IronCalc is a spreadsheet engine and ecosystem
Service Management That Turns Chaos Into Control
Customer feedback management made simple
Enterprise workflow automation and service management platform
Automate your spreadsheet tasks with AI power
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan