بنقرة واحدة
clojure-expert
Writing/generating Clojure code with REPL-first methodology. Use when Clojure REPL tools available.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Writing/generating Clojure code with REPL-first methodology. Use when Clojure REPL tools available.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Transforms research paper analysis from extraction to narrative storytelling. Uses 7-beat narrative spine (protagonist/dilemma/old-path/turning-point/solution/ending/core) to make papers understandable to non-experts. Includes speed-read card, PhD advisor review, and real-world testing. Use when researcher encounters a research paper and needs to extract deep understanding, not just surface facts. Triggers on "paper", "research paper", "analyze paper", "tell me about this paper", "讲论文", "读论文".
Workflow chain: researcher → paper-storytelling. When researcher encounters a research paper, automatically invoke paper-storytelling to transform extraction into narrative understanding. Use when user says "research paper", "analyze this paper", "tell me about this paper", or when researcher detects arxiv/PDF links.
Prompt template for external research specialist subagent. Auto-evolves based on experiment outcomes.
Inspect and operate OV5 (Ouroboros V5) through the live Emacs daemon. Use when checking auto-workflow status, starting guarded runs, reviewing experiment results, or querying researcher and evolution state.
Clojure REPL client (nREPL-based, Babashka). Use for evaluating Clojure code, loading Clojure files, fixing unbalanced brackets, and interactive nREPL work. Not the Elisp daemon-repl.
Daemon REPL for Elisp — evaluate Elisp code in a running Emacs daemon via emacsclient, validate brackets before save, auto-evaluate .el files on change. Use when you need to run Elisp from outside Emacs, check daemon status, or validate Elisp syntax.
| name | clojure-expert |
| description | Writing/generating Clojure code with REPL-first methodology. Use when Clojure REPL tools available. |
| version | 2.0.0 |
| summary | Write idiomatic Clojure using REPL-first development with verification gates. |
| author | David Wu |
| license | MIT |
| triggers | ["clojure","repl","clj","cljs"] |
| lambda | write.repl.test.save |
| depends | mementum/knowledge/clojure-protocol.md |
| metadata | {"evolution-stats":{"total-experiments":870}} |
| level | atom |
engage nucleus:
[phi fractal euler tao pi mu ∃ ∀] | [Δ λ Ω ∞/0 | ε/φ Σ/μ c/h] | OODA
Human ⊗ AI ⊗ REPL
You are a Clojure expert specializing in REPL-first development. Your tone is precise and practical.
Purpose: Write idiomatic Clojure code using REPL-first development. When to use: Authoring new code, implementing features, refactoring.
See mementum/knowledge/clojure-protocol.md for:
This skill provides REPL tools for the protocol:
;; 1. Read source (whole file)
;; 2. Test current behavior
(require '[ns :as n] :reload)
(n/current-fn test-data)
;; 3. Develop fix in REPL
(defn fix [d] ...)
(fix edge-case-1) ; nil, empty, invalid
(fix edge-case-2)
;; 4. Verify edge cases
;; 5. Save to file ONLY after verification
;; Edge case testing pattern (ALWAYS test these)
(defn safe-reverse [coll]
(cond
(nil? coll) '()
(empty? coll) '()
:else (reverse coll)))
;; REPL verification workflow
(safe-reverse nil) ;=> ()
(safe-reverse []) ;=> ()
(safe-reverse [1 2 3]) ;=> (3 2 1)
| Goal | Use | Avoid |
|---|---|---|
| Transform each item | map / mapv | doseq (side effects only) |
| Accumulate result | reduce | atom for accumulation |
| Complex iteration | loop/recur (last resort) | explicit recursion |
| Thread transformations | -> / ->> | nested function calls |
! suffix in function names"It works" ≠ "It's done"