Purchasely AI Plugin

Install and use the Purchasely AI Plugin to implement, review, debug and migrate your SDK integration

🚀

The fastest way to integrate Purchasely

Install 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.

CapabilityUse it for
purchasely-integrate / /purchasely:integrateImplement the SDK from scratch: install dependencies, initialize the SDK, display paywalls, configure deeplinks and set up transaction handling
purchasely-review / /purchasely:reviewScan an existing integration and report missing setup, deprecated APIs, risky patterns and recommended fixes
purchasely-debug / /purchasely:debugInvestigate common issues such as blank paywalls, screens closing unexpectedly, purchase failures, deeplink problems or synchronization errors
purchasely-migrate / /purchasely:migrateUpgrade an existing integration to a newer SDK version, including the v5 to v6 builder APIs
purchasely-sdk-expertAsk SDK questions and get platform-specific implementation guidance
purchasely-cliRead 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-Plugin

Claude Code gets the full plugin experience, including slash commands, skills, hooks, references and the 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 cordova

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:review

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:migrate

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 install

The CLI needs a Management API key. See the CLI page for the prerequisites.


Did this page help you?