react-to-solid
Skill by nightly-labs
Converts React TSX, hooks, and shadcn-style component patterns into idiomatic SolidJS for the Zaidan component registry. Aimed at developers porting React code into Zaidan.
Install react-to-solid
Built from the published package, never by AI.
git clone --depth 1 https://github.com/nightly-labs/openbot /tmp/openbot && mkdir -p ~/.claude/skills && cp -r /tmp/openbot/.agents/skills/react-to-solid ~/.claude/skills/react-to-solidRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/nightly-labs/openbot /tmp/openbot && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/openbot/.agents/skills/react-to-solid ~/.gemini/antigravity-cli/skills/react-to-solidAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill gives translation rules for porting React code to SolidJS. It covers core mappings such as className to class, useState to createSignal, and useEffect to createEffect. It also includes import and path rewrites from React registry paths to Zaidan paths, and a dependency policy that prefers Kobalte, then Corvu, then vanilla SolidJS for primitives.
The skill points to reference docs for Base UI, Kobalte, Corvu, and third-party React packages. It asks the assistant to keep props split with splitProps, preserve Tailwind classes and data-slot attributes, and update all eight Zaidan styles. Workflow, source URLs, and browser testing are handled by a separate shadcn-to-zaidan skill. It is for developers converting shadcn-style React components, examples, or blocks into Zaidan.
Written from the project's SKILL.md and checked against it.
What it can do
- Core React to Solid mappingsMaps className, useState, useEffect, useMemo, and list or conditional rendering to Solid equivalents.
- Import and path rewritesRemoves React imports and rewrites React registry paths to Zaidan paths.
- Props handlingShows splitProps and mergeProps patterns for component props.
- Primitive wrapper patternShows wrapping Kobalte primitives in components that merge classes with cn.
- Dependency selectionRanks Kobalte, Corvu, and vanilla SolidJS, and guides replacing React-only packages.
- Style preservation rulesKeeps Tailwind classes, CSS variables, and data-slot attributes, and updates all eight styles.
What you need
- Companion skill at .agents/skills/shadcn-to-zaidan/SKILL.md for workflow
Try asking
- Convert this React TSX card component to SolidJS using splitProps.
- Port this useState and useEffect hook code to Solid signals and effects.
- Replace the Radix dialog in this shadcn block with a Kobalte-based version.
Good to know
- The Base UI mapping table is a starting point, and selectors must be verified in the browser.
- Covers translation only. Workflow, registry updates, and testing are in another skill.
- Some Solid-specific divergences from the pinned Base UI API may be unavoidable.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/react-to-solid/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB -
agents/openai.yaml271 B -
docs/base-ui-mapping.md13 KB -
docs/corvu-patterns.md10 KB -
docs/kobalte-patterns.md10 KB
Show all 6 files
-
docs/third-party-deps.md10 KB
Alternatives to react-to-solid
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
react-to-solid: common questions
Which Solid primitive library does it prefer?
It prefers Kobalte when Kobalte has an equivalent accessible primitive. If not, it uses Corvu, and then vanilla SolidJS.
Does it handle React-only npm packages?
It says to read docs/third-party-deps.md, look for an actively maintained SolidJS flavor, and avoid carrying React runtime dependencies into registry code.
Which icon library does it use?
It rewrites lucide-react imports to lucide-solid.
How do I install react-to-solid?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is react-to-solid free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is react-to-solid safe to use?
It scores 88 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to react-to-solid?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
