
In app purchases
Sells a one-time Premium unlock through the App Store and Google Play
In app purchases is an open-source agent skill for finance and payments. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- JavaScript, Ruby, Swift, TypeScript
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 16
- Last commit
- License
- MIT
- Listing updated
Similar skills
About In app purchases
This skill gives an agent a complete in-app purchase flow for one non-consumable Premium unlock in a React Native app built with expo-iap. It covers a paywall with every state it can show, saving the entitlement on the device before a transaction is finished, restore, and revoking Premium only when the store gives explicit dated evidence of a refund. It works without a server by default, and server-side verification is only added when the developer opts in through a contract.
The skill ships templates for the purchase port, the expo-iap adapter, the premium and paywall stores, an entitlements table and tests, plus two Node checkers that run the app's purchase modules against a scripted expo-iap stand-in and report PASS or FAIL. A StoreKit harness with Maestro flows and App Store Connect scripts is included for testing and console setup, and the skill asks the developer for pricing and Family Sharing decisions rather than guessing them.
It expects a React Native project using Expo, Zustand and a SQLite data layer, and it depends on several companion skills for result types, connectivity, screens, localisation and end-to-end tests. Store console steps such as agreements, tax, banking and submissions are left to a human.
When your agent uses it
Sells a Premium unlock with expo-iap behind a PurchasePort - saved entitlement, paywall states, restore, refunds, store testing. Use when touching IAP, buy, restore, paywall or Premium state. Not for ads (admob-ads-and-consent).
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Runs JavaScript, Ruby, Swift and TypeScript scripts(see the files on GitHub)
- Network calls found in its scripts(see the files on GitHub)
- License: MIT(see the files on GitHub)
From a static check of its 124 files (579 KB) on GitHub on 5 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the react-native plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add zakariaf/ReactNative-Skills
/plugin install react-native@react-native-skillsOr copy only this skill to ~/.claude/skills/in-app-purchases:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/in-app-purchases &&
cp -R "$tmp/skills/in-app-purchases" ~/.claude/skills/in-app-purchases &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/in-app-purchases inside it instead.
Copy the skill folder to ~/.agents/skills/in-app-purchases to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/in-app-purchases &&
cp -R "$tmp/skills/in-app-purchases" ~/.agents/skills/in-app-purchases &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/in-app-purchases inside it instead.
Copy the skill folder to ~/.cursor/skills/in-app-purchases to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/in-app-purchases &&
cp -R "$tmp/skills/in-app-purchases" ~/.cursor/skills/in-app-purchases &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/in-app-purchases inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/zakariaf/ReactNative-Skills.git --path skills/in-app-purchasesOr copy the folder to ~/.gemini/skills/in-app-purchases yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/in-app-purchases:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/in-app-purchases &&
cp -R "$tmp/skills/in-app-purchases" ~/.copilot/skills/in-app-purchases &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/in-app-purchases inside it instead.
Get the folder:
git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.gitThen copy ReactNative-Skills/skills/in-app-purchases into your agent's skills folder as in-app-purchases. Agents that support SKILL.md read one folder per skill.
What it does
- Safe purchase ordering
- Saves Premium on the device before finishing each transaction, so an unsaved purchase is not lost.
- Evidence-based revocation
- Removes Premium only when a verified transaction carries a dated revocation, never on a missing or failed read.
- Restore handling
- Distinguishes a failed restore sync from a successful one with nothing to restore.
- Paywall states
- Defines every paywall state with its view, test identifier and reducer case.
- Store price display
- Shows the store's own localised price text and never types or rebuilds prices in code.
- Purchase checkers
- Static and behavioural Node scripts verify the purchase rules and the expo-iap pin.
- StoreKit test harness
- Maestro flows and a StoreKit configuration for testing purchases on a simulator.
Good for
- Add a one-time Premium unlock to an Expo app
- Build a paywall screen with restore and pending-approval states
- Handle refunds and revoke Premium only on dated store evidence
- Set up a StoreKit test configuration for simulator purchase tests
- Check that the app's purchase code follows the save-then-finish order
In app purchases FAQ
Which libraries does In app purchases depend on?
It pins expo-iap at version 5.8.0 and expects a React Native app with Expo, Zustand state, and a SQLite entitlements table.
Does In app purchases need a backend server?
No. The default setup verifies purchases on the device. Server verification is only added when the developer opts in through the contract file.
Does In app purchases trigger automatically?
It is meant for tasks touching in-app purchases, buy or restore actions, paywalls or Premium state. It is not for ads, which are covered by a separate skill.
Which AI clients does In app purchases support?
The content does not tie it to specific clients, so it follows the shared agent skills format across the listed clients.
How do I install In app purchases in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/in-app-purchases to use it in all your projects, or to .claude/skills/in-app-purchases in one project. Or install the react-native plugin, which includes it: /plugin marketplace add zakariaf/ReactNative-Skills, then /plugin install react-native@react-native-skills.
Does In app purchases run scripts?
Yes. It runs JavaScript, Ruby, Swift and TypeScript scripts. Its scripts contain network calls. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use In app purchases?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to In app purchases?
The closest alternatives to In app purchases are Paywall optimization, Paywalls, Axiom payments, Monetization strategy and Web to app funnel.
Where this comes from
- Description: from the skill's own SKILL.md.
More from zakariaf/ReactNative-Skills

Turns canvas taps, swipes and drags into typed intents hit-tested on the drawn layout
- Open source
- 16 GitHub stars
- Developer tools

Adds a gated debug menu, debug deep link and simulated clock and offline mode to React
- Open source
- 16 GitHub stars
- Developer tools

Checks React Native code for accessibility labels, touch targets, text scaling
- Open source
- 16 GitHub stars
- Developer tools

Walks an Expo app through an SDK, Xcode or Android toolchain upgrade in one commit
- Open source
- 16 GitHub stars
- Developer tools

Builds React Native forms with one valibot schema, catalog-key errors and keyboard-aware
- Open source
- 16 GitHub stars
- Developer tools

Headless seeded bot sims that measure and tune difficulty in React Native games
- Open source
- 16 GitHub stars
- Developer tools





