clj-surgeon

Community

Structural Clojure refactoring with AST

Authorrealgenekim
Version1.0.0
Installs0

System Documentation

What problem does it solve?

clj-surgeon provides fast, AST-driven tooling to explore and refactor Clojure codebases, replacing brittle text edits with safe structural transformations.

Core Features & Use Cases

  • Outline top-level forms in a namespace with exact line boundaries and forward-reference detection.
  • Perform deterministic refactors such as moving forms, extracting to new namespaces, fixing forward declares, and renaming namespaces.
  • Manage CLJC work flows (merge, split, add-require, analyze) and per-project dependency views for multi-file codebases.

Quick Start

Outline a file with :ls to see form boundaries, then perform refactors with :mv or :extract!.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: clj-surgeon
Download link: https://github.com/realgenekim/clj-surgeon/archive/main.zip#clj-surgeon

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.