# Build and verify

> Build and verify is an open-source agent skill for developer tools. Builds a SwiftUI macOS app, then checks light and dark snapshots of each page. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/daveebbelaar/bama/tree/main/skills/ship/build-and-verify
- **Repository:** https://github.com/daveebbelaar/bama
- **GitHub stars:** 2,009
- **License:** MIT
- **Skill name:** build-and-verify
- **Collection:** https://github.com/daveebbelaar/bama
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/daveebbelaar/bama/tree/HEAD/skills/ship/build-and-verify)
- [Asks for: Bash(./build.sh*), Bash(swift *), Bash(tools/*), Bash(*/Contents/MacOS/*), Bash(open *), Read](https://github.com/daveebbelaar/bama/blob/HEAD/skills/ship/build-and-verify/SKILL.md)
- [License: MIT](https://github.com/daveebbelaar/bama/tree/HEAD/skills/ship/build-and-verify)

## Features

- **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

## Install

### Claude Code

This skill ships in the `bama` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add daveebbelaar/bama
/plugin install bama@bama
```

Or copy only this skill to `~/.claude/skills/build-and-verify`:

```sh
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.

### Codex

Copy the skill folder to `~/.agents/skills/build-and-verify` to use it in every repository:

```sh
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.

### Cursor

Copy the skill folder to `~/.cursor/skills/build-and-verify` to use it in every project:

```sh
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.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Build swiftui interface](https://ai-powered.com/skills/build-swiftui-interface): Build swiftui interface is an open-source agent skill for developer tools.
- [Mac design](https://ai-powered.com/skills/mac-design): Mac design is an open-source agent skill for developer tools.
- [New mac app](https://ai-powered.com/skills/new-mac-app): New mac app is an open-source agent skill for developer tools.
- [Test mac app](https://ai-powered.com/skills/test-mac-app): Test mac app is an open-source agent skill for developer tools.
- [Design kit](https://ai-powered.com/skills/design-kit): Design kit is an open-source agent skill for design and media.
- [Clone](https://ai-powered.com/skills/clone-daveebbelaar): Clone is an open-source agent skill for developer tools.
- [Layout grid](https://ai-powered.com/skills/layout-grid): Layout grid is an open-source agent skill for developer tools.
- [UI review](https://ai-powered.com/skills/ui-review): UI review is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/build-and-verify
