Tooluck logoTooluck
SKILL.md

design-kit

Agent skill fromdaveebbelaar/bama

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.

How to install design-kit

install design-kit
# install the bama pack with the skills CLI
npx skills add daveebbelaar/bama

# or add only this skill to Claude Code: copy the folder

skills/design/design-kit/

# into

~/.claude/skills/design-kit/ (all projects)

.claude/skills/design-kit/ (one project)

skills/design/design-kit/SKILL.md

MITFull file
1# Design kit
2
3A native look comes from Apple's parts. A custom look comes from your own
4parts: your sidebar row, your button, your checkbox, your icons. SwiftUI
5draws all of them. A kit is those parts, the numbers behind them, and one
6page that shows every part in every state.
7
8Most apps keep Apple's parts and only pick an accent color (`design-system`
9skill). Build a kit when the parts themselves must change. To copy the look of an existing app,
10call the Skill tool with `design-from-app` first: it measures the app and
11then comes back here.
12
13Everything lives in `Sources/<App>/DesignKit/`. Code for every step:
14[parts.md](parts.md).
15
16## 1. Write the spec
17
18Write `design/KIT.md` from [kit-spec.md](kit-spec.md): three words for the
19feel, the tokens, the type scale, the icon rules, and one section per part
20with its sizes and states. Agents build from this page and review against it.
21
22Check: every part the app's screens need has a section with its sizes and
23its states.
24
25## 2. Tokens in three layers
26
27`DesignKit/Tokens.swift`:
28
291. **Palette**: raw colors, named by hue and step (`gray50`, `blue600`).
30 Only this file reads it.
312. **Meaning**: `Ink.text`, `Ink.accent`, `Ink.selection`, `Ink.divider`,
32 with a light and a dark value each. Parts read only this layer.
333. **Scales**: `KitType` (type roles), `Metric` (sizes), `Motion`
34 (named intents like `hover` and `check`).
35
36A rebrand changes the palette. A dark mode fix changes the meaning layer.
37Neither touches a part.
38…

Excerpt shown under the repository's MIT license.

More skills in bama

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates