solid-signals

Creates, reads, and updates reactive signals in SolidJS applications with type safety.

2|2|Updated May 1, 2026
One-click install
npx skills add https://github.com/adamhjk/mvtt --skill solid-signals
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: solid-signals
Source: https://github.com/adamhjk/mvtt/tree/main/.claude/skills/solid-signals
Command: npx skills add https://github.com/adamhjk/mvtt --skill solid-signals

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines handling reactive state in SolidJS by providing comprehensive coverage of createSignal and related APIs, reducing boilerplate and errors.

Core Features & Use Cases

  • Creating reactive signals with default values, custom options, and types.
  • Reading and updating signals efficiently within components and effects.
  • Use Case: Manage form input states in a SolidJS component, utilizing createSignal for efficient reactivity and optional custom equality logic for optimized updates.

Quick Start

Create a signal for a counter value and increment it using the provided setter.

Frequently Asked Questions about solid-signals

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage reactive state in SolidJS using createSignal?

To manage reactive state in SolidJS, use createSignal to define a default value and a setter function. This allows components to read and update state reactively, ensuring the UI automatically reflects changes without manual DOM manipulation.

What is the best way to handle form input state in a SolidJS component?

Handling form input state in SolidJS is best achieved by binding form inputs to a createSignal. This provides efficient reactivity, allowing the component to track input changes instantly and update state seamlessly as the user types.

How do I avoid stale closures when updating SolidJS signals?

To avoid stale closures when updating SolidJS signals, use the functional updater form provided by the setter. This ensures you are always working with the latest state value during asynchronous operations or rapid sequential updates.

Can I use custom equality logic with SolidJS reactive signals?

Yes, you can use custom equality logic with SolidJS reactive signals by passing an options object to createSignal. This custom comparator optimizes reactivity by preventing unnecessary UI updates when the new state value is considered equal to the previous one.

Does TypeScript work with SolidJS state management for type safety?

TypeScript works seamlessly with SolidJS state management by providing full type safety for signals. You can explicitly define generic types on createSignal to ensure state values and setter arguments are strictly typed throughout your application.