Skip to main content
subagent CX Codex

solidjs-expert — Claude Code subagent: what it does, how to install

solidjs-expert — a Claude subagent for SolidJS: it works through state on signals and stores, keeps components small, and checks where rendering slows down.

MIT ★ 1,029 updated 2025-10-15

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/agents/solidjs-expert.md
Open on GitHub

What solidjs-expert does

The subagent covers SolidJS work: state, component structure, and the slow parts of rendering. It fits a project already written in Solid where the tree and the state need tidying.

Its scope runs from signals and stores to effects made with createEffect, shared state through context, nested components, routing, and tests. A checklist backs that up: a clear component API, typed props with defaults, little business logic inside, tests that mean something. You get typed code, tests, and benchmarks of the render path.

Everything assumes reactivity without a virtual DOM. On a React codebase the advice does not carry over, because the model of state is a different one.

What it helps with

  • split state into signals and stores
  • move shared state into a context provider
  • cut wasted recomputation on a hot render path
  • write tests for a component
  • break a large component into smaller ones

Example prompts for the agent

  • Go through Cart.tsx with solidjs-expert: which signals are redundant here?
  • Have solidjs-expert move this global state into a context provider.
  • Ask solidjs-expert to profile the list rendering and drop the extra recomputes.

How to install solidjs-expert

Manually: put the files in place

.claude/agents/solidjs-expert.md

For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean

Questions about solidjs-expert

How do I install solidjs-expert in Claude Code?

Place the subagent file at .claude/agents/solidjs-expert.md inside your project. For Claude that is the whole install.

What does solidjs-expert do?

It writes and reviews SolidJS code: state with signals and stores, effects, nested components, routing, tests. It also looks for render work that is wasted.

Does it help on a React project?

No. It reasons in Solid's model, where updates skip the virtual DOM, so its patterns do not translate to React.

Source text

solidjs-expert.md · MIT
---
name: solidjs-expert
description: SolidJS expert specializing in creating efficient and reactive UI components using SolidJS.
model: claude-sonnet-4-20250514
---

## Focus Areas

- Understanding SolidJS reactivity system
- Building reusable components
- Optimizing rendering performance
- Managing state with stores and signals
- Handling side effects with createEffect
- Composing UI with nested components
- Leveraging context API for global state
- Integrating custom hooks for shared logic
- Implementing router for navigation
- Testing SolidJS components

## Approach

- Emphasize fine-grained reactivity over VDOM
- Use signals for state management efficiently
- Decompose UI into atomic components
- Frequently profile and optimize slow paths
- Minimize unnecessary computations and renders
- Apply consistent naming conventions
- Adhere to best practices from SolidJS docs
- Prefer built-in hooks before creating custom
- Refactor to remove duplication and complexity
- Document components with clear examples

## Quality Checklist

- Components are functionally reusable
- Signals and stores are used appropriately
- Declarative over imperative coding style
- CSS encapsulation in components
- Well-defined props with default values
- Input validation with relevant feedback
- Minimal business logic in the components
- Consistent coding style across components
- Comprehensive and meaningful tests
- Profiled and benchmarked performance

## Output

- SolidJS components with clear API
- Readable and maintainable codebase
- Comprehensive test suite for components
- Performance benchmarking reports
- Documentation with usage examples
- Refactored code for improved clarity
- Type-safe implementations with TS support
- Optimized critical rendering paths
- Minimal and understandable JSX
- Harmonic and responsive UI layouts

© 0xfurai · MIT · 0xfurai/claude-code-subagents

Similar subagents

All subagents for Frontend and UI →

From the same set137

The whole set →
gin-expert gin-expert — a Claude Code subagent for the Gin Go web framework. Helps configure servers, group routes, write middleware, and benchmark performance. CX Codex ★ 1,029repo stars neo4j-expert neo4j-expert — a Claude Code subagent for Neo4j graph design, Cypher work, and query performance. Use it when a project relies on graph data. CX Codex ★ 1,029repo stars vue-expert vue-expert is a Claude Code subagent for Vue.js application development. It builds Single File Components and configures Vue Router and Vuex. CX Codex ★ 1,029repo stars jenkins-expert jenkins-expert is a Claude Code subagent for building Jenkinsfiles and CI/CD pipelines, configuring jobs, plugins, and access. It supports build and deployment automation. CX Codex ★ 1,029repo stars pytorch-expert pytorch-expert — a Claude subagent for PyTorch work: building networks, writing custom losses, chasing gradient bugs and training on GPU. CX Codex ★ 1,029repo stars jest-expert jest-expert — a Claude Code subagent that configures Jest, creates isolated JavaScript tests, handles mocks, and sets up coverage reporting. CX Codex ★ 1,029repo stars nats-expert nats-expert — a Claude Code subagent for NATS architecture, messaging patterns, clusters, security, and delivery failures. Use it when a project depends on NATS. CX Codex ★ 1,029repo stars swift-expert swift-expert — a Claude subagent for Swift work: SwiftUI views, async/await and actors, ARC memory, XCTest. Handy when you want a second pass over code or tests. CX Codex ★ 1,029repo stars

Project sponsors

Companies that keep this analytics open