Guides writing, reviewing, or auditing SolidJS code with rules for fine-grained reactivity, stable view identity, and owned resource lifetimes.
Ships in juspay. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Make each state change update only its dependent bindings. Consult the Solid docs for API details; apply these rules when choosing reactive boundaries.
<Show>, <Switch>, keyed
<Show>, <Dynamic> or a ternary swaps a heavy subtree on tab, split,
breakpoint, collapse or loading changes, keep one subtree and update its
classes, attributes or visibility, preserving DOM and local state.<For> over
stable objects, mounting each once. For large retained subtrees, prefer an
out-of-flow, explicitly sized host with content-visibility: hidden over
display: none to preserve host geometry and avoid discarding layout on
every switch.<For> for item identity and
<Index> only when position is identity; never index per-item state,
registries or memory by position, because reorder would transfer ownership.<For>
over freshly minted objects rebuilds rows; inspect the data layer's source
to establish whether updates preserve object identity rather than assuming
they do. See list rendering.createSelector for selection, focus, hover and active-tab membership so
only affected readers update.createComputed to build
the next table, compare per key, write only changed entries and clear removed
keys; this keeps unchanged readers silent. Do not reconcile values you do
not own, or object arrays without a declared identity key: positional reuse
can write the next record's fields into a shared previous object. See
createComputed
and reconcile.document.querySelector; scope
necessary lookups to the component's own subtree so another mounted copy
cannot receive its work.batch related writes after each await, because batching does not span
the suspension and readers must not observe partial updates. See
batch.createRoot a reachable disposer and every listener,
timer and observer an onCleanup, so owner departure ends its work. See
cleanup.<Show>, not a memo that allocates: the condition defines that child's
lifetime. Keep the surrounding retained view outside this boundary.shown accessor.
Gate window/document handlers, scrolling, focus, timers and "is anyone
watching?" decisions on it. Hidden portalled overlays and menus retain state
but withdraw from global layer stacks, so they cannot intercept the visible
view's input. Never infer visibility from another component's DOM, element
size or the pressed target; settle the gesture, then ask shown() so the
decision uses the resulting view state.For each state change, ask what re-runs, and what is rebuilt? Prove fixes with element identity before and after, and notification counts: switching a single selection between two rows should wake exactly those two rows. Timing alone cannot prove identity or dependency scope. Measure before claiming a speed-up, and report the workload, metric and before/after results.
What SKILL.md sets; muted values are Claude Code's defaults
/juspay:solidjsfrom juspay
npx claudepluginhub juspay/skills --plugin juspay17 skills in this plugin
/cargo-watchRun cargo-watch in the background for continuous clippy feedback during code editing./nix-bunUse this when building a Bun (bun.lock) project with Nix. Covers bun2nix, the bun.nix dependency workflow, the bun --compile top-level-await pitfall, and a CI drift check./nix-ciUse this when setting up CI for a GitHub repository — offers GitHub Actions or Vira depending on the project/nix-for-devUse this when setting up Nix for a development project (devShell + package build) and you care about `nix develop` being fast. Covers the zero-inputs flake.nix + npins + default.nix/shell.nix layout, sub-flakes for non-user-facing Nix, and language-specific recommendations./nix-haskellUse this when working on a Haskell project with Nix. Covers haskell-flake setup, adding/overriding dependencies, package settings, and devShell configuration./nix-healthUse this when diagnosing or fixing a user's Nix installation — checks flakes, version, caches, max-jobs, direnv, rosetta, trusted-users, and shell configOther plugins' skills for the same job