solid.js

Standardize SolidJS TypeScript code with a four-layer architecture and CSS Modules.

Updated Apr 17, 2026
One-click install
npx skills add https://github.com/ajelinek/skills-stash --skill solid-js
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: solid.js
Source: https://github.com/ajelinek/skills-stash/tree/main/solid.js
Command: npx skills add https://github.com/ajelinek/skills-stash --skill solid-js

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

SolidJS projects often suffer from inconsistent patterns, fragmented component architectures, and ad hoc state-management choices. This skill provides a structured conventions-based approach to building and refactoring SolidJS TypeScript code, enabling reusable primitives, typed stores, and accessible HTML semantics.

Core Features & Use Cases

  • Establishes foundational patterns: CSS Modules, a shared component system, service-driven state, and typed store usage to promote consistency across teams.
  • Supports creating or refactoring components, hooks, and async operations with predictable behavior and strong typing.
  • Real-world scenario: standardize a page shell that wires data via services, forms via shared hooks, and accessible UI primitives, reducing duplicate decisions.

Quick Start

Apply the SolidJS pattern by reusing the provided foundational components, hooks, and store patterns to structure new components and features.

Frequently Asked Questions about solid.js

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

FAQPage Schema
How do I structure a scalable SolidJS TypeScript application?

Structure scalable SolidJS TypeScript applications using a four-layer architecture comprising repository, service, hooks, and utilities layers. This pattern enforces consistent component creation, service-driven state, typed stores, and accessible HTML semantics to prevent fragmented codebases.

What is the best way to manage forms and async data flow in SolidJS?

Manage forms and async data flow in SolidJS using built-in async helpers like useAsyncOperation, useAsyncSubscription, and useFormManagement. These hooks coordinate predictable UI state and data fetching while maintaining strong typing across your application.

How does this SolidJS pattern handle state management and styling?

State management and styling are handled through service-driven state with typed stores and CSS Modules. This approach standardizes shared component systems and enforces safe reactivity rules to ensure consistent styling and predictable state mutations.

Can I refactor existing SolidJS components to use a layered architecture?

Refactor existing SolidJS components into a layered architecture by applying structured conventions for repositories, services, hooks, and utilities. This standardizes component behavior, enforces strong typing, and reduces ad hoc state-management decisions across your project.

When do I need a structured architectural pattern for SolidJS?

You need a structured architectural pattern for SolidJS when your project suffers from inconsistent patterns, fragmented component architectures, or ad hoc state-management choices. It is essential for building scalable apps where consistent architecture, accessibility, and strong typing matter.

Does this SolidJS architecture enforce safe reactivity rules?

Yes, this SolidJS architecture enforces safe reactivity rules alongside a four-layer design and typed store usage. These constraints prevent common reactivity pitfalls and ensure predictable behavior when building or updating components and foundational primitives.