Design systems designer / front-end

Design token generator

Immediate result: A token set for colour, type, spacing and radius in JSON and CSS variables, with light and dark values.

Problem it solvesColours and spacing are hard-coded everywhere, so the UI drifts and dark mode is painful.

Add this skill to

You paste

Brand blue #2563EB, font Inter, 4px spacing grid, dark mode needed

You get

--color-accent: #2563EB (light) / #60A5FA (dark)

Text on accent: #FFFFFF on #2563EB = 5.2:1 ✓

--space-1: 4px … --space-8: 32px

About this skill

About Design token generator

When colours and spacing are hard-coded everywhere, the interface drifts and adding dark mode becomes painful. This skill builds a token set from your brand colours, fonts and spacing grid: primitive scales, semantic tokens for text, surfaces, borders, accents and errors in light and dark themes, and contrast checks for every text pairing. It outputs CSS custom properties and JSON, ready for your codebase or a tokens plugin in your design tool. To use it, paste the skill into your assistant and send your brand colours, fonts and any existing values you use; the reply is laid out as “Primitive tokens”, “Semantic tokens” and “Contrast checks”.

Design token generator AI skill for Design systems designer / front-end: you paste "Brand blue #2563EB, font Inter, 4px spacing grid, dark mode needed" and get "--color-accent: #2563EB (light) / #60A5FA (dark)"
Design token generator — example input and the first lines it returns. Works in ChatGPT, Claude and Gemini.
Job profile
Design & UX · Design systems designer / front-end
Works in
ChatGPT, Claude, Gemini, Copilot, Claude Code
Format
Agent Skills (SKILL.md)
Price
Free, no sign-up
Install instructions

Copy, paste, send

  1. Cold email writerCopy skillCopied ✓1 Copy the skillPress Copy skill.
  2. ANY AI ASSISTANTSKILLPaste here, then press Enter2 Paste it into a new chatChatGPT, Claude, Gemini or Copilot.
  3. ANY AI ASSISTANT3 Send your inputSend your brand colours.
The skill — paste this into your AI assistant
# Skill: Design token generator

You are running the "Design token generator" skill for me. I work as: Design systems designer / front-end. What I need from you: a token set for colour, type, spacing and radius in JSON and CSS variables, with light and dark values.

## When I send you my brand colours, fonts and any existing values I use
1. Create a colour scale for each brand colour.
2. Define semantic tokens (text, surface, border, accent, danger) for light and dark.
3. Check text/background pairs for 4.5:1 contrast.
4. Output JSON and CSS custom properties.

## Reply in this format
- Primitive tokens
- Semantic tokens (light / dark)
- Contrast checks
- CSS variables (code)
- JSON (code)

## Rules
- Report the contrast ratio of every text pair.
- Use only the facts I give you; mark anything you had to assume with [ASSUMPTION].
- If something essential is missing, ask me one short question, then continue.
- No preamble or filler: start with the result.

Confirm you're ready in one line, then wait for me to send my brand colours, fonts and any existing values I use.

Then sendYour brand colours, fonts and any existing values you use. For example: Brand blue #2563EB, font Inter, 4px spacing grid, dark mode needed

ChatGPT

  1. Fastest: paste the skill as your first message in a new chat, then send your input.
  2. To keep it: open a Project, choose Instructions (or Settings → Personalization → Custom instructions for every chat) and paste it there.
  3. To share it with a team: create a custom GPT and paste the skill into its Instructions.
  4. In the Codex app: copy the skill's folder into ~/.codex/skills/ (or Customize → Skills → Add → Create skill).

Claude

  1. Fastest: paste the skill as your first message in a new chat, then send your input.
  2. To keep it: create a Project, open Project instructions and paste the skill.
  3. As a Claude Skill: download the skill's ZIP, then in Claude open Settings → Skills → Add → Upload skill and choose the file.

Gemini

  1. Fastest: paste the skill as your first message in a new chat, then send your input.
  2. To keep it: open Gems → New Gem, paste the skill into Instructions and save.

Microsoft Copilot

  1. Fastest: paste the skill as your first message, then send your input.
  2. In Microsoft 365 Copilot, save it as a prompt or paste it into an agent's instructions to reuse it.

Any other assistant

  1. Paste the skill as the system prompt or first message in any chat assistant (Perplexity, Meta AI, DeepSeek, Mistral, local models).
  2. Coding agents that read the Agent Skills format (SKILL.md) can load the downloaded file from their skills folder.

Install it permanently

Upload it to Claude, add it to ChatGPT's Codex app, clone it into Claude Code, or download the SKILL.md for any agent. Full guide with screenshots →

Download the ZIP and upload it in Claude. Claude then uses the skill on its own whenever a request matches.

Download ZIP

Quick setup

  1. In Claude, open Settings → Skills (under Customize).
  2. Click Add → Upload skill.
  3. Choose the ZIP — don't unzip it — and make sure the skill is switched on.
Claude Settings with Skills selected under Customize, and the Add menu open showing Upload skill, Create a skill, Create with Claude and Record your screen

Repositoryscienceofapps.com/skills/ai-skills.git · all 200 skills, one folder each, plain git over HTTPS

What it does

The steps it follows

  1. Create a colour scale for each brand colour.
  2. Define semantic tokens (text, surface, border, accent, danger) for light and dark.
  3. Check text/background pairs for 4.5:1 contrast.
  4. Output JSON and CSS custom properties.
What you get back

The reply format

  • Primitive tokens
  • Semantic tokens (light / dark)
  • Contrast checks
  • CSS variables (code)
  • JSON (code)

Rules it never breaks

  • Report the contrast ratio of every text pair.
  • Uses only the facts you give it and marks assumptions.
FAQs

Questions about Design token generator

What does the Design token generator skill do?

Colours and spacing are hard-coded everywhere, so the UI drifts and dark mode is painful. The skill fixes that: a token set for colour, type, spacing and radius in JSON and CSS variables, with light and dark values.

How do I install Design token generator in ChatGPT, Claude or Gemini?

Copy the skill and paste it as the first message of a new chat, then send your input. To keep it, paste it into a ChatGPT Project or custom GPT, a Claude Project or a Gemini Gem, or upload the SKILL.md file as a Claude Skill.

What do I send Design token generator after installing it?

Send your brand colours, fonts and any existing values you use. If something essential is missing, the skill asks you one short question and then continues.

Is the Design token generator skill free?

Yes. It's free to copy, use and adapt, with no sign-up, and works in the free versions of ChatGPT, Claude, Gemini and Copilot.

More for design & ux
UX researcher / PM

UX research plan

ProblemResearch starts with a method instead of a question, and the findings don't inform decisions.

You paste

Should we add a family plan to our streaming app?

You get

Decision: build a family plan in Q1 or not.

RQ: How do households share accounts today, and what breaks?

Method: 10 household interviews + a survey of 400 subscribers on sharing.

Immediate resultA research plan: decision to inform, questions, method, participants, timeline and outputs.

Designer / marketer

Image prompt writer

ProblemImage generators produce generic results from vague prompts, and outputs don't match the brand.

You paste

Hero image for a fintech landing page: young Indian professionals, trust, warm

You get

'Two young professionals reviewing a phone at a sunlit Bengaluru café table, warm natural light, shallow depth of field, 35 mm, editorial photo style'

--ar 16:9

Avoid: text, logos, distorted hands

Immediate resultDetailed prompts for Midjourney, DALL·E, Imagen or Firefly with style, composition and negative prompts.

Product designer

Design handoff notes

ProblemDevelopers build something different from the design because behaviour and edge cases weren't written down.

You paste

Product card: image, title, price, rating, add-to-cart; grid of 4 on desktop

You get

States: default, hover (lift 2 px, 150 ms), out of stock (button disabled, label 'Notify me')

Title: max 2 lines, then ellipsis

Grid: 4 columns ≥ 1200 px · 2 columns < 810 px

Immediate resultHandoff notes covering states, interactions, responsive behaviour, content rules and accessibility.

Free PDF · 74 pages · 2 editions

The Laws of UX, in one field guide

60 research-backed principles in 6 categories — what each one means, why it works on the human brain and how to use it on your own screens. Written by Sushant Singh, founder of Science of Apps, who has scaled consumer apps to lacs of users and spent 10+ years leading product across startups and digital businesses in the US, EU & India.

Pick your edition
Free. No card, no paywall — just your email.
Free PDF · 74 pages

Get Laws of UX by email

Choose your edition

You’ll also get occasional UX psychology tips. Unsubscribe anytime. Privacy policy

Free PDF · 90 pages · 2 editions

100+ Subscription Paywalls, decoded

110 real paywalls from top apps, taken apart, rated out of 5 and decoded with the Laws of UX — plus the frameworks, copy and checklists to ship your own. By Sushant Singh, founder of Science of Apps.

  • 110 paywalls rated
  • 34 Laws of UX
  • 12 frameworks

Which paywall scored 4.8 out of 5, and which scored 2.6? It’s all inside.

Pick your edition
Free. No card, no paywall — just your email.
Free PDF · 90 pages

Get 100+ Paywalls, Decoded by email

Choose your edition

You’ll also get occasional UX psychology tips. Unsubscribe anytime. Privacy policy