From nexus
Use when working with Nexus — a zero-dependency Clojure(Script) action dispatch library for data-driven UIs. Activate when the user asks about nexus.core/dispatch, nexus.registry, actions, effects, placeholders, interceptors, system->state, batching effects, async effects, the fail-fast strategy, or wiring Nexus with Replicant. Also activate when the user asks about nexus.action-log, inspecting dispatched actions in Dataspex, or the action log panel.
How this skill is triggered — by the user, by Claude, or both
Slash command
/nexus:nexusThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Nexus is a small, zero-dependency Clojure(Script) library for declarative action dispatch. The UI is a pure function of state; Nexus makes event handling declarative, minimal, and side-effect-free by separating **actions** (pure data describing intent) from **effects** (functions that perform side-effects).
Nexus is a small, zero-dependency Clojure(Script) library for declarative action dispatch. The UI is a pure function of state; Nexus makes event handling declarative, minimal, and side-effect-free by separating actions (pure data describing intent) from effects (functions that perform side-effects).
Coordinates: no.cjohansen/nexus {:mvn/version "2025.11.1"}.
| Task | Go to |
|---|---|
Add Nexus, write the nexus map, call dispatch | setup-and-api.md |
Implement actions, effects, system->state, batching, async | actions-effects-placeholders.md |
| Use placeholders, dispatch data, nested placeholders | actions-effects-placeholders.md |
Use nexus.registry global convenience API | registry.md |
Add interceptors, error handling, fail-fast strategy | interceptors.md |
Inspect actions in Dataspex, set up action-log | registry.md |
| Dispatch not working, actions silently dropped, wrong results | anti-patterns.md |
DOM event / timer / network
→ dispatch [action-vector …]
→ expand actions (pure fns, system snapshot)
→ interpolate placeholders (late-bound dispatch-data)
→ execute effects (impure fns, live system)
[:keyword arg …] — pure data.(state & args) → [actions].(ctx system & args) → any.system->state converts the live system to an immutable snapshot for action handlers.[:kw & args] are resolved at dispatch time from dispatch-data.| API | When to use |
|---|---|
nexus.core/dispatch nexus system dispatch-data actions | Explicit; pass the nexus map everywhere |
nexus.registry/dispatch store dispatch-data actions | Implicit global registry; simpler setup |
Searches MemPalace before answering questions about past work, people, projects, or prior decisions. Returns verbatim stored content instead of guessing from model memory.
Guides Payload CMS config (payload.config.ts), collections, fields, hooks, access control, APIs. Debugs validation errors, security, relationships, queries, transactions, hook behavior.
Implements vector databases with Pinecone, Weaviate, Qdrant, Milvus, pgvector for semantic search, RAG, recommendations, and similarity systems. Optimizes embeddings, indexing, and hybrid search.
npx claudepluginhub stoating/clojure-nexus-skill --plugin nexus