Skip to content

Reusable design-system guide that enforces design tokens and core component usage over raw platform components.

CCM score
63 of 100
skills.sh installs
249
GitHub stars
34.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers spacing, color, and typography tokens, plus core components: Box, HStack/VStack, Text, Button, Input, and Card
  • Includes token reference tables mapping $1 through $8 spacing, semantic color names, and $xs through $2xl font sizes
  • Enforces tokens over hard-coded values and core components over raw react-native imports, with anti-pattern examples
  • Designed for React Native UI work that needs consistent styling, plus integration with react-ui-patterns, testing-patterns, and storybook

Install

$ npx -y skills add davila7/claude-code-templates --skill core-components -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Core Components

Design System Overview

Use components from your core library instead of raw platform components. This ensures consistent styling and behavior.

Design Tokens

NEVER hard-code values. Always use design tokens.

Spacing Tokens

// CORRECT - Use tokens
<Box padding="$4" marginBottom="$2" />

// WRONG - Hard-coded values
<Box padding={16} marginBottom={8} />
TokenValue
$14px
$28px
$312px
$416px
$624px
$832px

Color Tokens

// CORRECT - Semantic tokens
<Text color="$textPrimary" />
<Box backgroundColor="$backgroundSecondary" />

// WRONG - Hard-coded colors
<Text color="#333333" />
<Box backgroundColor="rgb(245, 245, 245)" />
Semantic TokenUse For
$textPrimaryMain text
$textSecondarySupporting text
$textTertiaryDisabled/hint text
$primary500Brand/accent color
$statusErrorError states
$statusSuccessSuccess states

Typography Tokens

<Text fontSize="$lg" fontWeight="$semibold" />

Details

Repository
github.com/davila7/claude-code-templates
Categories
Mobile Apps, Design & UI/UX
First seen
Jun 3, 2026

Questions

What does the core-components skill do?

core-components tells the agent to build UI from a core component library and design system rather than raw platform components. It requires design tokens for spacing, colors and typography, so values are never hard-coded.

How do I install the core-components skill?

Run npx -y skills add davila7/claude-code-templates --skill core-components -y in your project. Once installed, core-components lets the agent use Box, HStack, VStack, Text, Button, Input and Card with token props.

Which category does core-components belong to?

core-components is listed in the Mobile Apps category on Claude Marketplaces. Among the skills in that category, core-components covers design tokens and component library patterns for building UI.

More from davila7/claude-code-templates

All 398

Similar to Core Components

More Mobile Apps