Frontend UI Functional
victorGPT/vibeusage
A skill your agent uses when building or refactoring functional React/Vite/Tailwind UI pages, templates, or component libraries that need consistent structure, tokenized styling, accessibility…
Reviews and converts UI code to Chakra UI v3, producing a critique, rewritten code or both, from plain HTML, Tailwind, CSS Modules or styled-components.
$ npx skills add chakra-ui/chakra-ui --skill chakra-ui-refactor -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install chakra-ui/chakra-ui chakra-ui-refactor --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/chakra-ui/chakra-ui.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/chakra-ui-refactor .claude/skills/chakra-ui-refactor && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "chakra-ui-refactor" agent skill from https://github.com/chakra-ui/chakra-ui/tree/main/skills/chakra-ui-refactor into .claude/skills/chakra-ui-refactor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "chakra-ui-refactor", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/chakra-ui/chakra-ui/tree/main/skills/chakra-ui-refactorType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add chakra-ui/chakra-ui --skill chakra-ui-refactor -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install chakra-ui/chakra-ui chakra-ui-refactor --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/chakra-ui/chakra-ui.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/chakra-ui-refactor .agents/skills/chakra-ui-refactor && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "chakra-ui-refactor" agent skill from https://github.com/chakra-ui/chakra-ui/tree/main/skills/chakra-ui-refactor into .agents/skills/chakra-ui-refactor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "chakra-ui-refactor", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add chakra-ui/chakra-ui --skill chakra-ui-refactor -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install chakra-ui/chakra-ui chakra-ui-refactor --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/chakra-ui/chakra-ui.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/chakra-ui-refactor .cursor/skills/chakra-ui-refactor && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "chakra-ui-refactor" agent skill from https://github.com/chakra-ui/chakra-ui/tree/main/skills/chakra-ui-refactor into .cursor/skills/chakra-ui-refactor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "chakra-ui-refactor", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/chakra-ui/chakra-ui.git --path skills/chakra-ui-refactor--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add chakra-ui/chakra-ui --skill chakra-ui-refactor -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install chakra-ui/chakra-ui chakra-ui-refactor --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/chakra-ui/chakra-ui.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/chakra-ui-refactor .gemini/skills/chakra-ui-refactor && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "chakra-ui-refactor" agent skill from https://github.com/chakra-ui/chakra-ui/tree/main/skills/chakra-ui-refactor into .gemini/skills/chakra-ui-refactor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "chakra-ui-refactor", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install chakra-ui/chakra-ui chakra-ui-refactorInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add chakra-ui/chakra-ui --skill chakra-ui-refactor -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/chakra-ui/chakra-ui.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/chakra-ui-refactor .github/skills/chakra-ui-refactor && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "chakra-ui-refactor" agent skill from https://github.com/chakra-ui/chakra-ui/tree/main/skills/chakra-ui-refactor into .github/skills/chakra-ui-refactor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "chakra-ui-refactor", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add chakra-ui/chakra-ui --skill chakra-ui-refactor -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install chakra-ui/chakra-ui chakra-ui-refactor --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/chakra-ui/chakra-ui.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/chakra-ui-refactor .opencode/skills/chakra-ui-refactor && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "chakra-ui-refactor" agent skill from https://github.com/chakra-ui/chakra-ui/tree/main/skills/chakra-ui-refactor into .opencode/skills/chakra-ui-refactor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "chakra-ui-refactor", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
chakra-ui-refactorReviews and converts UI code to Chakra UI v3, producing a critique, rewritten code or both, from plain HTML, Tailwind, CSS Modules or styled-components.
The skill first orients itself: the Chakra UI version from package.json, defaulting to v3, the framework such as Next.js App Router or Vite, the source type (existing Chakra, plain HTML and CSS, Tailwind, CSS Modules or styled-components) and what you want, which is a review only, a refactor or conversion, or both. It states that reading at the top of its reply and asks for the code if none has been shared.
The analysis covers accessibility, such as labels, keyboard navigation, heading hierarchy and Field.Root with Field.Label and Field.ErrorText, responsiveness across breakpoints and hardcoded pixel values, and Chakra API correctness. It enforces v3 names, for example disabled instead of isDisabled, colorPalette instead of colorScheme, gap instead of spacing and open instead of isOpen, along with correct compound components and correct placement of use client in Next.js App Router.
2 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit f799e4d. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Chakra UI v3 Refactor and Review loads about 2.8k tokens when it runs. Until then it costs about 149 tokens; SKILL.md has 1,063 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from chakra-ui/chakra-ui at commit f799e4d, republished under its MIT licence (© chakra-ui). 1,063 words, ~2,755 tokens.
.claude/skills/chakra-ui-refactor/SKILL.md (or your agent's skills folder).You are reviewing and improving UI code using Chakra UI v3. Depending on what the developer needs, you produce a structured critique, rewritten code, or both. Read the code and project context fully before producing any output.
Before any output, establish:
package.json; use v3 by defaultState your reading at the top of the response (e.g. "Reviewing as existing Chakra v3 code. Assuming Next.js App Router.").
If code isn't shared yet, ask for it. Don't review a description of code.
Work through the code across these dimensions regardless of output mode. For review, they become findings. For refactor, they become the checklist of what to fix.
Accessibility
aria-label on icon
buttons, htmlFor/id on label+input pairs, alt on images)h1 used as a
style shortcut)Field.Root with Field.Label and
Field.ErrorText?Responsiveness
overflow: hidden on small
viewports)Chakra API correctness
disabled not isDisabled, colorPalette not
colorScheme, gap not spacing, open not isOpen)Field.Root/Field.Label,
Dialog.Root/Dialog.Content, etc.)"use client" placed correctly in Next.js App Router?extendTheme, ColorModeScript,
useColorModeValue, sx prop)Token and style usage
bg="#f9fafb" →
bg="bg.subtle")style={{}} props that should be Chakra style props?Component structure
Box > Box > Box when one would do)mt={4} on every child) used where Stack gap={4} would
be cleaner?Flex vs Stack vs Grid vs
SimpleGrid)Maintainability
Use this when the user wants a critique, not a rewrite.
Categorize findings by impact:
Critical — bugs and accessibility failures that break behavior or exclude users
aria-label on an icon-only buttonBox with onClick but no keyboard accessisDisabled doesn't disable in
v3)"use client" missing on a component that uses hooks in App RouterImprovements — correctness and quality issues that aren't urgent
Optional suggestions — non-blocking ideas
For each critical issue and significant improvement, show a minimal fix:
**Missing aria-label on close button** (Critical)
The IconButton for closing the dialog has no accessible label.
// Before
<IconButton icon={<CloseIcon />} onClick={onClose} />
// After
<IconButton aria-label="Close dialog" icon={<CloseIcon />} onClick={onClose} />Skip sections with nothing to report. Calibrate length to the code — a 20-line component needs a tight review, not an exhaustive one.
Use this when the user wants rewritten code.
From plain HTML / CSS
| HTML | Chakra equivalent |
|---|---|
<div> layout wrapper | Box, Flex, Stack, Grid |
<section>, <article> | Box as="section", Box as="article" |
<nav> | Box as="nav" |
<ul> / <li> | Box as="ul" / Box as="li", or Stack |
<button> | Button or IconButton |
<a> | Link |
<img> | Image (preserve alt) |
<input>, <select> | Input, NativeSelect inside Field.Root |
| CSS | Chakra style prop |
|---|---|
display: flex | Flex or display="flex" |
flex-direction: column | Stack or flexDir="column" |
gap: 16px | gap={4} (1 unit = 4px) |
padding: 16px 24px | py={4} px={6} |
border-radius: 8px | rounded="md" |
color: #6b7280 | color="fg.muted" |
background: #f9fafb | bg="bg.subtle" |
From Tailwind CSS
| Tailwind | Chakra |
|---|---|
flex, flex-col, flex-row | Flex, flexDir |
gap-4 | gap={4} |
p-4, px-6, py-2 | p={4}, px={6}, py={2} |
text-sm, font-bold | fontSize="sm", fontWeight="bold" |
rounded-lg, shadow-md | rounded="lg", shadow="md" |
w-full, max-w-lg | w="full", maxW="lg" |
hidden md:flex | display={{ base: "none", md: "flex" }} |
grid grid-cols-3 | SimpleGrid columns={3} |
text-gray-500, bg-gray-100 | color="fg.muted", bg="bg.subtle" |
hover:bg-gray-100 | _hover={{ bg: "bg.subtle" }} |
Replace Tailwind responsive prefixes with Chakra's breakpoint object syntax:
// Tailwind: text-sm md:base lg:text-lg
<Text fontSize={{ base: "sm", md: "md", lg: "lg" }} />From CSS Modules — convert what you can to Chakra props; keep className
for styles that can't be expressed as props (animations, complex selectors):
// Before
<div className={styles.card}>...</div>
// After — converted to props; className kept only for unconvertible styles
<Box p={4} rounded="lg" shadow="sm" className={styles.fadeIn}>...</Box>Once all class names are eliminated, remove the import entirely.
From styled-components / @emotion/styled — map to Box with equivalent
style props, then remove the import and uninstall if no longer used elsewhere:
// Before
const Card = styled.div`padding: 1rem; &:hover { background: #f3f4f6; }`
// After
<Box p={4} _hover={{ bg: "bg.muted" }} />From existing Chakra UI (cleanup)
Box > Box > Box nesting; replace mt/mb on every child with
Stack gap={N}sx with css (v3 rename); update nested &:hover selectors inside
itbg="gray.50" → bg="bg.subtle" and other semantic token equivalentsisDisabled→disabled, colorScheme→colorPalette,
spacing→gapFormControl→Field.Root, Modal→Dialog,
Select→NativeSelectaria-* attributes; add missing ones where clearly needed<nav> → Box as="nav", not just Box)"use client" where it exists; add it only when the component genuinely
needs it"use client" just because a component uses Chakra UIasChild for Next.js Link and Imageimport NextLink from "next/link"
<ChakraLink asChild><NextLink href="/about">About</NextLink></ChakraLink>
import NextImage from "next/image"
<ChakraImage asChild><NextImage src="/hero.png" alt="Hero" width={800} height={400} /></ChakraImage>1. Refactored code — complete, runnable, with correct imports
2. What changed — concise list focused on non-obvious decisions:
- Replaced <div className="flex gap-4"> with <Flex gap={4}>
- Replaced bg="#f9fafb" with bg="bg.subtle" for dark mode compatibility
- Kept form submit handler and validation logic unchanged
- Added aria-label to close icon button (was missing)3. Suggestions (optional) — meaningful improvements beyond this refactor: extracting a reusable component, adopting a recipe, migrating a v2 pattern.
Proceed if the code and intent are clear. Ask when:
State assumptions at the top of the response when you proceed without asking.
© chakra-ui, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/chakra-ui-refactor of chakra-ui/chakra-ui.
Open the folder on GitHubat commit f799e4d
Chakra UI v3 Refactor and Review next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Chakra UI v3 Refactor and Review this skillchakra-ui/chakra-ui | 41k | — | ~2.8k | Automated safety check: Pass | MIT | |
| Frontend UI FunctionalvictorGPT/vibeusage | 131 | — | ~939 | Automated safety check: Pass | MIT | |
| Cosscrafter-station/petdex | 4.2k | — | ~1.4k | Automated safety check: Pass | MIT | |
| UI/UX Design System AdvisorGalaxy-Dawn/claude-scholar | 5.7k | 1 repos | ~1.1k | Automated safety check: Pass | MIT | |
| Design StyleCastor6/tactus | 376 | 1 repos | ~2.1k | Automated safety check: Pass | Apache-2.0 | |
| Extract DesignManavarya09/design-extract | 4.2k | — | ~786 | Automated safety check: Notes | MIT |
victorGPT/vibeusage
A skill your agent uses when building or refactoring functional React/Vite/Tailwind UI pages, templates, or component libraries that need consistent structure, tokenized styling, accessibility…
crafter-station/petdex
Helps implement coss UI components correctly. An agent skill from crafter-station/petdex.
Galaxy-Dawn/claude-scholar
Turns a vague UI request into a concrete design system with style, palette, typography and layout guidance from a search script, plus stack-specific implementation advice.
Castor6/tactus
A skill your agent uses whenever the user asks to build, create, design, develop, improve, or style any frontend interface or visual element.
Manavarya09/design-extract
Extract the full design language from any website URL. An agent skill from Manavarya09/design-extract.
sundial-org/awesome-openclaw-skills
UI/UX design intelligence and implementation guidance for building polished interfaces.
chakra-ui/chakra-ui
Builds responsive, accessible Chakra UI v3 components and layouts, sets up Chakra in new or existing projects, and designs themes with tokens, semantic tokens and recipes.
chakra-ui/chakra-ui
Guides an upgrade from Chakra UI v2 to v3: inspect the project, swap packages, run the official codemod, then fix provider, color mode, props, theming and Next.js code.
Works with
Categories
Reviews and converts UI code to Chakra UI v3, producing a critique, rewritten code or both, from plain HTML, Tailwind, CSS Modules or styled-components. js App Router or Vite, the source type (existing Chakra, plain HTML and CSS, Tailwind, CSS Modules or styled-components) and what you want, which is a review only, a refactor or conversion, or both. It states that reading at the top of its reply and asks for the code if none has been shared.
Chakra UI v3 Refactor and Review fits situations like: reviewing Chakra UI code for issues; converting Tailwind, CSS Modules or styled-components to Chakra UI; migrating v2 prop names to v3; cleaning up messy Chakra components and layout structure.
Run `npx skills add chakra-ui/chakra-ui --skill chakra-ui-refactor -a claude-code`. Or copy the skill folder (skills/chakra-ui-refactor in chakra-ui/chakra-ui) into .claude/skills/chakra-ui-refactor in your project. Claude Code loads it when a task matches its description.
Run `npx skills add chakra-ui/chakra-ui --skill chakra-ui-refactor -a codex`. Or copy the skill folder (skills/chakra-ui-refactor in chakra-ui/chakra-ui) into .agents/skills/chakra-ui-refactor in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add chakra-ui/chakra-ui --skill chakra-ui-refactor -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/chakra-ui-refactor, .gemini/skills/chakra-ui-refactor, .github/skills/chakra-ui-refactor and .opencode/skills/chakra-ui-refactor in your project.
SKILL.md names no scripts, command-line tools or credentials: Chakra UI v3 Refactor and Review is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Chakra UI v3 Refactor and Review is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.8k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Chakra UI v3 Refactor and Review: Frontend UI Functional (victorGPT/vibeusage, 131 stars), Coss (crafter-station/petdex, 4.2k stars), UI/UX Design System Advisor (Galaxy-Dawn/claude-scholar, 5.7k stars) and Design Style (Castor6/tactus, 376 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
chakra-ui (a GitHub organization) maintains it in chakra-ui/chakra-ui, which has 40,676 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 6, 2026.
Source: chakra-ui/chakra-ui on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.