From issue to App Store: the AI agent workflow
The agents do the typing. The workflow exists so that what they type matches what I meant, and so that the checking is done by something that didn’t write it.
Start with a conversation
Nothing starts as a spec. The apps themselves started as discussions with an agent, before there was any code: is the idea worth building, who would pay for it, what’s already out there, and how it could be built. The agent does the research and answers the questions; I push back until I’m convinced or the idea is dropped.
Features start the same way: what the feature is for, what it must never do, what could go wrong. Once we’ve settled it, the result goes into the skill loops below, and the agent that helped me think it through isn’t the one that reviews the code.
The lines the app never crosses come out of those discussions too, and go
in the instruction file every agent reads on every task (the app repo’s
CLAUDE.md). For Purrchiver that’s no network access at all, which ruled
out an update checker, analytics and license activation in one line.
Secret Store’s is “zero vendor cryptography”, which a CI check also
enforces.
“You can review a pull request all day and never see an absence.”
The reasoning is in Just the human in the loop. The same file holds invariants, such as a keychain access group treated “like a database primary key” in Secret Store’s design.
Two tracks
The skills are in my public agent-config repository.
For features: /feature-create writes the feature as a GitHub issue
whose body is the spec. /feature-plan breaks it into sub-issues with
dependencies, drafted and critiqued by separate agents, with one approval
from me. /feature-work builds them on a branch, one commit per sub-issue,
and stops at a list of anything it deferred. It pushes and never merges.
For a single change: /pr-plan sizes the work and writes a plan,
/pr-build builds it task by task into a draft pull request, /pr-review
reviews it, /pr-fix and /pr-polish finish it. Merging, undrafting and
adding reviewers are always my click
(the PR workflow).
Every one of these is a graph of steps that a small script enforces, so an agent can’t skip a step or invent one (why that matters).
The reviewer is never the author
Review is done by fresh agents that see only the work, never the conversation that produced it. They play different roles: an independent reviewer, an adversarial one looking for what breaks, a synthesizer, a devil’s advocate and an adjudicator. They’re all Claude; the independence comes from a fresh context and a different stance, not a different model.
- The reviewer should not be the author explains the principle. (It describes an older setup that used two AI vendors; I’ve since moved to one, with roles. Agent wrangler, seven months later explains why.)
- How much review is too much: limit review to the diff, set a severity floor, and accept “no blocking issues found” as a complete result.
Commits you can trace
/commit groups changes into logical commits with Conventional Commit
messages and a co-author line for the agent. It never amends or
force-pushes. Those co-author lines are where the “about 96% of commits”
figure comes from.
A queue the agents can trust
Issues carry three separate kinds of label:
- Priority (
p0,p1,defer), set when the issue is filed. - Size (
StoXL), set only once someone has dug in. - Deferred (
needs-manual,scale-gated,too-big,blocked-upstream), which keeps an issue out of the agents’ queue, with the reason.
The agents’ queue is everything open that isn’t deferred. Without the deferred labels, the same blocked issue gets picked up and re-argued every time.
Related
- What’s still mine
- Your smartest AI is a lousy junior: which model plans and which builds (the PR build step has since moved to the larger model)
- Small releases or big ones