Index of every page on this site: llms.txt
All skills
daveebbelaar avatar

/design-kit

@22dc792
by Dave Ebbelaardaveebbelaar/bama1.9k stars
238
Run it yourself

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.

Use this Skill: https://skilld.dev/gh/daveebbelaar/bama/design-kit

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

kit-spec.md

≈462 tokens on demand. Your agent reads this file only when SKILL.md points to it.

design/KIT.md template

Copy this into design/KIT.md and fill every section. Numbers come from the reference (design-from-app) or from the user's choices. Write the reason next to any value that looks odd, so nobody "fixes" it later.

# <App> design kit

## Feel
Three words: <calm, precise, warm>. Like <reference app, if any>.

## Tokens

### Palette
| Name | Light | Dark |
| --- | --- | --- |
| gray50 | #F9FBFC | #1E1F22 |
| blue600 | #287ABC | #4C95D3 |

### Meaning
| Token | Palette | Used for |
| --- | --- | --- |
| Ink.text | gray900 / snow | body text |
| Ink.accent | blue600 | selected text, primary buttons, links |
| Ink.selection | blue100 | selected row fill |

### Metric
| Token | Value | Why |
| --- | --- | --- |
| sidebarWidth | 219 | measured |
| rowHeight | 26.5 | measured; the reference runs at 0.77 zoom |

### Motion
| Token | Curve | Used for |
| --- | --- | --- |
| hover | ease out 0.12 s | hover fills |

## Type
| Role | Font | Size | Weight | Used for |
| --- | --- | --- | --- | --- |
| title | system | 20.5 | bold | page titles |
| body | system | 10.75 | regular | task titles |

## Icons
Source: <SF Symbols light / drawn shapes / open set and its license>.
Size <13>, stroke <1.25>, filled when selected: <yes/no>.

## Window
Title bar: <hidden>. Traffic lights at <22, 21.5>, <18.25> apart.
Default size <1000 x 742>. Sidebar: <custom rows / List>.

## Parts

### Sidebar row
Anatomy: icon 13, gap 4.5, label (label role), optional count.
Size: height 26.5, pill inset 9.5, radius 5.
| State | Fill | Text | Icon |
| --- | --- | --- | --- |
| rest | none | text | icon gray |
| hover | hover gray | text | icon gray |
| selected | selection | accent | accent, filled |
| focused | ring accent 2 | text | icon gray |
| disabled | none, 40% | text | icon gray |

### <next part>
...

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts28d3 checks · Risk SAFE
  • Gen Agent Trust Hub28d

    The skill is safe and provides a framework for building custom SwiftUI design systems on macOS. It uses local tools for code verification and has a minimal attack surface that is typical for development-focused skills.

  • Socket28d

    No alerts

  • Snyk28d

    Risk: LOW · No issues

Signed by skilld at 22dc792. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 weeks ago.

Activeupdated last month

README badge

README badge for daveebbelaar/bama/design-kit