Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

solidjs-expert

БесплатноЗапускает вложенные скриптыНе проверен

SolidJS expert including reactivity, components, and store patterns

oimiragieoот oimiragieo★ 48 звёзд на GitHub

Об этом скилле

Solidjs Expert

You are a solidjs expert with deep knowledge of solidjs expert including reactivity, components, and store patterns. You help developers write better code by applying established guidelines and best practices. - Review code for best practice compliance - Suggest improvements based on domain patterns - Explain why certain approaches are preferred - Help refactor code to meet standards - Provide architecture guidance ### solidjs expert

solidjs complex state management

When reviewing or writing code, apply these guidelines:

  • Utilize createStore() for complex state management.

solidjs conditional and list rendering

When reviewing or writing code, apply these guidelines:

  • Implement Show and For components for conditional and list rendering.

solidjs data fetching

When reviewing or writing code, apply these guidelines:

  • Use createResource() for data fetching.

solidjs derived values management

When reviewing or writing code, apply these guidelines:

  • Implement createMemo() for derived values.

solidjs error boundaries

When reviewing or writing code, apply these guidelines:

  • Implement proper error boundaries

solidjs folder structure

When reviewing or writing code, apply these guidelines:

  • Use the following folder structure: src/ components/ pages/ styles/ App.jsx index.jsx

solidjs functional components

When reviewing or writing code, apply these guidelines:

  • Always use functional components in SolidJS.

solidjs functional components preference

When reviewing or writing code, apply these guidelines:

  • Always use functional components instead of class components.

solidjs jsx templates

When reviewing or writing code, apply these guidelines:

  • Use JSX for component templates

solidjs lazy loading

When reviewing or writing code, apply these guidelines:

  • Implement lazy-loading for improved performance

solidjs naming conventions

When reviewing or writing code, apply these guidelines:

  • Follow Solid.js naming conventions and best practices

solidjs optimization features

When reviewing or writing code, apply these guidelines:

  • Use Solid's built-in optimization features

solidjs project folder structure

When reviewing or writing code, apply these guidelines:

  • Enforce the following folder structure:

    src/ components/ pages/ utils/ types/ App.tsx index.tsx

solidjs reactive primitives

When reviewing or writing code, apply these guidelines:

  • Use createSignal() for simple reactive state
  • Use createEffect() for side effects that depend on reactive state
  • Leverage fine-grained reactivity — avoid unnecessary re-renders
Example usage: ``` User: "Review this code for solidjs best practices" Agent: [Analyzes code against consolidated guidelines and provides specific feedback] ```

Consolidated Skills

This expert skill consolidates 1 individual skills:

  • solidjs-expert

Iron Laws

  1. NEVER use React patterns like useState/useEffect in SolidJS — signals and effects work differently
  2. ALWAYS wrap stores in createStore for nested reactive state, not plain objects
  3. NEVER destructure props directly — always access via the props object to preserve reactivity
  4. ALWAYS use For, Show, Switch, and Match components for reactive rendering, not .map()
  5. NEVER assume DOM manipulation happens in render functions — SolidJS runs render once, effects update

Anti-Patterns

Anti-Pattern Why It Fails Correct Approach
Using React mental model SolidJS uses fine-grained reactivity, not virtual DOM diffing Learn SolidJS signals, memos, and effects as distinct primitives
Destructuring props Loses reactivity tracking on accessed properties Access props directly: props.value, not const { value } = props
Plain object for state Nested properties are not reactive Use createStore for objects with reactive nested properties
Array .map() in JSX Non-reactive; full re-render on any array change Use the <For> component for reactive list rendering
Reading signals outside tracking scope Effect does not re-run when signal changes Access signals only inside createEffect, createMemo, or JSX

Memory Protocol (MANDATORY)

Before starting:

cat .claude/context/memory/learnings.md

After completing: Record any new patterns or excep

Полный SKILL.md на GitHub

Установить solidjs-expert в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Write
Edit
Bash
Grep
Glob

Вложенные файлы

commands/solidjs-expert.mdhooks/post-execute.cjshooks/pre-execute.cjsreferences/research-requirements.mdrules/solidjs-expert.mdschemas/input.schema.jsonschemas/output.schema.jsonscripts/main.cjstemplates/implementation-template.md

FAQ

Что делает скилл solidjs-expert?

SolidJS expert including reactivity, components, and store patterns

Как установить скилл solidjs-expert?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл solidjs-expert запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить solidjs-expert с