muratcakmak/shipwright/design-tokens
Claude Code and agent skill by muratcakmak/shipwright
- community
Checking that the SKILL.md file is still in the repository.
Extract or create a typed design token system for a React Native app. Generates color, spacing, and typography token files with light and dark mode support mapped to iOS HIG values. Use when setting up or refactoring the design system.
Install
npx vskill@latest install muratcakmak/shipwright/design-tokensSKILL.md
The same SKILL.md was published earlier as muratcakmak/shipwright/design-tokens.
Design Tokens
Create or extract a typed design token system for this React Native app.
Input: $ARGUMENTS
MANDATORY PREPARATION
- Read Shipwright Context from CLAUDE.md for existing token locations and styling approach
- Scan for existing tokens:
**/tokens/**,**/theme/**,**/constants/colors.*,**/constants/spacing.*- Check if NativeWind, Tamagui, or Unistyles is used (tokens live in their config)
- If Figma URL provided: Note the URL — tell the user to export color/typography values, or ask them to paste the token values
TOKEN STRUCTURE
Create token files in the project's preferred location (default: src/tokens/ or tokens/).
Colors (colors.ts)
Spacing (spacing.ts)
Typography (typography.ts)
Map to iOS HIG type scale with Dynamic Type support:
Theme Hook (useTheme.ts)
ADAPTATION RULES
- If the project uses NativeWind: Create tokens as Tailwind config values in
tailwind.config.js - If the project uses Tamagui: Create tokens in the Tamagui config (
tamagui.config.ts) - If the project uses Unistyles: Create tokens as Unistyles themes
- If the project uses plain StyleSheet: Create the token files above with a
useThemehook
CHECKLIST
- [ ] Colors defined with light and dark variants
- [ ] Spacing scale created (consistent multiplier)
- [ ] Typography scale mapped to iOS HIG
- [ ] Theme hook or config created for the project's styling approach
- [ ] Existing hardcoded values identified for migration
- [ ] Token files are TypeScript with
as constfor type safety - [ ] Updated Shipwright Context in CLAUDE.md with token file locations
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/design-tokens/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/muratcakmak/shipwright/design-tokens)