OpenParable
Skip to content
← Back to skills

Chakra Design System

Design
chakra-design-system

Chakra Design System is an Agent Skill for design published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

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.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/design/chakra-design-system-stacked-labs-poker-game-3/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/chakra-design-system, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Chakra Design System (Stacked Poker)

First steps (always)

  1. Read the repo rules: .cursor/rules/frontend-guidelines.mdc.
  2. Check the theme: app/theme.ts (colors, semantic tokens, breakpoints, shadows, variants).
  3. Find the closest existing component under app/components/ and follow its patterns.

Preferred patterns in this repo

  • Use Chakra props over ad-hoc CSS when possible; use sx for complex selectors/media queries.
  • Prefer semantic tokens (text.primary, bg.navbar, input.lightGray, etc) over hardcoded colors.
  • Prefer colors.brand.* for brand colors (navy/pink/green/yellow).
  • Use responsive props or Chakra breakpoint helpers; keep portrait/landscape styling in sx only when needed.
  • Use useReducedMotion() for motion-heavy UI and provide a non-animated fallback.
  • NEVER modify a shared semantic token in theme.ts to style a specific component. Semantic tokens are app-wide. For component-specific dark-mode overrides, use _dark={{ color: '...' }} or useColorModeValue() directly on that component. See references/theme-and-tokens.md for details.

Documentation sources (don’t paste full docs)

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/.