Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Solid Pro

ASecurity

Idiomatic SolidJS: fine-grained reactivity, signals/memos/effects, component design, and SolidStart patterns. Use when writing, reviewing, or structuring Solid apps.

2 stars
0 votes
0 copies
0 views
Added 9/29/2026
ai-agentstypescriptgoreactnodeexpresstestingdebugging

Works with

cli

Security Analysis

A100/100

Scanned 9/29/2026

$npx -y skills add aicodedecode/awesome-muse-skills --skill solid-pro --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Solid Pro?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Solid Pro
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aicodedecode-solid-pro/badge)](https://www.skillsdirectory.com/skills/aicodedecode-solid-pro)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
name: solid-pro
description: Idiomatic SolidJS: fine-grained reactivity, signals/memos/effects, component design, and SolidStart patterns. Use when writing, reviewing, or structuring Solid apps.
category: development
---

# Solid Pro

## Overview

SolidJS takes fine-grained reactivity to its logical end: **no virtual DOM, no re-rendering
components** — signals update exactly the DOM nodes that depend on them. Professional Solid means
internalizing the reactive execution model (components run once; effects track dependencies
automatically), using primitives precisely (signals, memos, effects, resources), and structuring
apps so reactivity flows in one direction.

The through-line: think in dataflow graphs, not render cycles — components are setup code, JSX is
a template compiled to fine-grained updates.

## When to use

- Writing or reviewing SolidJS code.
- Designing reactive state, derived values, and side effects.
- Structuring SolidStart applications (routing, data, SSR).
- Debugging reactivity issues (stale values, missing updates, effect loops).
- Optimizing Solid rendering or understanding its execution model.

## Core concepts

- **Components execute once.** A Solid component function runs a single time to set up reactive
  nodes — JSX expressions re-execute only where they read signals. Code outside reactive contexts
  (effects, memos, JSX bindings) runs once; don't expect "re-render" semantics.
- **Primitives with distinct jobs.** `createSignal` (read/write reactive value), `createMemo`
  (cached derivation — use instead of deriving in effects or during render), `createEffect`
  (side effects, auto-tracks dependencies), `createResource` (async data with loading/error
  states built in). Choosing the wrong primitive is the root of most Solid bugs.
- **Fine-grained updates.** `<div>{count()}</div>` — only the text node updates when `count`
  changes. This is why Solid is fast by default, and why you rarely need memoization: the
  framework already updates minimally.
- **Stores for nested state.** `createStore` for deep reactive objects — path-based updates
  (`setState('user', 'name', 'Ada')`) with immutable semantics and fine-grained notifications.
  Prefer stores over nested signals for complex state shapes.
- **Control flow components.** `<Show>`, `<For>`, `<Switch>/<Match>`, `<Suspense>`, `<ErrorBoundary>`
  — real components (not syntax) that handle reactivity correctly. `<For>` with keyed identity
  for lists; never `.map()` directly in JSX for dynamic lists (loses fine-grained updates).
- **SolidStart's isomorphic model.** File-based routing, server functions for data/mutations,
  SSR streaming — design data loading server-first like other meta-frameworks, with Solid's
  reactivity on the client.

## Practical workflow

1. **Scaffold with SolidStart** (or Vite + Solid for SPAs); TypeScript; file-based routes.
2. **Model state as signals/stores.** Component-local → signals; shared → context + stores or a
   small external store module; server data → `createResource` / server functions with
   loading/error states.
3. **Derive with memos, never in effects.** `const total = createMemo(() => items().reduce(...))`
   — cached, lazy, and correct. Effects only touch the outside world.
4. **Write JSX as templates.** Expressions read signals where the DOM should update; control-flow
   components for conditionals/lists; avoid creating signals inside JSX expressions (runs per
   evaluation — usually once, but confusing).
5. **Handle resources properly.** `createResource(fetcher)` gives `loading`/`error` states;
   `refetch`/`mutate` for updates; `<Suspense>` boundaries placed deliberately; `<ErrorBoundary>`
   for crash isolation.
6. **Test behavior.** Vitest for logic; `@solidjs/testing-library` for component behavior
   (assert on DOM, interact via user events); Playwright for critical journeys.

Idiomatic snippets:

```tsx
// Signals + memo + resource: each primitive doing its job
function OrderList() {
  const [filter, setFilter] = createSignal("");
  const [orders] = createResource(fetchOrders); // { loading, error } built in

  const visible = createMemo(() =>
    (orders() ?? []).filter(o => o.id.includes(filter()))
  );
  const total = createMemo(() => visible().reduce((s, o) => s + o.total, 0));

  // Effect ONLY for side effects
  createEffect(() => { document.title = `Orders (${visible().length})`; });

  return (
    <Suspense fallback={<Skeleton />}>
      <ErrorBoundary fallback={err => <ErrorView error={err} />}>
        <For each={visible()}>{order => <OrderRow order={order} />}</For>
      </ErrorBoundary>
    </Suspense>
  );
}
```

## Common pitfalls

- **Thinking in re-renders.** Writing code that assumes the component function re-runs (like
  React). In Solid it runs once — logic that must re-run on signal change belongs in memos,
  effects, or JSX expressions.
- **Deriving in effects.** `createEffect(() => setB(transform(a())))` — use `createMemo`.
  Effects are side-effect-only; derivation-in-effect causes loops and extra runs.
- **Destructuring signals' values.** `const { name } = user()` captures a snapshot, not
  reactivity. Keep the signal call inside reactive contexts.
- **`.map()` instead of `<For>`.** Direct array mapping in JSX doesn't get keyed fine-grained
  updates — list state (focus, input values) breaks on reorder. `<For>` always for dynamic lists.
- **Creating reactives in render paths.** `createSignal`/`createEffect` inside JSX expressions or
  event handlers that run repeatedly — leaks reactive nodes. Create in component body (runs once).
- **Over-nesting effects.** Effects that set signals read by other effects — cascade of runs,
  hard to reason about. Flatten: derive with memos, keep effects at the leaves touching the
  outside world.
- **Ignoring `<Suspense>` placement.** One root Suspense for everything = whole-page spinners.
  Place boundaries around independent data regions for progressive loading.

Attribution

aicodedecodeaicodedecode
View sourceSee grades on GitHubMore from aicodedecode →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Terse caveman voice: answer first, fluff gone, every technical fact kept. Use for /caveman, "caveman mode", "talk like caveman", "be brief", "less tokens". Stays on until "stop caveman" or "normal mode".

1100021 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

698461 votes

Writing Skills

Create and manage Claude Code skills in HASH repository following Anthropic best practices. Use when creating new skills, modifying skill-rules.json, understanding trigger patterns, working with hooks, debugging skill activation, or implementing progressive disclosure. Covers skill structure, YAML frontmatter, trigger types (keywords, intent patterns), UserPromptSubmit hook, and the 500-line rule. Includes validation and debugging with SKILL_DEBUG. Examples include rust-error-stack, cargo-dep...

3931 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3421 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Amp, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Grok Build, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

741 votes
View all in ai-agents →