Open skill for AI agents · MIT license
App recipe
The path of an app from a loose idea to the store, in gated stages, to follow with an AI agent or on your own.
What It Is
App recipe is a skill, a set of subagents and a few small tools that guide a mobile app from a loose idea to a published, monetized app on Google Play and the App Store.
In practice, it is the process that survived several real apps, written so an AI agent can follow it from the first "I have an idea" to the first download. It also works without an agent: each stage says what to do, what to produce and how to know it is done.
Why I Wrote It
Building an app with an AI agent is fast until the day it is not. The agent forgets decisions, the designed screen drifts from the code, a key leaks into the chat, the store rejects the build and nobody knows whether a change needs a new build or can go over the air.
Every one of those happened to me. The recipe collects what worked so it does not happen again, to me or to whoever uses it.
- Gates, not guesses: every stage ends with something measured, like "CI green on commit x" or "contrast 7.3:1".
- Small context: the agent reads only the file for the current stage, never the whole recipe.
- You stay the owner: the agent does the technical work; you decide, pay and sign. Secrets never go through the chat.
- Real traps: about 80 lessons, each with its fix.
Seven Phases, One Gate at a Time
Idea, product, look, base, build, ship and store. There are 16 stages grouped into those seven phases, and the next one starts only when the previous one closes its gate. Meanwhile, the agent context holds only the file of the stage it is in.
Already have an app? Stage zero is an audit that decides whether to harden what exists or rewrite it.
Not on React Native? Almost All of It Still Applies
The recipe was built and tested on React Native, Expo and Firebase, but most of it is process and store knowledge that does not depend on how the app is written. With Flutter, Swift, Kotlin or another backend, the stages stay the same and only the technical layer changes.
Fast by Default
A slow app loses people, and it is rarely the server's fault: it is a handful of decisions made early in the code. The performance chapter sets a time budget per journey, groups the fixes in seven layers, lists free tools to measure with and gives directives to paste into your agent's brief.
- Perceived speed: skeletons, cached data first, optimistic updates
- Images and fonts: resize before upload, device cache, few font weights
- Lists and rendering: virtualized lists and a limit on every query
- Startup and bundle: unused dependencies out, heavy modules on demand
- Network and API: no duplicate calls, parallel requests, timeouts
- Server and data: no N+1, indexes, a queue for slow work
- Measure in production: real users' vitals, slower releases stop the rollout
Subscriptions, Beyond the Paywall
Most revenue is lost after the paywall: failed cards, quiet cancellations, nobody asking why. The chapter treats every state of a subscriber as a screen and a plan: model, paywall, price, offers, failed payments, cancellation and win-back, and the truth kept on the server.
Measure What Matters
Twelve to twenty planned events, sent through one typed track(), answer the only question that matters early on: where do people give up? Then retention by cohort tells you if the fix worked. The chapter also covers consent, crashes, experiments and attribution.
Store Screenshots Built from Real Screens
Real screenshots go in and a connected panorama comes out, cut to the exact sizes of both stores, with the Play feature graphic, alt texts, a preview of how search shows the app and warnings for what the stores reject. The text on the images lives in a JSON file, so translating or testing a variant means editing that file.
An Agent That Uses the App Like a Real Person
The explorer-tester drives the web preview or an Android device as a persona: an older person with large fonts, someone in a hurry in dark mode, a user who loses the network mid-save, a phone in another language. There is no script to write; it reports findings with steps and screenshots.
In a test against a sample app with six planted bugs, one persona run found five of them plus two nobody had planted.
Over the Air or a New Build, Decided by a Script
Most changes reach phones in minutes through EAS Update. A native change needs a new build, which costs build credit, takes 15 to 30 minutes and makes testers reinstall. ota-or-build.sh compares what changed since the last build tag with the list of native paths, says which path to take and publishes over the air when it is safe.
Getting Started
With Claude Code, clone the skill into the skills folder and, if you like, copy the three subagents. Then just talk: "I have an idea for an app that reminds people to water their plants" is enough to start the interview.
With Codex, the clone goes into its skills folder. With another agent, or none, the starting point is the stage map in the repository. The recipe is written in English so it can be shared, but the agent talks to you and writes your app docs in your language.
git clone --depth 1 https://github.com/Rahgomes/app-recipe ~/.claude/skills/app-recipe
mkdir -p ~/.claude/agents && cp ~/.claude/skills/app-recipe/agents/*.md ~/.claude/agents/License and Contributing
Code and text are under the MIT license. The recipe changes when a new app teaches a new lesson, and the commit history is the record of those changes. Store rules, prices and versions are dated where they appear: check the official source on the day you act.
Issues and pull requests with a real trap and its fix are very welcome.
Explore the Project and Take Part
Find the code, documentation and ways to contribute in the repository.