Purchasely AI Plugin
Install and use the Purchasely AI Plugin to implement, review, debug and migrate your SDK integration
The fastest way to integrate PurchaselyInstall the plugin in your AI coding assistant before you start the integration. The assistant then installs the SDK, starts it, displays your first paywall and configures transaction handling in your codebase. It follows the Purchasely recommendations for your platform, so you spend less time in the documentation and make fewer integration mistakes.
Full description, capabilities and changelog on Github
The Purchasely AI Plugin helps AI coding assistants understand Purchasely SDK integrations across iOS, Android, React Native, Flutter and Cordova. It gives your assistant Purchasely-specific playbooks, references and commands so it can implement the SDK, review an existing integration, debug common issues and migrate older SDK code.
Use it when you want to:
- implement Purchasely in a new app
- check whether an existing integration follows the recommended setup
- debug paywall display, purchase, deeplink or synchronization issues
- migrate an app from SDK v5 to SDK v6
- ask detailed SDK questions inside your coding assistant
The plugin is updated for every new SDK version. It is also updated between SDK releases when new integration topics, edge cases or questions come up with the Purchasely team, so the AI assistant can reference newer guidance faster than a full documentation cycle.
What the plugin includes
The complete Claude Code plugin includes slash commands, skills, hooks, references and a Purchasely SDK expert agent. Other AI coding tools can install the portable skills and use the same implementation playbooks.
| Capability | Use it for |
|---|---|
purchasely-integrate / /purchasely:integrate | Implement the SDK from scratch: install dependencies, initialize the SDK, display paywalls, configure deeplinks and set up transaction handling |
purchasely-review / /purchasely:review | Scan an existing integration and report missing setup, deprecated APIs, risky patterns and recommended fixes |
purchasely-debug / /purchasely:debug | Investigate common issues such as blank paywalls, screens closing unexpectedly, purchase failures, deeplink problems or synchronization errors |
purchasely-migrate / /purchasely:migrate | Upgrade an existing integration to a newer SDK version, including the v5 to v6 builder APIs |
purchasely-sdk-expert | Ask SDK questions and get platform-specific implementation guidance |
purchasely-cli | Read the real placements, products, plans, campaigns and custom events of your account with the Purchasely CLI, so the code uses your real identifiers |
Install it
Pick the installation path that matches your AI coding tool.
/plugin marketplace add Purchasely/Purchasely-AI-Plugin
/plugin install purchasely@Purchasely-AI-PluginClaude Code gets the full plugin experience, including slash commands, skills, hooks, references and the SDK expert agent.
codex plugin marketplace add Purchasely/Purchasely-AI-PluginThen open /plugins, search for purchasely, and install the plugin.
npx skills add Purchasely/Purchasely-AI-PluginThis installs the portable Purchasely skills for AI assistants that support skills. It does not install Claude-only slash commands, hooks or the Claude SDK expert agent.
Use it for a new implementation
After installing the plugin, ask your AI assistant to implement Purchasely for your platform and point it at the app module where the SDK should be installed.
/purchasely:integrate ios
/purchasely:integrate android
/purchasely:integrate react-native
/purchasely:integrate flutter
/purchasely:integrate cordovaUse the purchasely-integrate skill to implement Purchasely in this app.
Start by detecting the platform, then install the SDK, initialize it,
display a first paywall and list anything I still need to configure
in the Purchasely Console.The assistant should inspect your project before editing it, follow the platform guide, and verify the resulting integration where possible.
Use it to review an integration
Use the review skill once the SDK is implemented, before shipping to production or before asking Purchasely Support to investigate an issue.
/purchasely:reviewUse the purchasely-review skill to check this Purchasely integration.
Verify SDK initialization, running mode, deeplink handling, paywall display,
transaction handling, user identification and any deprecated APIs.The review does not replace real sandbox testing, but it catches many implementation mistakes before you test purchases on a device.
Use it to migrate to SDK v6
For SDK upgrades, ask the assistant to run the migration skill on the files that initialize Purchasely, display paywalls, preload presentations or intercept paywall actions.
/purchasely:migrateUse the purchasely-migrate skill to migrate this app to Purchasely SDK v6.
Focus on SDK start, presentation builder usage, preload/display flows,
action interception, deeplink renames and default running mode changes.For the full v5 to v6 checklist, also read the SDK 5 to 6 migration guide.
Use it with the Purchasely MCP server
The plugin gives your assistant the integration playbooks. The Purchasely MCP server gives it access to the Purchasely API and documentation. Use both for the best results.
Use it with the Purchasely CLI
The Purchasely CLI (beta) gives your assistant read access to your Purchasely account through the Management API. With the CLI, the plugin uses the real placements, products, plans and custom events of your app, not example values.
The CLI can also install the plugin. This command installs it in the coding agents that it finds on your computer:
purchasely ai installThe CLI needs a Management API key. See the CLI page for the prerequisites.
Updated 3 days ago

