Skip to content
Skill

Design kit

Builds a custom macOS SwiftUI design system with its own controls, tokens and icons

Design kit is an open-source agent skill for design and media. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
2K
Last commit
License
MIT
Listing updated

Similar skills

About Design kit

This skill guides an agent through creating a custom design system for a macOS SwiftUI app, so the app's buttons, rows, sidebars and icons are the app's own rather than Apple's built-in parts. It starts with a written spec of the feel, tokens, type scale, icon rules and each part's sizes and states, then organizes colors into three token layers so a rebrand changes only the palette and a dark mode fix changes only the meaning layer.

The workflow covers type roles, an icon set drawn from SF Symbols or custom SVG shapes, and parts built as real SwiftUI controls using ButtonStyle, ToggleStyle and TextFieldStyle so keyboard, focus and VoiceOver keep working. It also covers custom window chrome with a hidden title bar while keeping traffic lights and system menus native, plus a gallery view that shows every part in every state in light and dark for review and snapshots.

The skill expects a macOS SwiftUI project and relies on a grep-based lint script, a snapshot command and a companion layout-grid check, with the build-and-verify and design-from-app skills referenced for measuring a reference app.

When your agent uses it

Custom design system for a macOS SwiftUI app with its own parts, not Apple's, covering three token layers, type, an icon set, every part in every state, custom window chrome, a parts gallery, and checks. Use when the user wants the app to have its own look and feel, a brand, or custom buttons, rows, and sidebars, when design-from-app has measured a reference app, or when the user asks for a design system or component library.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 4 files (23 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the bama plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add daveebbelaar/bama
/plugin install bama@bama

Or copy only this skill to ~/.claude/skills/design-kit:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/daveebbelaar/bama.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/design-kit &&
cp -R "$tmp/skills/design/design-kit" ~/.claude/skills/design-kit &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/design-kit inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/design-kit to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/daveebbelaar/bama.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/design-kit &&
cp -R "$tmp/skills/design/design-kit" ~/.agents/skills/design-kit &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/design-kit inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/design-kit to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/daveebbelaar/bama.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/design-kit &&
cp -R "$tmp/skills/design/design-kit" ~/.cursor/skills/design-kit &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/design-kit inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/daveebbelaar/bama.git --path skills/design/design-kit

Or copy the folder to ~/.gemini/skills/design-kit yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/design-kit:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/daveebbelaar/bama.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/design-kit &&
cp -R "$tmp/skills/design/design-kit" ~/.copilot/skills/design-kit &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/design-kit inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/daveebbelaar/bama.git

Then copy bama/skills/design/design-kit into your agent's skills folder as design-kit. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Written design spec
Produces a KIT.md page listing the feel, tokens, type scale, icon rules and each part's sizes and states.
Three-layer design tokens
Separates raw palette colors, semantic meaning colors and type, size and motion scales.
Custom interactive parts
Builds buttons, rows, fields and sidebars as real controls covering rest, hover, pressed, selected, focused and disabled states.
Custom icon set
Defines one size, weight and corner style for icons, drawn from SF Symbols or SVG shapes.
Custom window chrome
Hides the title bar and draws a custom top bar while keeping traffic lights and system menus native.
Component gallery
Adds a gallery screen showing every part in every state in light and dark mode for review and snapshots.
Consistency checks
Includes grep-based checks that catch raw colors, fonts and SF Symbol names used outside the kit.

Good for

  • Give my macOS SwiftUI app its own brand look with custom buttons and rows
  • Create a design system with tokens for colors, type and icons in my Swift app
  • Build a custom sidebar that matches the macOS selection behavior
  • Replace Apple's default controls with a component library in my SwiftUI project
  • Review every UI component in light and dark mode in a gallery screen

Design kit FAQ

When does Design kit trigger?

When the user wants the app to have its own look and feel, a brand, or custom buttons, rows and sidebars, when design-from-app has measured a reference app, or when they ask for a design system or component library.

What does Design kit need from my project?

It targets a macOS SwiftUI app with a Sources folder, uses a tools/grid-lint.sh script and a snapshot command, and references the build-and-verify and layout-grid checks.

Does Design kit replace Apple's controls everywhere?

No. It keeps native behaviors such as traffic lights, menus, context menus, sheets and alerts, and recommends keeping Apple's parts when only an accent color is needed.

Does Design kit include scripts of its own?

No bundled scripts are listed for this skill; the checks rely on shell grep commands and project tools it references.

How do I install Design kit in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/design-kit to use it in all your projects, or to .claude/skills/design-kit in one project. Or install the bama plugin, which includes it: /plugin marketplace add daveebbelaar/bama, then /plugin install bama@bama.

Does Design kit run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Design kit?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Design kit?

The closest alternatives to Design kit are Design system, Design from app, Mac design, Design system and macOS golden gate design.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from daveebbelaar/bama

  1. Gives a macOS app a CLI and optional MCP server so agents can drive it

    • Open source
    • 2K GitHub stars
    • Developer tools
  2. Runs a架构 check-in on a growing Swift app and refactors it in proven steps

    • Open source
    • 2K GitHub stars
    • Developer tools
  3. Guides a native macOS app through system entry points and their required permissions

    • Open source
    • 2K GitHub stars
    • Developer tools
  4. Measure and speed up a macOS app's hangs, stutter, memory and energy use

    • Open source
    • 2K GitHub stars
    • Developer tools
  5. Swift 6 and SwiftUI rules for macOS apps: concurrency, state, SwiftData and fixes

    • Open source
    • 2K GitHub stars
    • Developer tools
  6. Guides an agent to build a Liquid Glass macOS app icon as an Icon Composer file

    • Open source
    • 2K GitHub stars
    • Design and media