Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

EncoreKit — Claude Code Plugins

Official Claude Code plugins for integrating EncoreKit — the retention-offer SDK that converts users who dismiss your paywall.

Plugins

Plugin Description
integrate-encore Walks Claude through a full SDK integration: detects your platform (iOS / Android / Flutter / React Native / KMP / Web), installs the SDK, wires your subscription manager (RevenueCat / Superwall / Adapty / Qonversion / StoreKit / Play Billing), hooks paywall dismissal, offers a Reward Users moment where the platform supports it, and commits behind a safe git workflow with a diff-review gate.

Install

In Claude Code, add this repo as a plugin marketplace:

/plugin marketplace add EncoreKit/claude

Testing an unpublished local change instead: point at the local path.

/plugin marketplace add /path/to/your/local/claude

Then install the plugin:

/plugin install integrate-encore@encorekit

That's it. Now, in any project, run:

/integrate-encore

Claude will detect your stack, ask a few questions (API key, subscription manager, target paywall), and land a minimal-diff integration on a dedicated branch for your review.

Updating

/plugin marketplace update encorekit
/plugin update integrate-encore

What the integration does

  1. Git safety: creates an encore-integration branch, refuses destructive git commands, commits only after you approve the diff, prints (but does not run) the push command.
  2. Platform detection: confirms your framework before touching anything, then reads that platform's own file for the rest of the walkthrough.
  3. SDK install: adds the dependency via SPM / Maven / pub / npm / Gradle.
  4. Configure: asks for your real pk_live_ / pk_test_ API key (no placeholders).
  5. Subscription manager wiring: detects RevenueCat, Superwall, Adapty, Qonversion, StoreKit, Play Billing, or react-native-iap and wires onPurchaseRequest with real code. Not applicable on Web.
  6. Paywall dismissal hook: finds your close/back handler and fires Encore.placement(...).show() with reentrancy + lifecycle guards.
  7. Reward Users moment (optional): asks whether to also wire a post-action-reward moment, and only writes the code where the platform actually supports it today (iOS, Android, Web); tells you plainly when it doesn't (React Native, Flutter, Kotlin Multiplatform).
  8. Verify & commit: runs the platform build/analyze, shows you the diff, waits for approval, stages files explicitly, commits on the integration branch.

The full skill definition is split by platform: plugins/integrate-encore/SKILL.md is the router (git safety, detection, verify/commit); each platform's install-through-checklist walkthrough lives in plugins/integrate-encore/platforms/. It's a plugin-root skill with disable-model-invocation: true, so /integrate-encore only ever runs when you type it; Claude never loads it on its own.

License

MIT

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors