Skip to content
Skill

New mac app

Scaffolds a native macOS SwiftUI app from a working Swift package template

New mac app 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, Swift
Platforms
Claude Code, Codex, Cursor
GitHub stars
2K
Last commit
License
MIT
Listing updated

Similar skills

About New mac app

This skill sets up a new native macOS app in SwiftUI from a ready-made template, without touching the Xcode GUI. The template is a Swift package with an executable target, SwiftData models, a navigation split view, a settings window and a build script that wraps the binary into a signed .app bundle installed under ~/Applications. The agent runs a bundled script that copies the template, fills in the app name and bundle id, initializes git and makes a first commit.

After scaffolding, the agent is guided through a first build to confirm the toolchain works before feature work begins. The template includes checks the agent can run: unit tests for the app's core module, a selftest script, grid-spacing lint, layout verification, and a snapshot mode that renders every page and settings tab in light and dark appearance. Icon tooling compiles an Icon Composer file into asset catalog output and can render previews of each icon look.

The skill expects macOS 26 with Swift 6.2 or later, though it explains how to target macOS 15 instead. It also covers when to switch to an XcodeGen project for App Intents, extensions or widgets, code signing with a local Apple Development certificate, and a small command-line interface pattern that lets agents read and change app data.

When your agent uses it

Create a native macOS SwiftUI app from a working template (Swift package, SwiftData, build script, icon script, snapshot mode, git), with no Xcode GUI. Use when the user wants to start a new Mac app or scaffold a macOS project.

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 31 files (69 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/new-mac-app:

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

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

Claude Code docs on skills

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

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

Codex docs on skills

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

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

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

Gemini CLI docs on skills

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

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

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

The SKILL.md format

What it does

Working app template
Provides a Swift package with an executable target, SwiftData models and a sidebar-based split view that builds as is.
Build and bundle script
Wraps the compiled binary into a .app bundle, signs it and installs it to the Applications folder.
Snapshot and layout checks
Renders each page and settings tab in light and dark mode and verifies the layout files.
Spacing and layout linting
Flags spacing values that fall off a 4 point grid and provides layout probes and an overlay.
Icon generation tooling
Converts an Icon Composer file into asset catalog and icns output and renders previews of icon looks.
Signing and CLI guidance
Explains certificate-based signing, permission behavior across rebuilds and an agent command-line interface for app data.

Good for

  • Start a new SwiftUI Mac app with a git repository already set up
  • Scaffold a macOS project from a product brief in a docs folder
  • Build the app and open it from the Applications folder
  • Generate light and dark snapshots of every page to review the design
  • Convert an Icon Composer file into the app icon assets

New mac app FAQ

What does the skill need before New mac app runs?

It expects macOS 26 with Swift 6.2 or later. On macOS 15 the skill says to change the platform target in Package.swift and the minimum version in Info.plist.in.

When does the skill trigger?

It triggers when the user wants to start a new Mac app or scaffold a macOS project.

Does New mac app use the Xcode interface?

No, the template is built with Swift package commands and a shell script. The skill suggests an XcodeGen project only when App Intents, extensions or widgets are needed.

What happens to a Dropbox or iCloud folder?

The skill notes that the scaffolding script can take minutes in those folders and should be run in the background.

How do I install New mac app in Claude Code?

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

Does New mac app run scripts?

Yes. It runs shell and Swift 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 New mac app?

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 New mac app?

The closest alternatives to New mac app are Build and verify, Design kit, Mac design, Build swiftui interface and Test mac app.

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