play-billing-skills
🐱 Agent ready instruction recipes for integrating Google Play Billing & RevenueCat SDK: grounded, drop-in guidance for Android in-app purchases.
A collection of 45 instruction recipes for AI coding agents that guide Android developers through integrating in-app purchases and subscriptions using either Google's Play Billing Library directly or the RevenueCat SDK.
Play Billing Skills is a collection of 45 instruction recipes for AI coding agents that help developers integrate in-app purchases and subscriptions into Android apps. The recipes are published by RevenueCat, a company that provides subscription infrastructure for mobile apps, and they draw from two official RevenueCat guides covering Google Play Billing and the RevenueCat Android SDK.
Android in-app billing is genuinely complex. Google's Play Billing Library handles the purchase transaction, but the surrounding lifecycle involves many edge cases that separate a working demo from a production-quality integration: grace periods, account holds, price changes, refunds, subscription pauses, plan switches, fraud prevention, and server-side receipt verification. These skills encode the specific patterns, API response codes, and common pitfalls that matter in production.
The 45 skills are split into two collections. One targets developers who integrate Google's Play Billing Library directly and run their own backend for receipt verification. The other targets developers who use RevenueCat's SDK to abstract away most of that complexity. A comparison skill explains the trade-offs between the two approaches side by side.
Each skill is a markdown file with YAML frontmatter that AI coding agents use to recognize when a recipe applies. When a developer asks their agent to set up RTDN or handle a failed renewal, the agent matches the request to the correct skill and follows the numbered workflow inside it, including handoffs to prerequisite skills if earlier steps are incomplete.
Installation involves cloning the repository and running a bundled shell script that creates symlinks in the agent's expected skill directory. Instructions cover Claude Code, Android Studio Agent mode, Gemini CLI, Cursor, and manual use in any agent that can read markdown files.
Where it fits
- Ask your AI coding agent to set up Google Play in-app purchases in an Android app, using the skill to handle production edge cases like grace periods and account holds.
- Use the comparison skill to decide between integrating Google Play Billing directly versus using the RevenueCat SDK for your Android subscription flow.
- Let the agent handle a failed subscription renewal by matching the request to the correct skill and following its numbered workflow including prerequisite handoffs.
- Set up server-side receipt verification for Play Billing purchases by following the relevant skill's step-by-step guide in Claude Code or Cursor.