# Design kit

> Design kit is an open-source agent skill for design and media. Builds a custom macOS SwiftUI design system with its own controls, tokens and icons. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/daveebbelaar/bama/tree/main/skills/design/design-kit
- **Repository:** https://github.com/daveebbelaar/bama
- **GitHub stars:** 2,009
- **License:** MIT
- **Skill name:** design-kit
- **Collection:** https://github.com/daveebbelaar/bama
- **Categories:** [design and media](https://ai-powered.com/categories/design-and-media), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/daveebbelaar/bama/tree/HEAD/skills/design/design-kit)
- [License: MIT](https://github.com/daveebbelaar/bama/tree/HEAD/skills/design/design-kit)

## Features

- **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

## Install

### Claude Code

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

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

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

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

### Codex

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

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

### Cursor

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

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

### Gemini CLI

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

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

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

### VS Code

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

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

### Other agents

Get the folder:

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

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

## Alternatives

- [Design system](https://ai-powered.com/skills/design-system-daveebbelaar): Design system is an open-source agent skill for design and media.
- [Design from app](https://ai-powered.com/skills/design-from-app): Design from app is an open-source agent skill for design and media.
- [Mac design](https://ai-powered.com/skills/mac-design): Mac design is an open-source agent skill for developer tools.
- [Design system](https://ai-powered.com/skills/design-system-smartworldarafath): Design system is an open-source agent skill for design and media.
- [macOS golden gate design](https://ai-powered.com/skills/macos-golden-gate-design): macOS golden gate design is an open-source agent skill for design and media.
- [UX design](https://ai-powered.com/skills/ux-design): UX design is an open-source agent skill for design and media.
- [Build and verify](https://ai-powered.com/skills/build-and-verify): Build and verify is an open-source agent skill for developer tools.
- [Tastemaker](https://ai-powered.com/skills/tastemaker-codeswithroh): Tastemaker is an open-source agent skill for design and media.

---
Source: https://ai-powered.com/skills/design-kit
