From an idea to Google Play, for first-time app builders and vibe coders.
By Inigo. Written from building and shipping four Android apps with AI coding agents (Heart Apps), including every mistake along the way.
How to use this file. Save it in your project folder and tell your AI coding agent (Claude Code, Codex, Cursor, Gemini CLI or any other): “Read PLAYBOOK.md fully, then take me through it from stage 1. Stop at every gate and wait for my answer.” You make the decisions; the agent does the work. You don’t need to know how to code, but you do need to read what the agent shows you at each gate.
Version 1.0, 30 November 2026. The stack here is Expo and React Native for Android. Tools change fast, so the agent should check current documentation instead of trusting its memory.
Accounts
| Account | Cost | Needed? | What for |
|---|---|---|---|
| GitHub | Free | Yes | Keeps your code safe and its history; hosts your app’s website and downloadable APKs |
| Expo | Free plan | Yes | Builds the app in the cloud (a limited number of free builds a month) and sends updates to phones |
| Google Play Console | One-time US$25 | Yes, to be on Play | Your store page, testing and release. New personal accounts must run a closed test with 12 testers for 14 days before going public |
| Supabase | Free plan | Only if the app has accounts or sync | Sign-in, a database and file storage. Free projects pause after a week unused |
| A domain name | About US$10 a year | No | A short web address. GitHub Pages works free without one |
Tools on your computer
| Tool | Needed? | What for |
|---|---|---|
| An AI coding agent | Yes | Writes and runs the code with you |
| Node.js (LTS) | Yes | Runs Expo and the build tools |
| Git | Yes | Saves versions of your work |
| A code editor (VS Code or similar) | Recommended | Reading what the agent wrote |
| An Android phone with a USB cable | Yes | The only true test of your app |
GitHub CLI (gh) |
Recommended | Lets the agent create repos and releases |
| Java JDK 17 and the Android SDK | Only for builds on your own computer | Cloud builds don’t need them |
| Python | Optional | Small helper scripts |
| Android emulator | Optional | Quick checks without a phone |
You never install the Expo build tool globally: the agent runs it with npx eas-cli@latest.
Agent skills (optional, but they make a real difference)
Skills are instruction packs your agent loads for a kind of task. Many agents can install them with
npx skills add <owner/repo>. These helped most:
| Skill | Install from | Helps with |
|---|---|---|
| Expo skills (native UI, design system, animation) | expo/skills |
Code that follows current Expo practice |
| React Native best practices | callstackincubator/agent-skills |
Speed and structure |
| impeccable | pbakaus/impeccable |
Writing down who the app is for and its design system, then design reviews |
| Supabase agent skills | supabase/agent-skills |
Safe database rules, if you use Supabase |
| Modern web guidance | GoogleChrome/modern-web-guidance |
Your app’s website |
| A “humanizer” style skill | for example blader/humanizer |
Store and website text that sounds like you, not like an AI |
A worst-case data habit matters more than any skill: ask the agent to fill every screen with very long names, empty lists and huge numbers, and fix what breaks.
Give these to the agent with the playbook. They came from real problems.
Safety
com.yourname.appname) is permanent once on Google Play. Agree it before the first
build.Inside the app
Working style
HANDOFF.md in the project: what works, what is released, what is open, how to build. Update it after every
piece of work, so any agent (or you, months later) can pick up the project.| Word | Meaning |
|---|---|
| Expo / React Native | The toolkit: you write the app once in JavaScript or 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 (app bundle) | The file you upload to Google Play; Play turns it into APKs for each phone |
| Package name | Your app’s permanent id, like com.yourname.appname |
| versionCode | A whole number that must go up with every build you release |
| Keystore / signing key | Proves an update comes from you. Lose it and you can’t update your app; back it up |
| OTA update | An over-the-air update: new JavaScript reaches phones without a store release. Native changes still need a new build |
| Runtime / fingerprint | Which builds can take an OTA update. A new native change makes a new runtime |
| Channel | Where an update goes, for example preview (your test APK) and production (Play) |
| Closed test | A Play testing track for invited testers, required before a new personal account can publish |
| Data safety form | Play’s form about what data your app collects; it must match your privacy policy and your code |
| 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 F-Droid repository on GitHub Pages |
| R8 / mapping file | Shrinks the app; the mapping file lets Play turn crash reports back into readable names |
Every stage ends with a gate: the agent shows you something and waits for your yes. Saying “do all” covers only the stage in front of you.
Goal: know exactly what you’re building and for whom, before any code.
Gate 1: you approve PRODUCT.md and the decisions table.
Beginner trap: starting to code from a one-line idea. Two pages of brief save days of rework.
Goal: a name, a permanent package name, and an icon people recognise at a glance.
com.<you>.<app>. It can never change after the first Play upload.Gate 2: you approve the name, the package name and the icon at full and tiny size.
Goal: a look that belongs to this app alone, written down so every screen follows it.
Gate 3: you approve the palette, type and key screens.
Goal: an empty app that already follows every rule.
.gitignore covers keys from day one: credentials.json, *.jks, .env*.local, a private/ folder, build
outputs.app.json: name, package name, version and versionCode, the icons, a fingerprint runtime policy, update URL, only
the permissions you use (block the rest, including the advertising id), backups of app data off unless you want them.eas.json: preview makes an APK for you and testers, production makes the bundle for Play.Gate 4: the empty app opens on your phone and the checks pass.
Goal: the least backend the app needs, private by default.
| If the app needs | Use |
|---|---|
| Data on one phone only | A local database (SQLite). No server, no account, simplest privacy policy |
| Backup without your own server | An export file the user saves (to Drive or anywhere), ideally locked with a passphrase |
| Accounts and sync | Supabase: sign-in, Postgres with row-level security on every table, file storage |
With Supabase:
Gate 5: the database is set up and the security rules are tested.
Goal: the app, in milestones you can see.
Gate 6: at every milestone, you try it and say go.
Beginner trap: letting the agent build ten features before you open the app once. Look early and often.
Before any build that leaves your computer:
npx expo-doctor is clean.npx expo install --fix so every package matches your Expo version.Goal: a signed APK for testers and a signed bundle for Play, checked before anyone sees them.
npx eas-cli@latest build -p android --profile preview (APK) and --profile production (bundle).
The first build creates your signing key on Expo’s servers; download a backup copy and keep it private.versionCode for every build you release. The APK and the bundle can share one rising sequence.Goal: a page people can find, and a privacy policy Play accepts.
https://github.com/<you>/<repo>/releases/latest/download/<app>.apk, and every release
includes the APK under that same fixed name, so the button never needs editing.Gate 9: you read the site and the privacy policy before they go live.
Goal: everything Play asks for, written down before you open Play Console.
Keep a store/ folder:
listing.md: app name (30 characters), short description (80), full description (4000), category, contact
email, and release notes for each version (500).play-console.md: an answer for every Play form, taken from what the code really does: privacy policy URL, app
access (a test account if anything needs sign-in), ads, content rating, target audience (choose 13 and over unless
the app is for children, which brings extra rules), and Data safety: each kind of data, collected or shared,
required or optional, why, encrypted in transit, how to delete. Count the random install id that update services
receive.graphics/: 512 px icon, 1024 x 500 feature graphic, 4 to 8 phone screenshots, all made by a script from demo data.Gate 10: you read the listing and the Data safety answers.
Goal: the app created, tested and live.
store/play-console.md, and the store listing from store/listing.md.Release day, in one go:
v<version> with the APK under its versioned name and its fixed name; check the
download link answers with the new file.After release:
| What happened | Why, and the fix |
|---|---|
| Users 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 | Different builds have different runtimes. Publish OTA updates to every runtime still in use |
| An update reached no one | The update went to the wrong channel. Each build listens to one channel |
| Keys sat in the project folder | .gitignore didn’t cover them. Add the key files on day one and delete downloaded keys after use |
| A release broke the website’s download button | The fixed-name APK was missing from the release. Always attach both names |
| Play warned the app “requires a portrait screen” | Locking orientation marks the screen as required hardware. Mark hardware features optional |
| The Windows build failed with long-path errors | Build from a short folder such as C:\b, and use a newer CMake |
| The free database went to sleep | Free projects pause after a week. Add a daily keep-alive ping |
| A third free database was refused | Free plans limit projects per account |
| The APK wouldn’t download on some mobile networks | GitHub’s file server is blocked there. Mirror the APK on a web page you host |
| A release build wouldn’t open on the emulator | ARM-only builds don’t run on the usual x86_64 emulator. Test on a phone, or build with x86_64 for the emulator |
| A widget crashed after a compiler upgrade | Some widget libraries break with the React Compiler. Opt those files out |
| Store screenshots showed someone’s real data | Always seed demo data for images |
| The agent’s text sounded like an AI | Ask for plain, specific sentences, or use a humanizer skill, and read it before publishing |
| An agent re-did work another session had done | Keep HANDOFF.md current, and start every session by reading it |
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).
# Product
## Platform
android
## Users
- **<who>** (<age, phones, context>). Each day they <what they do with it>.
## Product purpose
<The job it does and what success looks like.>
## Positioning
<Why this over what people use now.>
## Operating context
- <Where and how it's used: short bursts, offline, languages, how it's shared.>
## Capabilities and constraints
- <Feature, one line each.>
- Out of scope: <what it won't do>.
# <App>: build plan
1. The idea
2. What changed (newest first, dated)
3. Scope of version 1, and what waits
4. Stack
5. Content and its sources
6. Data: what is stored, what syncs, what never leaves the phone
7. Design summary (detail in DESIGN.md)
8. Screens, with empty and error states
9. Motion
10. Privacy, permissions, notifications, accessibility
11. Backup and sync
12. Store release plan
13. Milestones, each with what you will see at the end
14. Decisions for the owner (decision | suggested answer)
15. Acceptance checklist (testable lines)
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.
# <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 |
| OTA runtimes | preview <id>, production <id> | |
| 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>
[ ] Quality check (stage 7) passes
[ ] Version and versionCode raised, What's new updated, committed
[ ] APK and bundle built and signed with the release key, and checked
[ ] Code pushed
[ ] GitHub release with versioned and fixed-name APK; download link checked
[ ] F-Droid published (if you run a repository)
[ ] Website version text updated and published
[ ] Bundle, mapping file and release notes uploaded to Play
[ ] HANDOFF.md updated
[ ] Downloaded keys deleted; build folders cleared
The App Playbook by Inigo Papu Vinodhan (https://inigo.co.in/playbook/) is licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Share and adapt it freely, with credit and a link back.