explaingit

revenuecat/play-billing-skills

25ShellAudience · developerComplexity · 2/5Setup · easy

TLDR

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.

Mindmap

mindmap
  root((play-billing-skills))
    What it does
      Guides AI coding agents
      Covers billing edge cases
      Two integration paths
    Skill Collections
      Play Billing direct
      RevenueCat SDK
      Comparison skill
    Topics Covered
      Grace periods
      Subscription pauses
      Fraud prevention
      Receipt verification
    Supported Agents
      Claude Code
      Android Studio Agent
      Cursor and Gemini CLI
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

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 CASE 2

Use the comparison skill to decide between integrating Google Play Billing directly versus using the RevenueCat SDK for your Android subscription flow.

USE CASE 3

Let the agent handle a failed subscription renewal by matching the request to the correct skill and following its numbered workflow including prerequisite handoffs.

USE CASE 4

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.

Tech stack

ShellMarkdown

Getting it running

Difficulty · easy Time to first run · 5min

Installation runs a bundled shell script that creates symlinks in the agent's skill directory, works with Claude Code, Android Studio Agent, Gemini CLI, and Cursor.

The explanation does not mention a license for this project.

In plain English

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.

Copy-paste prompts

Prompt 1
I'm building an Android app with in-app subscriptions using RevenueCat. Walk me through setting up RTDN (Real-Time Developer Notifications) using the play-billing-skills recipes in my agent.
Prompt 2
My Android subscription app needs to handle the case where a user's payment fails and they enter an account hold. Which play-billing-skill covers this and what steps does it prescribe?
Prompt 3
I need to decide between integrating Google Play Billing directly or using the RevenueCat SDK. Use the comparison skill in play-billing-skills to explain the trade-offs for a solo developer.
Prompt 4
Help me set up the play-billing-skills symlinks in Claude Code on my machine so my agent can access all 45 recipes when I ask billing questions.
Open on GitHub → Explain another repo

← revenuecat on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.