Color
Generate a color palette token file (CSS variables, tailwind config, or JS module) from the palette detected by /scan. Uses inferred role names (foreground, background, accent, danger, etc.) where possible, numeric fallback otherwise. Use when the user wants to formalize color tokens, extract a palette from existing code, or scaffold a color system. Defaults to dry-run preview; pass --apply to write. Run as `node ~/.claude/skills/dragoon/skills/color/scripts/color.js`.From its SKILL.md
npx -y skills add Dragoon0x/dragoon-skills --skill colorAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
- runs commandsInstructs the agent to run 5 commands, including `node ~/.claude/skills/dragoon/skills/color/scripts/color.js` and 4 more.
SKILL.md
1.2 KB, 183 tokens by cl100k_base, as published. Nobody here has run it
/color
Generates a color token file from the top 8 colors in your palette, using role hints from /scan.
When to use
- The user wants to formalize their color tokens
- The user asks to "extract a palette", "scaffold colors", "create color tokens"
- Setting up a design system after a /scan reveals the palette
Output
One file per run. Format auto-selected from the stack:
css→--color-foreground,--color-background, etc.tailwind→colors: { foreground: '#...', accent: '#...' }js→export const colors = { ... }
Run it
dragoon color
dragoon color --apply
dragoon color --format css --apply
dragoon color --dir src/tokens --apply
What ships with it: 1 file
266 B alongside SKILL.md, 1 of them executable
scripts/
- color.jsruns266 B