play-billing-library-version-upgrade
Use this skill when upgrading or migrating an Android project from any legacy Google Play Billing Library (PBL) version to the latest stable version of PBL.
Install
With your agent
Install OMGSkills skill "android/skills:play-billing-library-version-upgrade" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.
Manual command
git clone https://github.com/android/skills /tmp/skills && ln -s /tmp/skills/play/play-billing-library-version-upgrade ~/.claude/skills/play-billing-library-version-upgrade
From README
Phase 0: Intent Message Reporting Action: Before proceeding, immediately tell the user: "I will upgrade Play Billing Library to the latest version." Phase 1: Discovery \& Situational Awareness Primary Check (Build Version) : Locate the project's billing dependency (e.g., com.android.billingclient:billing) in build.gradle, build.gradle.kts, or libs.versions.toml. Initial Compilation Test: Attempt to sync and build the project immediately. Fallback Discovery (Effective Version) : Trigger: Only if the build fails immediately, scan the source code for deprecated artifacts. Logic : The presence of deprecated APIs indicates the "Effective Version" ---defined as the version where those specific APIs were last available, not when they were introduced. Example : If SkuDetails is present, treat the baseline as PBL v7 or earlier (regardless of the version string in build.gradle).
