solid-impl-state-patterns

solid-impl-state-patterns is a skill for Claude Code from OpenAEC-Foundation/OpenAEC-Workspace-Composer. It costs 97 tokens per session (2,795 once invoked), scanned A, original, MIT.

A guide for choosing and managing shared or reactive state in SolidJS. Reactive state updates parts of the interface when the data they use changes.

In plain words
What is it for?
Use it to choose signals, stores, context, or memos; share state between components; derive values; and manage forms and nested data.
Why use it?
It helps avoid stale values, broken updates, incorrect derived data, and unsafe mutations in SolidJS applications.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions Claude Code.

Good fit Use it to choose signals, stores, context, or memos; share state between components; derive values; and manage forms and nested data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/openaec-foundation/openaec-workspace-composer/solid-impl-state-patterns
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add OpenAEC-Foundation/OpenAEC-Workspace-Composer --skill solid-impl-state-patterns
Clone the repo
git clone --depth 1 https://github.com/OpenAEC-Foundation/OpenAEC-Workspace-Composer

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for solid-impl-state-patterns

README.md
[![agentmods](https://agentmods.dev/badge/skills/openaec-foundation/openaec-workspace-composer/solid-impl-state-patterns/github.svg)](https://agentmods.dev/skills/openaec-foundation/openaec-workspace-composer/solid-impl-state-patterns)
Your own site
<a href="https://agentmods.dev/skills/openaec-foundation/openaec-workspace-composer/solid-impl-state-patterns"><img src="https://agentmods.dev/badge/skills/openaec-foundation/openaec-workspace-composer/solid-impl-state-patterns/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for solid-impl-state-patterns

Your own site · 80×15
<a href="https://agentmods.dev/skills/openaec-foundation/openaec-workspace-composer/solid-impl-state-patterns"><img src="https://agentmods.dev/badge/skills/openaec-foundation/openaec-workspace-composer/solid-impl-state-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,795 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00097 $0.02795
Opus 5.5 $0.00039 $0.01118
Sonnet 5.5 $0.00019 $0.00559
Haiku 4.5 $0.00010 $0.00280

Measured 3mo ago against content hash c6d62bbcf194, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

solid-impl-state-patterns scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/solidjs/solid-impl/solid-impl-state-patterns/SKILL.md · 385 lines

How it starts

The opening of the file, as written. The whole thing — 385 lines — stays where its author put it; the contents beside it link to each section on GitHub.

solid-impl-state-patterns

Quick Reference

State Primitives Overview

Primitive Import Use Case Access Syntax
createSignal solid-js Single values, primitives, toggles signal() (getter function)
createStore solid-js/store Nested objects, arrays, complex state store.prop (direct access)
createContext solid-js Shared state across component tree Provider + useContext
createMemo solid-js Derived/computed values memo() (getter function)
createMutable solid-js/store MobX/Vue migration only state.prop (direct mutation)

Critical Warnings

NEVER use createEffect to synchronize derived state — ALWAYS use createMemo instead. Effects are for side effects (DOM, network, logging), not for computing values from other signals.

NEVER store signal values in variables outside tracking scopes — the variable captures a snapshot, not a reactive binding. ALWAYS call the getter function where you need the current value.

NEVER destructure props or stores — destructuring reads values once and breaks reactive tracking. ALWAYS access properties through the proxy object.

NEVER use Redux, useReducer, or Zustand patterns — SolidJS has built-in primitives (signals, stores, context) that are more efficient and idiomatic.

NEVER use global mutable variables for shared state — ALWAYS use createContext + createStore for type-safe, reactive, scoped state sharing.


State Selection Decision Tree

Need state? → What kind of data?
│
├─ Single primitive value (string, number, boolean)
│  → createSignal
│
├─ Object with nested properties / array of items
│  → createStore
│
├─ Derived from other state (computed value)
│  → createMemo (NEVER createEffect + createSignal)
│
├─ Shared across multiple components
│  │
│  ├─ Parent → children (1-2 levels deep)
│  │  → Pass as props (direct)
│  │
│  └─ Across distant components / app-wide
│     → createContext + createStore + Provider
│
├─ Async data from server/API
│  → createResource (SolidJS 1.x) or createAsync (with @solidjs/router)
│
└─ External reactive source (RxJS, custom)
   → from() utility

Read the full file on GitHub · 385 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 385 lines · 97 tokens per session scan A c6d62bbcf194

Subscribe to this mod's changes

solid-impl-state-patterns is a skill published in the GitHub repository OpenAEC-Foundation/OpenAEC-Workspace-Composer (8 stars, last pushed 2mo ago), licensed MIT. It adds 97 tokens to every session and 2,795 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

solid-impl-state-patterns compared with skills from other repositories

solid-impl-state-patterns next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
solid-impl-state-patternsOpenAEC-Foundation/OpenAEC-Workspace-ComposerSkill82mo agoMITA97Claude Code
massing-bimibuilder/massingSkill14011d agoMITA90Claude Code, Codex
naviscoord-setupHorizunGroup/naviscoord-mcpSkill2322d agoMITA50Claude Code
aios-archArchSightLabs/archsight-aiosSkill372mo agoApache-2.0A57Claude Code, Codex
aios-productArchSightLabs/archsight-aiosSkill372mo agoApache-2.0A76Claude Code, Codex
aios-tender-writeArchSightLabs/archsight-aiosSkill372mo agoApache-2.0A59Claude Code, Codex
aios-construction-schemeArchSightLabs/archsight-aiosSkill372mo agoApache-2.0A58Claude Code, Codex