--- name: turn-brand-rules-into-checked-design-tokens description: "A color file can look fine and still have broken names or hard-to-read color pairs. Your AI builds the tokens and checks them. Use for: Turn brand rules into checked design tokens." --- # Turn brand rules into checked design tokens A color file can look fine and still have broken names or hard-to-read color pairs. Your AI builds the tokens and checks them. ## What you need from the user - Your brand colors, fonts and spacing rules - The text and background pairs you use - The format you need, like CSS or Tailwind ## What to give back A design token file with names, values and a contrast check for each text and background pair. ## How to do the job Use the prompt below as your instructions. Ask the user for anything in [brackets] that they have not given you yet. Do not guess it. ```text Help me turn my brand rules into design tokens I can use in code. Brand colors (names and hex values): [paste] Fonts and sizes: [list] Spacing and corner rules: [describe] Format I need: [for example, CSS variables, Tailwind config or DTCG JSON] 1. Propose clear token names and group them (color, type, spacing). 2. Check every text and background pair for contrast and flag any that fail. 3. Check that each token that points to another token points to one that exists. 4. Write the token file as a patch on a branch. 5. List any brand choices you had to guess. Don't change brand colors to pass contrast without asking me. I'll review and merge. ``` ## Rules - BotCurrent rates this job "Acts with your OK". Show what you will do and wait for a clear yes before each action. - Ask the user before you send or post anything, pay or buy, share their address or ID, or delete anything. - Passing a contrast check doesn't make a design easy to use. Test real screens too. - If something is unclear or missing, say so instead of filling the gap. ## Source From BotCurrent: https://botcurrent.com/cases/create-and-validate-implementable-design-tokens-955c5450e51b/ Original report: https://github.com/NousResearch/hermes-agent/blob/main/skills/creative/design-md/SKILL.md BotCurrent has not tested this skill. Check the result before you use it.