Ship a native Mac menu bar app in Swift without knowing Swift

Design lead Brian Kelson had Claude Code write all the Swift for Cap, a free menu bar tracker of Claude usage limits, across 36 builds; a relaunch crash and a misread sign-in brief were the costly lessons.

Done withClaude Code· Nov 25, 2026

What they did

Brian Kelson, a UX strategist and former design executive who does not write Swift, built Cap, an open-source Mac menu bar app that shows how much of the 5-hour session and weekly Claude limits have been used. Claude Code wrote the Swift. Kelson defined the problem, cut features, set what counted as success and ran test passes. Over several weeks Claude Code also built a test runner for those passes, a relaunch check, a renewal warning for the sign-in, and an experimental year-long key that was kept out of the release. At his request it kept a running log of decisions, mistakes and his exact words, which he later used to write the post.

How it went

Cap shipped as version 1 after 36 builds. A four-day soak test ran 722 refreshes with no sign-outs. One build crashed on every launch after the first because Claude Code had reordered the startup code; the fresh-install test plan it wrote never reopened the app. It was fixed the same day and a relaunch check now runs before each installer. Claude Code read his demand to stop sign-in prompts as a request to warn about them, and twice stated things it had not checked, including a way to revoke the key that did not exist. The released app asks users to sign in about once a month with a week's notice, not the once a year he wanted.

Worth knowing

Kelson says it took more hours than a seasoned developer would need, because he could not judge the Swift himself and had to lean on tests and problem definitions. He shelved the year-long key over Anthropic's rule against apps storing Claude credentials, after his written question to Anthropic went unanswered. Asking the agent to restate the problem and the test that proves it solved, before it builds, is the habit he would start with.

Try it

With Claude Code· 3 parts to fill in

I want to build [a small native app for my platform] in [language I do not know]. Before you write any code, tell me in one sentence what problem you think I am asking you to solve and what test would prove it is solved, then wait for my yes. Work in small builds. For every build, include a check that quits and relaunches the app as a returning user, not only a fresh install. When you state a fact about an API, a platform rule or a setting, say whether you checked it or are assuming it. Keep an append-only log of decisions and mistakes in [STORY-LOG.md]. Stop and tell me when a build is ready to test; do not package an installer while you are still editing.

Square brackets are the parts to fill in. The prompt is ours; the story is theirs.

Where they said it

Related