The App Playbook

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.


Contents


Part A. Before you start

A1. What you need

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.

A2. Ground rules for your agent

Give these to the agent with the playbook. They came from real problems.

Safety

Inside the app

Working style

A3. Words you will meet

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

Part B. The twelve stages

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.

1. Idea and brief

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.

Gate 2: you approve the name, the package name and the icon at full and tiny size.

3. Look and feel

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.

4. Project setup

Goal: an empty app that already follows every rule.

Gate 4: the empty app opens on your phone and the checks pass.

5. Data and backend

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.

6. Building it

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.

7. Quality check

Before any build that leaves your computer:

8. Builds and signing

Goal: a signed APK for testers and a signed bundle for Play, checked before anyone sees them.

9. Website and privacy policy

Goal: a page people can find, and a privacy policy Play accepts.

Gate 9: you read the site and the privacy policy before they go live.

10. Store listing

Goal: everything Play asks for, written down before you open Play Console.

Keep a store/ folder:

Gate 10: you read the listing and the Data safety answers.

11. Google Play Console

Goal: the app created, tested and live.

  1. Create the app in Play Console: name, default language, free. Keep Play App Signing on.
  2. Fill in every App content form from store/play-console.md, and the store listing from store/listing.md.
  3. Upload the first bundle by hand to a closed test, with its mapping file.
  4. Invite at least 12 testers and keep them opted in for 14 days in a row (new personal accounts). Start early, and invite a few spares.
  5. Apply for production when Play offers it, then release.
  6. From then on, the agent can upload new versions for you through the Google Play Developer API with a service account (a robot account in Google Cloud that you invite in Play Console under Users and permissions, with release permissions). Keep its key file private and out of git.

12. Release and after

Release day, in one go:

  1. Everything committed and pushed.
  2. A GitHub release tagged v<version> with the APK under its versioned name and its fixed name; check the download link answers with the new file.
  3. Optional: publish the APK to your F-Droid repository.
  4. Update any version text on the website.
  5. Upload the bundle and mapping file to Play with release notes.
  6. Update HANDOFF.md.

After release:


Part C. Traps we already fell into

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

Part D. Templates and prompts

D1. Intake questions

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).

D2. PRODUCT.md

# 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>.

D3. PLAN.md

# <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)

D4. Kickoff prompt

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.

D5. HANDOFF.md

# <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>

D6. Release checklist

[ ] 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

D7. Prompts that work


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.