agentleFS
Dragoon0xDragoon0x/dragoon-skills/skills/color/SKILL.md

color

Skill4 starsChanged 7 months agoMITView on GitHub

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

6 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

/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

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.