
Description
chakra-ui-refactor is an agent skill from the Chakra UI project for reviewing, converting and improving user interface code written with Chakra UI v3. Depending on what a developer needs, it produces a structured critique of existing code, rewritten code, or both. It can also convert plain HTML and CSS into Chakra UI components. The skill begins by establishing what the developer wants, then reads the code and the project context fully before producing any output, so its advice fits the actual project and is not based on a fragment. The critique looks for issues in how components are used, such as styling that bypasses the design tokens, markup that is not accessible, and patterns that Chakra UI v3 has replaced. The rewrite keeps the behavior of the original while moving it to the library's conventions. The skill is useful for code review of interfaces built with Chakra UI, for modernizing older component code, and for moving a static design into the component system. A rewritten component should be checked by running it, because a change that looks cleaner can still alter how the interface behaves. The skill is installed with the skills CLI from the chakra-ui/chakra-ui repository. Its skills.sh page showed about 2.8K installs and passing results from three security audits at the time of the scan.…
Highlights
- Structured critique of Chakra UI code
- Rewrites that keep the original behavior
- Converts plain HTML and CSS to components
- Reads the full code and project context first
- Installs with the skills CLI
Ratings & Reviews
No ratings yet
Be the first to rate chakra-ui-refactor.
People also visit

chakra-ui-migrate
Migrate Chakra UI projects from v2 to v3, covering package changes, codemods

principle-minimize-reader-load
Apply when reviewing or shaping code that's hard to trace

thermo-nuclear-code-quality-review
Run an extremely strict maintainability review for abstraction quality
chakra-ui-refactor FAQ
What can the skill produce?
A structured critique of the code, rewritten code, or both, depending on the request.
Can it convert HTML and CSS?
Yes. Converting plain HTML and CSS into Chakra UI code is one of its uses.
Does it keep behavior?
The rewrite keeps the original behavior while moving it to Chakra UI conventions, and the result should still be run and checked.
How do I install it?
Run npx skills add https://github.com/chakra-ui/chakra-ui --skill chakra-ui-refactor.
What security audits does it have?
skills.sh lists three audits: Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.
What are the best chakra-ui-refactor alternatives?
Popular alternatives to chakra-ui-refactor include chakra-ui-builder, chakra-ui-migrate and review-and-refactor. See all chakra-ui-refactor alternatives






