clojure-debug
Clojure Debug
Core workflow
- Insert
prn(orprn+ labels) as early as possible in the suspected execution path. - Prefer multiple small
prncheckpoints over one large dump. - Keep
prnoutput focused on inputs, branch decisions, and key transforms. - Remove or guard debug prints after validation.
clojure/node CLI validation
- Use
clojure/nodeCLIevalto validate small snippets or hypotheses. - Keep eval expressions minimal and deterministic.
- Use it to confirm parsing, coercion, and data-shape assumptions before editing more code.
Tips
- Favor
prnoverprintlnto preserve readable EDN. - When debugging async flows, print at boundaries: before request, after response, before transform, after transform.
More from rcmerci/skills
logseq-schema
Logseq Datascript schema, built-in properties/classes, and :db/ident discovery for composing or reviewing Datascript queries about blocks/pages/tags/properties/classes. Use whenever editing or reviewing Datascript pull selectors or queries, or any code that adds/removes attributes in pull patterns, or touches property namespaces/identifiers, or requires reasoning about property value shapes/ref/cardinality in Logseq.
41logseq-cli
Operate the current Logseq command-line interface to inspect or modify graphs, pages, blocks, tags, and properties; run Datascript queries; show page/block trees; manage graphs; and manage db-worker-node servers. Use when a request involves running `logseq` commands or interpreting CLI output.
31clojure-paren-repair
Repair unbalanced parentheses, brackets, and braces in Clojure, ClojureScript, and EDN files. Use when you encounter delimiter mismatch syntax errors after editing .clj, .cljs, .cljc, or .edn files, or on clojure syntax errors.
9logseq-electron-debug
Run Logseq Electron dev build with a remote debugging port and attach Chrome DevTools (CDP) reliably.
6clojure-malli
|
3clojure-babashka-cli
Turn Clojure functions into CLIs with babashka.cli. Use when working with command-line argument parsing, building CLIs, subcommand dispatching, option validation, or creating tools with babashka/clojure.
3