For first-time app builders
The App Playbook
Twelve stages from an idea to Google Play, written for you and your AI coding agent. The agent does the work. You decide at every gate.
Free · version 1.0 · CC BY 4.0 · On GitHub ↗
Three steps to start
-
Save the file
Put PLAYBOOK.md in an empty project folder on your computer.
-
Hand it to your agent
Claude Code, Codex, Cursor, Gemini CLI or any coding agent. Paste the line below.
-
Decide at every gate
The agent does the work and stops twelve times for your yes. You never need to write code.
Your first message to the agent
Read PLAYBOOK.md fully, then take me through it from stage 1. Stop at every gate and wait for my answer.
What you need
Most of it is free. Your agent installs the tools with you at stage 4, so you only need to know what each one is for.
Accounts
- GitHub Keeps your code and its history, hosts your app's site and the APK people download
- Expo Builds the app in the cloud and sends updates straight to phones
- Google Play Console Your store page, testing and release. New personal accounts run a 12-tester, 14-day closed test first
- Supabase Sign-in, a database and file storage, for apps that sync
- A domain A short address. GitHub Pages works free without one
On your computer
- An AI coding agent Writes and runs the code with you
- Node.js (LTS) Runs Expo and the build tools
- Git Saves every version of your work
- An Android phone and cable The only true test of your app
- VS Code or another editor To read what the agent wrote
- GitHub CLI (gh) Lets the agent make repos and releases
- JDK 17 and the Android SDK Only to build on your own computer; cloud builds skip them
- Python Small helper scripts
Skills for your agent optional, all free
Skills are instruction packs your agent reads before it works. Add one from your project folder with npx skills add and the repository's name.
-
Expo skills
Code that follows current Expo practice: native UI, design system, animation
npx skills add expo/skills -
React Native best practices
Speed and structure in React Native
npx skills add callstackincubator/agent-skills -
impeccable
Writes down who the app is for and its design system, then reviews screens
npx skills add pbakaus/impeccable -
Supabase agent skills
Safe database rules, if your app uses Supabase
npx skills add supabase/agent-skills -
Modern web guidance
Current practice for your app's website
npx skills add GoogleChrome/modern-web-guidance -
Humanizer
Store and site text that sounds like you, not like an AI
npx skills add blader/humanizer
The twelve stages
Each stage ends at a gate: the agent stops, shows you what it made, and waits for your yes.
-
Stage 1 of 12
Idea and brief
Know exactly what you're building and for whom, before any code.
- The agent asks twelve questions at once, each with a suggested answer, so you can reply “defaults are fine”.
- The answers that change everything: who uses it, offline or online, accounts or none, who sees whose data, where people will get it.
- It writes PRODUCT.md, and for a bigger app PLAN.md with a decisions table: every open question with a suggested answer.
GateYou approve PRODUCT.md and the decisions table.
Watch outCoding from a one-line idea. Two pages of brief save days of rework.
-
Stage 2 of 12
Name, icon and logo
A name, a package name that never changes, and an icon people know at a glance.
- Pick the package name, like com.you.appname, now. It can't change after the first Play upload.
- Ask for two or three icon directions side by side, at full size, 48 and 24 pixels, on light and dark.
- An illustrated object that says what the app is beats letters and generic shapes. Your own sketch beats a drawing made from nothing.
- The agent renders every size from one SVG with a script, including a white notification icon.
GateYou approve the name, the package name and the icon at full and tiny size.
-
Stage 3 of 12
Look and feel
A look that belongs to this app alone, written down so every screen follows it.
- Give the app its own world: a cinema for a film diary, paper and ink for a journal, the college calendar for a campus app.
- The agent writes DESIGN.md: colours with rules, fonts, spacing, components, motion, do's and don'ts.
- See two or three palettes and key screens on one page before anything is built.
- Avoid the signs of AI-made design: purple gradients, glows, gradient text, emoji labels, see-through panels over text.
GateYou approve the palette, type and key screens.
-
Stage 4 of 12
Project setup
An empty app that already follows every rule.
- Current Expo template with Expo Router and TypeScript, git, and a GitHub repo.
- .gitignore covers keys from day one: credentials.json, *.jks, .env*.local, a private/ folder.
- Two build profiles: preview makes an APK for testers, production makes the bundle for Play.
- Type check, lint and tests from the start, a What's new entry, plain-words errors and a Report a problem button.
GateThe empty app opens on your phone and the checks pass.
-
Stage 5 of 12
Data and backend
The least backend the app needs, private by default.
- One phone only: a local database, no server, the simplest privacy policy.
- Backup without a server: an export file the user keeps, locked with a passphrase.
- Accounts and sync: Supabase, with row-level security on every table and the schema saved in the repo.
- Accounts mean a Delete account button and a public page on deleting data. Play requires both.
GateThe database is set up and its security rules are tested.
-
Stage 6 of 12
Building it
The app, in milestones you can see.
- Milestone 0 is a skeleton you can tap through. Then features, in the plan's order.
- After each one the agent runs the checks, looks at the screens, updates HANDOFF.md, commits, and says what it didn't check.
- Ask for a demo mode with made-up data and a worst-case data set.
GateAt every milestone, you try it and say go.
Watch outTen features before you open the app once. Look early and often.
-
Stage 7 of 12
Quality check
Nothing embarrassing leaves your computer.
- Checks pass and expo-doctor is clean; packages match your Expo version.
- Worst-case data on every screen: long names, empty lists, huge numbers, the biggest font.
- Light and dark, contrast, 48 dp tap areas, screen reader labels, offline messages.
- Only the permissions you meant are in the built app.
GateEvery line of the checklist is ticked.
-
Stage 8 of 12
Builds and signing
A signed APK for testers and a signed bundle for Play, checked first.
- Cloud builds with EAS: one command for the APK, one for the bundle.
- The first build creates your signing key. Keep a private backup: lose it and you can't update the app.
- Raise versionCode for every build you release.
- Check every file: the same signing key as before, the right version, the right update channel, no hardware required.
GateBoth files pass every check.
-
Stage 9 of 12
Website and privacy policy
A page people can find, and a privacy policy Play accepts.
- A small site on GitHub Pages: what it is, screenshots from demo data, a download button.
- privacy.html written from facts in the code, and delete-account.html if there are accounts.
- The download button points at releases/latest/download/app.apk, so it never needs editing.
- A 1200 by 630 link preview image under 300 KB, so WhatsApp shows it.
GateYou read the site and the privacy policy before they go live.
-
Stage 10 of 12
Store listing
Everything Play asks for, written down before you open Play Console.
- listing.md: name (30 characters), short description (80), full description (4000), release notes (500).
- play-console.md: an answer for every form, from what the code really does, including Data safety.
- graphics/: a 512 px icon, a 1024 by 500 feature graphic and phone screenshots, made by script from demo data.
GateYou read the listing and the Data safety answers.
-
Stage 11 of 12
Google Play Console
The app created, tested and live.
- Create the app, fill every form from your notes, upload the first bundle by hand to a closed test.
- Invite at least 12 testers and keep them in for 14 days in a row. Start early and invite spares.
- Apply for production when Play offers it.
- Afterwards the agent can upload new versions for you through the Play Developer API with a service account.
GatePlay approves production access.
-
Stage 12 of 12
Release and after
The same version everywhere, then steady small updates.
- Release day in one go: push, a GitHub release with the fixed-name APK, the site, Play with release notes, HANDOFF.md.
- JavaScript-only fixes go out as over-the-air updates, each with a new What's new.
- Anything native needs a new build and a check on a real phone.
- Listen through Report a problem emails and Play reviews. Fix, note, ship.
GateThe same version is live everywhere, and HANDOFF.md says so.
Ground rules
They hold at every stage. Your agent reads them first.
Never print a key
Passwords, API keys and signing keys stay in environment variables or a private file git ignores.
Ask before it leaves the computer
Pushing, publishing, uploading, creating accounts, sending notifications: the agent asks first.
No programmer text on screen
“No connection. Check your internet and try again.” Never an error code.
Ask before removing anything
A confirm step for every delete, and undo where you can.
Every update says what's new
A few plain lines after each update, over-the-air ones too.
No hardware required
Camera, GPS and portrait-only screens stay optional, or Play hides the app from some phones.
Readable for everyone
Strong contrast, 48 dp tap areas, text that grows with the phone's font size.
Demo data for every picture
Screenshots and store images never show real people's data.
Keep a HANDOFF.md
What works, what's released, what's open. Any agent can pick up from it.
Traps we fell into
Building four apps taught these. You can skip them.
People ended up with two separate apps
The package name changed after release. Decide it before the first upload.
An update didn't reach some phones
Builds have different runtimes. Send updates to every runtime still in use.
Keys sat in the project folder
Ignore key files from day one and delete downloaded keys after use.
A release broke the download button
The fixed-name APK was missing. Attach the APK under both names.
Play said the app “requires a portrait screen”
Locking orientation counts as required hardware. Mark it optional.
The free database went to sleep
Free projects pause after a week. Add a daily keep-alive ping.
The APK wouldn't download on some networks
GitHub's file server is blocked there. Mirror the APK on your own page.
The release build wouldn't open on the emulator
ARM-only builds need a phone, or an emulator build with x86_64.
The store text sounded like an AI
Ask for plain, specific sentences, then read it aloud before publishing.
An agent redid another session's work
Keep HANDOFF.md current, and start every session by reading it.
Words you'll meet
- Expo, React Native
- The toolkit: write the app once in TypeScript, and it runs as a real Android app.
- EAS
- Expo's cloud service that builds your app and sends updates.
- APK
- An Android app file people can install directly.
- AAB
- The app bundle you upload to Play; Play makes the APKs from it.
- Package name
- Your app's permanent id, like com.you.appname.
- versionCode
- A whole number that goes up with every build you release.
- Signing key
- Proves an update comes from you. Lose it and you can't update the app.
- OTA update
- New JavaScript reaches phones without a store release. Native changes still need a build.
- Runtime
- Which builds can take an over-the-air update. A native change makes a new one.
- Channel
- Where an update goes, like preview for testers and production for Play.
- Closed test
- A Play track for invited testers, required before a new personal account goes public.
- Data safety
- Play's form about the data your app collects. It must match your code and privacy policy.
- RLS
- Row-level security: database rules so each person sees only their own data.
- F-Droid
- An open app store. You can run your own repository on GitHub Pages.
- R8 mapping file
- R8 shrinks the app; the mapping file turns Play's crash reports back into readable names.
Templates
A few from the file, ready to copy. PLAYBOOK.md has them all, with PRODUCT.md and PLAN.md too.
Intake questionsThe agent sends these at stage 1.
1. In one sentence, what does the app do, and for whom? 2. What should someone feel after a week of using it? 3. Three apps it should beat, and one thing each does badly. 4. Online or fully offline? Accounts, or none? 5. Who can see whose data? 6. Languages. 7. Where will people get it: Google Play, a direct APK, F-Droid? 8. Where does its content come from, and may you use it? 9. Must-haves for version 1, and what can wait. 10. Notifications? Home-screen widgets? Sharing images? 11. Apps, sites or drawings you love the look of. 12. Name ideas, and the package name com.<you>.<app> (permanent).
Kickoff promptPaste it once the brief and design are agreed.
Read PLAYBOOK.md, PRODUCT.md, DESIGN.md and PLAN.md fully. Build the app one milestone at a time, starting at milestone 0. After each milestone: run the type check, lint and tests, look at the screens on a phone-sized preview, update HANDOFF.md, commit, and tell me in five lines what changed and what you did not check. Follow DESIGN.md exactly. Use demo data for every screenshot. Never print keys. Ask before pushing, publishing or creating any account.
HANDOFF.mdAny agent can pick the project up from this.
# <App>: handoff Read this first. Updated <date>. ## Start here <One paragraph: what works, what's released, what's next.> ## Live | What | Where | Version | | --- | --- | --- | | Google Play | production / closed test | <version> (versionCode <n>) | | APK | GitHub release v<version> | <app>.apk | | Backend | <project, migrations applied> | | ## How to build, test and release <Commands and anything unusual.> ## Open work - <dated item: what, why, what's left> ## Decisions - <dated decision, who made it, why>
Release checklistCopy it into your agent's task list on release day.
[ ] Quality check passes [ ] Version and versionCode raised, What's new updated, committed [ ] APK and bundle built, signed with the release key, and checked [ ] Code pushed [ ] GitHub release with versioned and fixed-name APK; download link checked [ ] Website version text updated and published [ ] Bundle, mapping file and release notes uploaded to Play [ ] HANDOFF.md updated [ ] Downloaded keys deleted; build folders cleared
Prompts that workShort asks that save hours.
Show me three icon directions side by side at 1024, 48 and 24 pixels, on light and dark. Fill every screen with worst-case data: very long names, empty lists, huge numbers, the biggest font. List what breaks and fix it. Read the built APK and tell me its signing certificate, versionCode, permissions and whether it requires any hardware. Write the Play Data safety answers from what the code actually does, and show me where each answer comes from. Before you end, update HANDOFF.md and tell me what you didn't check.
The App Playbook is free to share and adapt under CC BY 4.0. Credit Inigo Papu Vinodhan and link back to this page.