Claude-skill-registry chakra-design-system
Build and refactor UI in this repo using Chakra UI v2 + Emotion and the repo theme (`app/theme.ts`). Use for Chakra component usage, responsive layout, a11y, theme tokens/semanticTokens, component variants, and UI polish.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/chakra-design-system" ~/.claude/skills/majiayu000-claude-skill-registry-chakra-design-system && rm -rf "$T"
manifest:
skills/data/chakra-design-system/SKILL.mdsource content
Chakra Design System (Stacked Poker)
First steps (always)
- Read the repo rules:
..cursor/rules/frontend-guidelines.mdc - Check the theme:
(colors, semantic tokens, breakpoints, shadows, variants).app/theme.ts - Find the closest existing component under
and follow its patterns.app/components/
Preferred patterns in this repo
- Use Chakra props over ad-hoc CSS when possible; use
for complex selectors/media queries.sx - Prefer semantic tokens (
,text.primary
,bg.navbar
, etc) over hardcoded colors.input.lightGray - Prefer
for brand colors (navy/pink/green/yellow).colors.brand.* - Use responsive props or Chakra breakpoint helpers; keep portrait/landscape styling in
only when needed.sx - Use
for motion-heavy UI and provide a non-animated fallback.useReducedMotion()
Documentation sources (don’t paste full docs)
- Use the Chakra MCP server (see
) for component docs and props..cursor/mcp.json - Chakra LLM docs (as per repo rules): https://chakra-ui.com/llms-full.txt
- Chakra v2 component docs: https://v2.chakra-ui.com/docs/components
What to load next
- For tokens, variants, and how to name colors: read
.references/theme-and-tokens.md - For component composition patterns used in this repo: read
.references/component-patterns.md - For starter templates: copy from
.assets/