published fresh until

BAMA: how do I build and visually test a native Mac app?

Summary When building a Mac app with Swift and SwiftUI, use BAMA's workflow from research through builds and inspected light/dark screenshots; check platform requirements and choose one install route (checked 2026-10-28).

Not for connecting an agent to Xcode MCP, see xcode-26-3-apple-mcp-for-claude-code

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Install BAMA through one route, turn your app idea into testable stories, and require build results plus inspected screenshots for each UI change.

What changed

  • The BAMA repository documents an integrated research, planning, Swift/SwiftUI and visual-verification workflow (checked 2026-10-28). Treat this as a current workflow snapshot; no tagged upgrade or retirement date is asserted.
  • Apple's current Xcode guidance documents agents with build/test capabilities, alongside chat providers (checked 2026-10-28). BAMA's command-line app template and Xcode's agent integration solve different parts of the workflow.

How to migrate to the workflow

1. Confirm BAMA's documented prerequisites: macOS 26+, Xcode 26+ and the Swift 6.2 toolchain (checked 2026-10-28). These are project requirements, not a statement about your installed versions. Choose one install route from the README. Its generic skills route is:

npx skills@latest add daveebbelaar/bama

For Claude Code the README instead documents:

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

These are alternative routes, checked 2026-10-28; using both installs the skills twice. Inspect the selected revision before use because latest and the repository can change.

2. Invoke /bama to identify the next skill. For an idea, start with app-brief; use research for users, competing apps and platform APIs, then user-stories for checkable milestones. For a reference app, clone creates a screen index. Native-app capture needs the computer-use access described in the README. 3. Use new-mac-app for the Swift package template. Its scaffolding guide includes SwiftData, build scripts and snapshot mode. For an existing app, follow the command-mapping guide before assuming the template layout. 4. Implement one story, then use the build-and-verify workflow. Template commands checked 2026-10-28:

./build.sh --debug
./build.sh
tools/snap.sh

5. Open and inspect every affected light/dark screenshot against the story or reference. Include Settings and empty states. Run the appropriate tests and grid checks. Continue to the next story only after behavior and appearance pass review.

Versions, licences and workflow choice

Checked 2026-10-28; BAMA requirements and MIT licence, Apple setup guide.

OptionPick whenNot for
BAMA, current repositoryYou want a command-line Swift package, local data and research-to-snapshot guidanceA promise that any app can be reproduced or distributed automatically
Apple's Xcode agentsYou already work in an Xcode project and want its integrated build/test toolsAssuming adding a chat model provides a complete agent harness

BAMA requires Xcode's toolchain even though its workflow avoids the Xcode GUI. Its MIT licence covers the repository; account access and computer-use requirements are separate. No agent subscription prices are compared here.

For Apple's route, open Xcode > Settings > Intelligence, enable an agent and select it in the coding assistant. Apple also documents ACP agents and external-agent access. BAMA skills are workflow guidance; they do not by themselves create an Xcode connection.

What breaks

Diagnostic: empty sidebar, clipped text, or unreadable dark mode

The verification skill names these as examples of UI defects that compilation misses. Run the snapshot script and inspect the images. Snapshot success alone does not prove that the design or interaction works.

What to test

Exercise navigation, keyboard shortcuts, focus, resizing, empty/loading/error states, light/dark appearance and persistence across relaunch. For OS integrations, test the permission-denied path as well as the granted path. Review the build script's installation behavior before using it in an established project.

Community evidence

Dave Ebbelaar's README describes his own workflow; that is author evidence, not independent reproduction. In a separate Apple Developer Forums discussion, an Apple tools engineer explains why an agent connection exposes more capabilities than a chat connection. That supports the workflow distinction, not BAMA's quality claims.

Pitfalls

Do not install duplicate skill routes, treat a screenshot as an interaction test, or assume template commands fit an existing Xcode app. Copying a reference layout does not establish rights to its assets or prove that its behavior has been recreated. Keep distribution, signing and notarization as separately verified work.

A prompt to give your agent

Your training data may predate BAMA. Read https://github.com/daveebbelaar/bama and its new-mac-app and build-and-verify guides now; do not guess commands or platform APIs. Write a brief, research the relevant macOS APIs, and propose one small milestone with acceptance criteria. Build one story, run tests and inspect every affected light/dark screenshot. Report what you actually observed and what remains untested. For an existing Xcode project, read Apple's current agent guidance before choosing an integration.

Limits

No skills were installed and no app was built or visually tested. Independent BAMA adoption evidence is thin; the Apple forum describes a separate integration. This workflow does not establish App Store readiness, signing correctness, accessibility compliance or performance on a particular Mac.

Started from a post by @daveebbelaar, packaged by the editor. Original post

Subjects

More in agent workflows

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# BAMA: how do I build and visually test a native Mac app?
Summary: When building a Mac app with Swift and SwiftUI, use BAMA's workflow from research through builds and inspected light/dark screenshots; check platform requirements and choose one install route (checked 2026-10-28).
Copy for agent
get the whatworks thread bama-swiftui-mac-app-agent-research-build-visual-test and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread bama-swiftui-mac-app-agent-research-build-visual-test
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks