The gap I wanted to close

Every design system I've built has died the same slow death. Not in the design file. In the handoff.

The designer defines the brand. A developer copies the hex codes by hand. Someone rounds a font size. Six months later the product has fourteen greens, and nobody can say which one is right.

I've been building design systems inside Claude. You chat, it builds: colors, type, spacing, components, guidelines, all in one place. It's fast. But it's still a design tool, and design tools don't ship code.

So I set myself a test. Could I wire a Claude design system straight into GitHub, so every change becomes usable code and a live reference site, with no copying by hand?

Short answer: yes. It took one evening. I hadn't coded in what felt like fifty billion years.


Before you start

This guide assumes you're brand new to all of this. Here's where I'm assuming you're starting from:

  • You're on a Mac running the latest version of macOS.
  • The only relevant app you have installed is Claude.
  • You're on a paid Claude plan: Pro, Max, Ultra, Team or Enterprise. Design systems aren't available on the Free plan.
  • You've never used GitHub, Git or a terminal.

If that's you, good. You'll finish with a design system that publishes itself to the web. You won't have to write any code yourself.


What I built

Three tools. One design system. One publishing workflow.

One push turns your Claude design system into code and a live site Claude writes the files GitHub Desktop pushes runs on every push Claude design system You design in chat Folder on your Mac claude-deploy-me GitHub repo Your project online GitHub Action Builds in under a minute dist/ code CSS, Sass, JS, Figma tokens Docs site Live on GitHub Pages

You design in Claude. Claude writes the files into a folder on your Mac. GitHub Desktop pushes them to GitHub. GitHub then builds the code and publishes a live site, on its own, every time you push.


Step 1: Create a GitHub account and your first repo

GitHub is where your design system's code will live. A repo (short for repository) is just a project folder that GitHub keeps track of.

Create your account

  1. Go to github.com/signup.
  2. Enter your email, a password and a username. Your username becomes part of your site's web address, so pick something you're happy to share.
  3. Follow the prompts to verify your email.

Create the repo

  1. Once you're signed in, click the + in the top right corner and choose New repository.
  2. For Repository name, type claude-deploy-me.
  3. Set it to Public. Free GitHub accounts can only publish websites from public repos.
  4. Turn on Add a README file. This gives the repo a first file, which makes the next step smoother.
  5. Click Create repository.

That's it. You now have an empty project on GitHub.


Step 2: Install GitHub Desktop and copy the repo to your Mac

GitHub Desktop is a free app that syncs files between your Mac and GitHub. It means you'll never need a terminal.

Install it

  1. Go to desktop.github.com and click Download for macOS.
  2. Open the downloaded file, then drag GitHub Desktop into your Applications folder.
  3. Open GitHub Desktop and click Sign in to GitHub.com. Your browser opens. Approve the sign-in, then switch back to the app.
  4. When it asks for your name and email, keep the defaults and click Finish.

Copy (clone) your repo

  1. In GitHub Desktop, choose File β†’ Clone Repository.
  2. On the GitHub.com tab, select claude-deploy-me.
  3. Leave Local Path as it is. It will be Documents/GitHub/claude-deploy-me in your home folder.
  4. Click Clone.

You now have a claude-deploy-me folder on your Mac that's linked to GitHub. Remember where it is. Claude will need it in Step 4.


Step 3: Create a design system in Claude

Get the Claude desktop app

If you don't have it yet, download it from claude.ai/download, drag it into Applications and sign in. If you already have it, make sure it's up to date.

Make the design system

  1. Open Claude.
  2. In the message box, open the + menu, choose Design system, then New design system.
  3. Describe what you want:
    Create a simple design system for a brand called "Deploy Me"
  4. Press Return and give it a minute.

Claude builds a starter system: a set of colors, type styles, a spacing scale, corner radii, a short brand guide and a cover graphic. Every value comes with a note on when to use it.

Take a look around. Don't like the green? Ask for a different one. That's the whole point: you design by talking.

Step 4: Ask Claude to connect it to GitHub

Now you hand the plumbing to Claude.

  1. Start a new chat in the Claude desktop app. A regular chat works. You don't need Claude Code.
  2. Click Add folder and choose your claude-deploy-me folder from Step 2. This lets Claude put files straight into it.
  3. Type:
    Give me step-by-step instructions to sync my "Deploy Me" design system to my GitHub repo claude-deploy-me. I'm a beginner on a Mac and I use GitHub Desktop.

Claude reads your design system and sets up the repo. It will look like this:

design-system/        Your design system, file for file
scripts/build.mjs     Turns your tokens into code
dist/                 The generated code
.github/workflows/    Tells GitHub to build and publish

The key idea: design-system/ uses the same file layout as a Claude design system. It's an exported copy, not a live link. When the design changes, you update those files and push them to GitHub, where the publishing process takes over.

Send it to GitHub

When Claude says the files are ready, switch to GitHub Desktop. You'll see the new files listed on the left.

  1. In the Summary box at the bottom left, type Add Deploy Me design system.
  2. Click Commit to main.
  3. Click Push origin at the top.

If Claude asks you to add a file it can't write itself, follow its instructions. Hidden setup folders like .github sometimes need you to add them.


What Claude just built

Design tokens in JSON are useful, but development teams often need them in different formats. I wanted those formats generated automatically from one shared source. So the repo has one build script, scripts/build.mjs. It's plain Node with zero dependencies. It reads tokens.json and writes every format a team might want:

Output Who uses it
tokens.css Anyone. CSS variables like var(--brand)
typography.css Front-end devs. Classes like .ds-text-h1
ds.css Everything above, plus Google Fonts, in one link
_tokens.scss Sass projects, with an @include ds-type() mixin
tokens.js + tokens.d.ts JavaScript and TypeScript apps
tokens.dtcg.json Figma, through Tokens Studio

The same script builds a docs site: color swatches with contrast ratios, the full type scale, spacing and radius, logos, live component previews, and the README rendered as guidelines.

Using the system then takes one line:

<link rel="stylesheet" href="https://<you>.github.io/<repo>/dist/ds.css">
<h1 class="ds-text-h1">Deploy complete</h1>

Step 5: Turn on GitHub Pages

A build script you have to remember to run is just another manual step. So a GitHub Action runs it for me. Any push that touches design-system/ sets off two jobs:

  1. Build. Run the script, commit the fresh dist/ back to the repo, and package the docs site.
  2. Deploy. Publish the site to GitHub Pages.

The whole run takes under a minute. Two repo settings make it work:

  • Settings β†’ Pages β†’ Source: GitHub Actions
  • Settings β†’ Actions β†’ General β†’ Workflow permissions: Read and write

The second one is easy to miss. Without it, the Action can build but can't commit dist/ back. If you can't find "General", it's hidden under the Actions item in the settings sidebar. Or go straight to github.com/<you>/claude-deploy-me/settings/actions.

Step 6: Check that it's live

  1. Go to github.com/<you>/claude-deploy-me/actions.
  2. You'll see a run called Build and deploy design system. Wait for a green check. It takes under a minute.
  3. Red X with "Not Found"? Your first push probably ran before Pages was turned on. Open the run, click Re-run jobs, then Re-run all jobs.
  4. When it's green, open https://<you>.github.io/claude-deploy-me/.

That's your design system, live on the web: colors, type, spacing, components and guidelines, all in one shareable link.


See mine

Here's the working version I built while writing this. It's a starter system called Test Deploy, published by exactly this process:

Want a shortcut? On the repo page, click Code β†’ Download ZIP. Unzip it into your own claude-deploy-me folder, swap in your design system's files, and push. Everything else is already wired up.


What tripped me up

None of these took long to fix, but all of them cost me a few confused minutes.

  • The invisible folder. Folders that start with a dot are hidden on a Mac. My files landed, but .github/ didn't, so there was no workflow and nothing ran. Fix: before you push, check that GitHub Desktop lists .github/workflows/deploy.yml. If it's missing, ask Claude how to add it.
  • Order matters. My first workflow run failed with "Not Found" because I pushed before turning on Pages. Nothing was wrong with the code. Turn on Pages, re-run the job, green.
  • Hidden settings. "Workflow permissions" lives under Settings β†’ Actions β†’ General, and General only appears once you expand Actions. A direct link beats hunting.
  • Licensed fonts. My personal system uses Decimal, a licensed face that isn't on Google Fonts. It falls back to Montserrat on the site, which is exactly what the brand rules say to do. Worth knowing before a stakeholder asks why the headline looks different.

Making changes later

This is the payoff. To change anything:

  1. Ask Claude for the change in your design system. For example, "make the brand color blue".
  2. Ask Claude to update the files in your claude-deploy-me folder.
  3. In GitHub Desktop, write a summary, click Commit to main, then Push origin.

A minute later, the code and the site are up to date. No copying hex codes. No style guide PDF going stale.

The handoff gap I've fought for years turned out to be a folder and a button.


Stay tuned

Getting your design system into GitHub is step one. Next up in this series on managing change in Claude design systems:

  • Publish from chat. Push updates to GitHub with one command, no GitHub Desktop needed.
  • One source, many teams. Keep design systems in sync across separate Claude workspaces.
  • Change you can trust. Review, version and roll back design system updates like code.

Follow along so you don't miss them.