Skip to main content
在 Manus 中运行任何 Skill
一键导入

clj-surgeon

星标7
分支1
更新时间2026年6月19日 15:19

Token-efficient structural operations on Clojure/ClojureScript code via babashka + rewrite-clj. Use this skill BEFORE reading any .clj/.cljs/.cljc file over ~200 lines and BEFORE spawning Explore agents for Clojure code — measured 150× more token-efficient than reading whole files (single repo outlined in ~250ms, cross-repo grep across thousands of files in ~3s). Also trigger for: finding functions or usages across one or many repos, extracting or reordering defns, eliminating declares, renaming namespaces, converting CLJ↔CLJS↔CLJC, auditing dependency graphs of a single form. Triggers on phrases like "find where X is defined", "split this file", "what depends on Y", "extract these functions into a new ns", "is this declare needed", "rename this namespace", "convert these two files to cljc" — even when the user doesn't explicitly name the tool. Invoke as the `clj-surgeon` command on PATH (never `bb <script>`); every op is `clj-surgeon :op <command> :file <path> [:form <name> …]` with named args — run `clj-sur

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly