Menu

1 / 2

How I built a native Mac app with Claude Code: spec, spikes, budget

DEV Community: swift·Zernonia·7 days ago
#OSQRyAiV
#devtoswift#devto#dev#code#every
Long article (1933 words) — no AI summary yet.
Reading 0:00
15s threshold

The build plan in my spec said six weeks for the core and about ten for full launch scope. Stat Space 1.0 shipped on day three. As I write this the repo has 143 commits, and 137 of them carry a Co-Authored-By: Claude trailer.

That ratio is the reason for this post. Stat Space is a native menu bar system monitor for Apple Silicon: AppKit, Core Graphics, a SwiftUI popover, private frameworks loaded at runtime, a CLI and an MCP server. It's not a CRUD app, and Claude Code wrote most of it. What made that work wasn't a clever prompt. It was a handful of boring artifacts I wrote before any code, and a few guardrails the agent couldn't talk its way around.

The order that made it work: docs, handover, spikes, app, and a benchmark that fails the build.

Write the spec before the code

Before there was a single Swift file, the repo had three documents:

docs/SPEC.md : scope, pricing tiers, architecture, data sources for every metric, a week-by-week build plan, risks, and open questions.

docs/DESIGN.md : the chosen…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.