Skip to content
Skill

Mac design

Guides a SwiftUI agent to build macOS 26 apps that feel native to the Mac

Mac design is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
shell
Platforms
Claude Code, Codex, Cursor
GitHub stars
2K
Last commit
License
MIT
Listing updated

Similar skills

About Mac design

This skill gives an AI coding agent a set of macOS design rules for SwiftUI apps targeting macOS 26 and later. It walks through Apple's eight design principles and applies them to Liquid Glass, window layout, toolbars, menus, search, keyboard handling, typography, color and dark mode. The agent is pointed to a review checklist with cited sources, copyable code patterns, and separate references for the Settings window, toolbar placement, sidebar and panel arrangement, and the menu bar and context menus.

The skill asks the agent to plan before writing views: choose an app archetype, map information architecture, list every command with its shortcut, define empty states and pick a guiding feeling. It also favors entry points such as a global-shortcut quick panel with optimistic saving and Undo. A bundled bash script can fetch Apple's Human Interface Guidelines text for a given topic, and the skill refers to other companion skills for tokens, UX copy, layout grids and custom design kits.

The skill is written for Swift and SwiftUI projects and expects the agent to be able to run the bundled shell script and to take snapshots of the app in light and dark mode for review.

When your agent uses it

Design rules that make a SwiftUI app look and feel like a native Mac app on macOS 26 and later, from Apple's eight design principles to Liquid Glass, layout, toolbars, menus, search, keyboard, type, color, and dark mode. Use when building or reviewing any window, sidebar, toolbar, menu, panel, or settings screen, or when the user asks for a more native, Apple-like, or better designed app.

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 9 files (88 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/mac-design:

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

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

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/mac-design 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/mac-design &&
cp -R "$tmp/skills/design/mac-design" ~/.agents/skills/mac-design &&
rm -rf "$tmp"

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

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/mac-design 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/mac-design &&
cp -R "$tmp/skills/design/mac-design" ~/.cursor/skills/mac-design &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/mac-design 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/mac-design

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

Gemini CLI docs on skills

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

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

For one project only, put the folder in .github/skills/mac-design 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/mac-design into your agent's skills folder as mac-design. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Apple design principles
Applies Apple's eight principles as a review lens for each screen, from purpose and agency to delight.
Liquid Glass guidance
Explains where glass belongs in the navigation and control layer and where content should stay plain.
Toolbar and menu rules
Sets placement for toolbar items per column, menu bar commands, shortcuts and disabled states.
Window and sidebar layout
Covers NavigationSplitView, inspectors, spacing on a 4 pt grid and empty-state patterns.
Keyboard and focus behavior
Defines default keys, initial focus for windows and sheets, and shortcut feedback.
Color, type and dark mode
Lists macOS text styles, semantic colors, accent usage and dark mode palette checks.
Snapshot review checklist
Describes a light and dark snapshot review of every surface before a build is considered done.

Good for

  • Review my SwiftUI Mac app's toolbar and sidebar for native behavior
  • Build a menu bar utility with a Settings window and quick-add panel
  • Make my macOS app look more Apple-like in dark mode
  • Check that my app's menus and keyboard shortcuts follow Mac conventions
  • Plan the information architecture and command map for a new Mac app

Mac design FAQ

Which platforms and OS version does Mac design target?

It targets SwiftUI apps on macOS 26 and later, and it is listed for all supported clients in the shared agent skills format.

Does the skill run any scripts?

Yes. A bash script named hig.sh prints Apple's Human Interface Guidelines page for a chosen topic as plain text.

Does Mac design include code examples?

Yes. A separate patterns reference contains copyable SwiftUI code, and it covers settings, toolbars, app shell and menus.

Is Mac design free to use?

The repository is published under the MIT license.

How do I install Mac design in Claude Code?

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

Does Mac design run scripts?

Yes. It runs shell scripts. Its scripts contain network calls. 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 Mac design?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Mac design?

The closest alternatives to Mac design are Design kit, macOS golden gate design, Build swiftui interface, Build and verify and UX 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