clojure-eval

Evaluate Clojure expressions on running nREPL servers.

10|3|Updated Feb 21, 2015
One-click install
npx skills add https://github.com/SevereOverfl0w/.files --skill clojure-eval-severeoverfl0w
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clojure-eval
Source: https://github.com/SevereOverfl0w/.files/tree/main/dotfiles/.agents/skills/clojure-eval
Command: npx skills add https://github.com/SevereOverfl0w/.files --skill clojure-eval-severeoverfl0w

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It lets developers test and debug Clojure code quickly by sending expressions to a running nREPL session, eliminating the need to manually start or attach a REPL.

Core Features & Use Cases

  • Discover running nREPL servers in the current project.
  • Prompt the user to select a port or start a new server.
  • Evaluate single or multiple Clojure expressions on the chosen port.
  • Maintain session state across evaluations, with optional reset.
  • Provide options for timeout, host, and connected session listing.

Quick Start

Ask the skill to evaluate a Clojure expression on the selected nREPL server.

Frequently Asked Questions about clojure-eval

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I evaluate Clojure code on a running nREPL server?

To evaluate Clojure code, connect to a discovered nREPL port, send your expression, and receive the result instantly for interactive development and testing without manually starting a new REPL.

Can I maintain session state across multiple Clojure evaluations?

Yes, you can maintain session state across multiple Clojure evaluations. The session persistence feature retains your REPL state, with an optional reset flag available to clear the session when needed.

Do I need to manually start a REPL to test my Clojure expressions?

No, you do not need to manually start a REPL. The system discovers running nREPL servers in your current project and prompts you to select a port, eliminating the need for manual server setup.

What are the options for configuring nREPL connections during code evaluation?

Options for configuring nREPL connections include selecting the target port, specifying a custom host, setting a timeout limit, listing connected sessions, and triggering an optional session reset.

Why does my interactive Clojure testing workflow require a specific tool?

Interactive Clojure testing requires the clj-nrepl-eval tool to handle port selection, manage session persistence, and send expressions directly to the discovered nREPL server for instant feedback.