Solid Refactor Assistant

Plan and execute SolidJS refactors with explicit invariants, rollback-safe sequencing, and citation-backed verification. Use when changing boundaries, state shape, rendering flow, or public props interfaces.

9 stars 4 forksSoftware Development

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add lvcoi/solidJSkills --skill solid-refactor-assistant
Manual install
git clone --depth 1 https://github.com/lvcoi/solidJSkills.git /tmp/solidJSkills
mkdir -p ~/.claude/skills
cp -r /tmp/solidJSkills/skills/solid-refactor-assistant ~/.claude/skills/solid-refactor-assistant

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# solid-refactor-assistant

## Trigger

Use this skill when existing SolidJS code needs structural or behavioral changes with low regression tolerance.

## Required Inputs

- Current behavior and invariants to preserve.
- Refactor objective and non-goals.
- Public interfaces that cannot break (props/events/routes/contracts).
- Validation surface: tests, manual scenarios, and performance constraints.

## Workflow

1. Capture baseline invariants as pass/fail statements.
2. Break refactor into rollback-safe increments; each step must be independently verifiable.
3. Preserve reactivity semantics: avoid effect-driven derivations and accidental dependency widening.
4. Flag API changes and provide compatibility branch (adapter/deprecation note) when needed.
5. Include targeted SSR/hydration and async-state checks where rendering paths changed.
6. Output regression checklist and command sequence aligned to touched scope.

## Failure Modes

- Invariants undefined: fail early and request explicit invariant list.
- Multi-axis refactor in one step: split into smaller ordered steps.
- Missing rollback path: output is invalid until rollback instructions exist.
- Refactor touches async/render logic without state matrix: add matrix before finalizing.

## Output Contract

Return output matching `RefactorPlanOutput` schema at `../../skills/contracts/refactor-plan-output.schema.json` with:

- `summary`, `invariants`, `stepwise_plan`, `risk_controls`, and `rollback_strategy`.
Read the full skill on GitHub

Details

Skill name
solid-refactor-assistant
Path
skills/solid-refactor-assistant/SKILL.md
License
MIT
Repo updated
19 February 2026

FAQ

What does the Solid Refactor Assistant skill do?

Plan and execute SolidJS refactors with explicit invariants, rollback-safe sequencing, and citation-backed verification. Use when changing boundaries, state shape, rendering flow, or public props interfaces.

How do I install the Solid Refactor Assistant skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add lvcoi/solidJSkills --skill solid-refactor-assistant. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Solid Refactor Assistant popular?

It lives in lvcoi/solidJSkills, which has 9 GitHub stars and 4 forks.

Related skills

Skill Authoring

9

lvcoi/solidJSkills

Design, draft, and refine SKILL.md-based agent skills with clear trigger criteria, execution flow, validation checks, and reusable references. Use when creating a new skill or improving an existing one.

Skill & Plugin Authoring

Solid Component Builder

9

lvcoi/solidJSkills

Build or improve SolidJS components with deterministic reactivity decisions and citation-backed guidance. Use when implementing a component, feature slice, or reusable UI primitive in SolidJS.

Frontend & Design

Solid Control Flow Rendering

9

lvcoi/solidJSkills

Select and enforce SolidJS control-flow and rendering primitives with explicit branch semantics. Use for conditional/list rendering, suspense boundaries, and dynamic rendering choices.

Git & Code Review

Solid Ssr Hydration Debugger

9

lvcoi/solidJSkills

Diagnose and prevent SolidJS SSR/hydration mismatches with deterministic reproduction and remediation steps. Use for server-client render inconsistencies, hydration errors, and browser-only boundary issues.

Software Development

Solid Design Patterns

9

lvcoi/solidJSkills

Choose SolidJS architecture patterns with explicit tradeoffs, migration paths, and deterministic recommendation rules. Use when deciding state ownership, rendering/data flow, or boundary design.

Software Development

Solid Start Server Runtime

9

lvcoi/solidJSkills

Guide SolidStart server runtime patterns for handlers, middleware, server functions, and request events with explicit runtime constraints. Use for server-side SolidStart architecture and API behavior.

Software Development

Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.