brackendev
- 6 skills
- 0 followers
- 5 hours ago last updated
- ▌ Cljs Fix · brackendev bundleFix a ClojureScript project (lint, format, test, advanced, dry); format writes by default
- ▌
- ▌ Cljs Upgrade · brackendev bundleUpgrade the org.clojure/clojurescript dependency in deps.edn to the latest released version on Maven Central and verify the project compiles
- ▌ Clojurescript · brackendev bundleUse when writing, editing, reviewing, or discussing ClojureScript code that compiles to JavaScript and runs on a JS host (browser, Node.js, or other JS runtime). Triggers: .cljs files, .cljc files compiled to JS, shadow-cljs.edn, figwheel-main.edn, ClojureScript deps.edn projects, cljs.test, JavaScript interop (`js/`, `.-prop`, `(.method obj ...)`, `set!` on properties, `js-obj`, `clj->js`, `js->clj`, `goog.object/get`, `goog.object/set`, `aget`, `aset`), externs inference (`^js`, `^js/Foo`, `*warn-on-infer*`, `:infer-externs`), macro stage separation (`:require-macros`, `:refer-macros`, `:include-macros`), reader conditionals (`#?`, `#?@`, `:cljs`, `:default`), JS-flavored numerics (no `Ratio`, `BigInt`, `BigDecimal`; `(= 0.0 0)` is true), `^boolean` type hint, browser REPL, Node REPL, source maps, npm interop, the `cljs.main` CLI, shadow-cljs, or figwheel-main. Covers JavaScript interop, host-typed exception handling (`catch :default`, `js/Error`), externs and advanced compilation, macro stage separation, J
- ▌ Cljs Smells Fix · brackendev bundleFix ClojureScript code against ClojureScript-specific smells; placeholder, see TODO. When implemented, auto-applies mechanical and DEFECT-tier findings and reports the rest. Pass --report to disable writes.
- ▌ Clojurescript Lenses · brackendev bundleTranslate code-lenses design philosophies into ClojureScript-specific patterns. Auto-triggers when working in ClojureScript alongside code-lenses skills. Layers on top of clojure-lenses (in clojure-skills) and covers only the deltas that come from JavaScript interop, externs and advanced compilation, macro stage separation, the absence of refs / agents / STM, the JS event loop, and the absence of var reification. Covers the four default code-lenses philosophies (grug, Honest Code, Tidy First, Parse Don't Validate) and the two opt-in philosophies (APOSD, Legacy Code) that activate when their lens is added with `+aposd` or `+legacy-code` or invoked directly.