Skip to content
Skill

Build and verify

Builds a SwiftUI macOS app, then checks light and dark snapshots of each page

Build and verify is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
2K
Last commit
License
MIT
Listing updated

Similar skills

About Build and verify

This skill walks an agent through finishing a change to a SwiftUI macOS app. It builds the app from the command line with a release or debug script, installs it, and runs a snapshot tool that opens the app against a throwaway test database loaded with sample data. The tool saves one screenshot per page in light and dark mode so the agent can inspect the result instead of assuming compiled code renders correctly.

The workflow also covers grid linting and layout checks with a companion layout skill, a close review of each image for clipping, blank areas, unreadable dark mode and stray focus rings, and a self-test script for interaction checks. It includes guidance for common snapshot problems such as missing Screen Recording permission, a sleeping display, hidden windows and inactive window dimming.

It expects a SwiftUI macOS project laid out like the author's template, with build.sh, tools scripts and seed data. Apps built differently are pointed to a separate mapping file. The agent needs Bash and file reading access, and macOS with Screen Recording permission granted to the terminal.

When your agent uses it

Build a SwiftUI macOS app from the command line, install it, and check light and dark window snapshots of every page before calling a change done. Use after any UI code change, when a build fails, or when the user asks to run, screenshot, or check the 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 3 files (11 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/build-and-verify:

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

For one project only, put the folder in .claude/skills/build-and-verify inside it instead.

Claude Code docs on skills

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

For one repository only, put the folder in .agents/skills/build-and-verify inside it instead.

Codex docs on skills

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

For one project only, put the folder in .cursor/skills/build-and-verify 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/ship/build-and-verify

Or copy the folder to ~/.gemini/skills/build-and-verify yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/build-and-verify:

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

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

The SKILL.md format

What it does

Command line build
Compiles the app in release or debug mode and installs it, with an option to relaunch it.
Light and dark snapshots
Captures a PNG of every sidebar page and optionally Settings tabs in both appearance modes.
Seeded test store
Resets the test database and fills it with sample data so snapshots are repeatable.
Layout grid checks
Runs lint and layout scripts that must pass before a UI change counts as done.
Visual review checklist
Guides the agent to inspect each image for clipping, blank areas and dark mode issues.
Snapshot troubleshooting
Explains fixes for missing permissions, sleeping displays and hidden windows.

Good for

  • Build the macOS app and confirm it compiles after a UI change
  • Take light and dark screenshots of every page I edited
  • Check why the app build failed and fix the first error
  • Verify the sidebar and Settings tabs render correctly
  • Run the app and review its screens before committing

Build and verify FAQ

What does Build and verify need to run?

It needs a SwiftUI macOS project with the template's build.sh and tools scripts, and Screen Recording permission for the terminal so snapshots include sidebars and materials.

When does Build and verify trigger?

After any UI code change, when a build fails, or when the user asks to run, screenshot or check the app.

Does Build and verify touch my real app data?

No. The snapshot script uses a test store in /tmp and the guidance says never to snapshot against the user's real database.

Which tools does Build and verify allow the agent to use?

Running the build script, swift commands, the tools directory scripts, the built app binary, opening apps and reading files.

How do I install Build and verify in Claude Code?

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

Does Build and verify run scripts?

No. It is instructions only, with no scripts. 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 Build and verify?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Build and verify?

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

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