scope-capture
CommunityDebug Clojure: Inspect runtime scope.
AuthorRamblurr
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps Clojure developers debug functions by capturing and inspecting the local scope of variables at runtime, eliminating the need for manual value fabrication.
Core Features & Use Cases
- Runtime Scope Capture: Record local variables at any point in your code execution.
- REPL Re-creation: Recreate the captured scope in your REPL to evaluate expressions with live data.
- Breakpoint Debugging: Pause execution at specific points to inspect state before continuing.
- Use Case: When a complex function produces an unexpected result, use
spyto capture all intermediate variables and then usedefscto re-evaluate parts of the function in the REPL with those exact values.
Quick Start
Use the scope-capture skill to capture the local scope of the my-fn function and then recreate it using defsc with the execution point ID 1.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: scope-capture Download link: https://github.com/Ramblurr/nix-devenv/archive/main.zip#scope-capture Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.