← ClaudeAtlas

design-systemlisted

Build, extract, or repair a design token layer and the rules around it. Use when asked to set up design tokens, create a design system, extract a system from an existing codebase or screenshot, make styles consistent across an app, define a type or spacing or color scale, add theming or dark mode, or when the same values are hardcoded in twenty places. Produces the token file, the migration, and a written system doc.
AnimaEcho/dstack · ★ 0 · Web & Frontend · score 70
Install: claude install-skill AnimaEcho/dstack
# design-system A design system is not a folder of components. It is a set of decisions written down once so they stop being remade badly every time someone opens a file. The test of a system is not whether it exists. It is whether a new screen built by someone who has never seen the product comes out looking like it belongs. ## Engine ```bash DS=$(ls "${CLAUDE_PLUGIN_ROOT:-/nonexistent}/engine/dstack.py" "$HOME/.claude/dstack/engine/dstack.py" 2>/dev/null | head -1) python3 "$DS" "<query>" -c design-systems python3 "$DS" "<query>" -c handoff python3 "$DS" "<query>" --styles # 40 style recipes, including full dark mode formulas python3 "$DS" --audit -c design-systems ``` Read `engine/reference/system-template.md` for the output shape and `engine/reference/examples/` for two worked examples. --- ## Pick the mode - **Codebase exists, no system.** Mode A, extract. - **Codebase has a system that drifted.** Mode A, then Mode C. - **Nothing exists yet.** Mode B, define. - **System exists and works, needs theming or dark mode.** Mode D. --- # Mode A: Extract ## A1. Inventory what is actually there Count before you decide. The gap between what people think the system is and what the code contains is always larger than expected. ```bash # every hardcoded color grep -rhoE "#[0-9a-fA-F]{3,8}\b|rgba?\([^)]*\)|hsla?\([^)]*\)" src/ | sort | uniq -c | sort -rn | head -40 # every font size grep -rhoE "font-size:\s*[0-9.]+(px|rem|em)|text-\[[^]]+\]|text-(xs|sm|base|