Accent color and design system for a macOS app, from the app's accent and the accent picker in Settings to Swift tokens in code plus a design/DESIGN-SYSTEM.md that says which token to use when. Use when the user wants a brand or accent color, wants people to pick a color, when an app has more than a few screens, when screens drift apart or animations feel inconsistent, or when the user asks for themes, a style guide, or design tokens.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Design system
A design system is a short list of **tokens** in code and one page that
says which token to use when. Every screen uses tokens, never raw values.
Then a change in one place changes the whole app, and an agent can review a
screen against one page.
Start from `mac-design`. Tokens cover only what the system does not:
the accent, custom surfaces, radii, motion, overlays, and custom controls.
The app keeps Apple's look. Only the accent color changes. For parts of
your own (a custom sidebar, buttons, icons), call the Skill tool with
`design-kit`. To copy the look of an app the user names, call it with
`design-from-app`.
The template already has the base in `Sources/<App>/UI/`:
- `Theme.swift`: the accent colors (`Theme.all`), the saved choice
(`ThemeStore`), the tokens `Palette.accent`, `Palette.accentText`,
`Palette.onAccent`, and `.themed()`, which tints every scene.
- `AppearanceSettings.swift`: Settings > Appearance, where people pick the
accent. Light and dark mode follow the Mac. Apple advises against an
app-specific mode setting; add a System/Light/Dark picker only when the
owner asks for one, with System as the default. [HIG Dark Mode]
…
The line at the top of this page pins the label git:20261027.b1054fc, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
GET https://markdownregistry.com/api/v1/artifacts/art_bq6xi2ai4pnrcdxv
GET https://markdownregistry.com/api/v1/resolve?ref=tomcounsell/ai/design-system
GET https://markdownregistry.com/api/v1/blob/e91b97bb1e03e484817ac15c47aac8c776bf79ec580a89fd767ab43f02505e15
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
tomcounsell/ai · skills/valor/bama/skills/code/agent-cli/SKILL.md · Optional command line and MCP server for a macOS app, so Claude Code, Codex, and scripts can drive it (list, add…
tomcounsell/ai · skills/valor/bama/skills/code/improve-architecture/SKILL.md · Architecture check-in for a growing macOS Swift codebase. Finds hot spots, proposes deeper modules, and refactors one…
tomcounsell/ai · skills/valor/bama/skills/code/os-integrations/SKILL.md · Deep macOS integrations for a native app, such as global hotkeys, menu bar items, floating panels, window control with…
tomcounsell/ai · skills/valor/bama/skills/code/performance/SKILL.md · Make a macOS app fast by measuring hangs, stutter, CPU, memory, and energy, then moving work off the main thread and…
tomcounsell/ai · skills/valor/bama/skills/code/swift-swiftui/SKILL.md · Swift 6 and SwiftUI code rules for macOS apps, including concurrency, state, SwiftData, AppKit bridges, and fixes for…
tomcounsell/ai · skills/valor/bama/skills/design/design-from-app/SKILL.md · Rebuild the look of an app the user likes as a native SwiftUI design kit, by measuring its screenshots (sizes, spacing…
tomcounsell/ai · skills/valor/bama/skills/design/design-kit/SKILL.md · Custom design system for a macOS SwiftUI app with its own parts, not Apple's, covering three token layers, type, an…
tomcounsell/ai · skills/valor/bama/skills/design/layout-grid/SKILL.md · Grid and alignment rules for a macOS SwiftUI app, with three checks that catch misalignment (a lint for off-grid…
tomcounsell/ai · skills/valor/bama/skills/design/mac-design/SKILL.md · Design rules that make a SwiftUI app look and feel like a native Mac app on macOS 26 and later, from Apple's eight…
tomcounsell/ai · skills/valor/bama/skills/design/ux-design/SKILL.md · UX pass for one feature of a macOS app, covering names, flow, where it opens (inline, popover, sheet, window, alert)…
cbrock84/headcount · plugins/product/skills/design-system/SKILL.md · Builds and maintains the design system a product is assembled from — tokens for color, type, spacing and elevation…
microsoft/power-platform-skills · plugins/mobile-apps/skills/design-system/SKILL.md · Creates the Tamagui brand system for an Expo/React Native Power Apps mobile app, including design-system.md, tokens.ts…
borghei/claude-skills · markdown-html/design-system/SKILL.md · Design tokens, light/dark theming, and WCAG contrast validation for HTML documents and decks, compiled into one…
rampstackco/claude-skills · skills/design-system/SKILL.md · Build or audit a design system including component library, design tokens, naming conventions, contribution model, and…