/android-skills:engage-sdk-integrationfrom android-skills
Helps developers integrate, debug, and resolve Play Engage SDK implementation issues. Use when adding Engage SDK support, generating publishing code, mapping data classes to entities, or fixing SDK-related errors.
Ships in android-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This skill guides you through integrating the Play Engage SDK into an Android app. It ensures that the code follows the mandatory structure and uses the required Engage entities for each vertical.
Follow these steps to assist the developer:
Identify Vertical and Cluster:
{VERTICAL}.md in the references/schemas/ directory to identify the corresponding Engage entities and the client class name. The client field in the JSON provides the full class name. (e.g., com.google.android.engage.food.service.AppEngageFoodClient).Context parameter (e.g., AppEngageFoodClient(context)).{VERTICAL}.md in the references/schemas/ directory for the specified cluster. Each method will specify the request it expects.Generate Structured Boilerplate Code:
Constants: Holds constant values like attempt counts, publish types.ItemToEntityConverter: Converts app's local models to Engage's Entity models.ClusterRequestFactory: Constructs the publish requests.EngageWorker: Handles the actual publishing and publish errors using WorkManager.EngagePublisher: Orchestrates periodic and one-time jobs.EngageBroadcastReceiver: Listens for AppEngageService intents and starts a one-time publish job from EngagePublisher. Important : Implement both static registration and dynamic registration patterns, including the companion object register method inside the EngageBroadcastReceiver class.Suggest Entity Mapping:
{VERTICAL}.md in the references/schemas/ directory as a guide.ItemToEntityConverter pattern in patterns.md and add it to the generated {ENGAGE_CODE_DIR}/ItemToEntityConverterSuggest Data Source:
{ENGAGE_CODE_DIR}/ItemToEntityConverter to convert this data to Engage entity.{ENGAGE_CODE_DIR}/ ClusterRequestFactory to get cluster requests.{VERTICAL}.md in the references/schemas/ directory with the obtained request in previous step in {ENGAGE_CODE_DIR}/EngageWorker.Gradle and Manifest Updates:
build.gradle and AndroidManifest.xml.implementation dependencies for build.gradle or build.gradle.kts from patterns.md.<receiver> and <service> declarations for AndroidManifest.xml.Debugging:
com.google.android.engage or classes starting with AppEngage, verify the package name in the {VERTICAL}.md in references/schemas/ directory or common.md.User Checklist:
At the end of code generation, notify the user to go through this checklist
to verify that the integration is complete and as intended:
[ ] Verify that all the engage related files are created in
{ENGAGE_CODE_DIR}/:
Constants
ItemToEntityConverter
ClusterRequestFactory
EngageWorker
{cluster_type}Publisher
EngageBroadcastReceiver
[ ] Verify that app's local model is converted to Engage entity by populating
the fields correctly in the model in {ENGAGE_CODE_DIR}/ ItemToEntityConverter.
[ ] Verify that {ENGAGE_CODE_DIR}/EngageWorker uses the data source
identified in Step 4.
[ ] Verify that EngageBroadcastReceiver.register(context) is called within
the Application class or MainActivity to register the receiver
dynamically.
[ ] Verify that AndroidManifest.xml contains the static <receiver>
declaration for EngageBroadcastReceiver with the necessary intent actions.
Important : Explicitly instruct the developer to call EngageBroadcastReceiver.register(context) inside their custom Application class onCreate() (or their main activity onCreate()) to dynamically register the receiver. Stress that both static and dynamic registrations are required for the integration to function.
FAQ: Engage FAQ - Refer to this document for answers to frequently asked questions from developers.
Vertical-Specific Guides:
Vertical-Specific Schemas:
references/android/guide/playcore/engage/faq.md (opens in a new tab)references/android/guide/playcore/engage/food.md (opens in a new tab)references/android/guide/playcore/engage/healthandfitness.md (opens in a new tab)references/android/guide/playcore/engage/listen.md (opens in a new tab)references/android/guide/playcore/engage/otherverticals.md (opens in a new tab)references/android/guide/playcore/engage/read.md (opens in a new tab)references/android/guide/playcore/engage/shopping.md (opens in a new tab)references/android/guide/playcore/engage/social.md (opens in a new tab)references/android/guide/playcore/engage/travel.md (opens in a new tab)references/android/guide/playcore/engage/tv/continue-watching/index.md (opens in a new tab)references/android/guide/playcore/engage/tv/entitlements.md (opens in a new tab)references/android/guide/playcore/engage/tv/getting-started.md (opens in a new tab)references/android/guide/playcore/engage/tv/recommendations.md (opens in a new tab)references/android/guide/playcore/engage/watch.md (opens in a new tab)references/clusters.md (opens in a new tab)references/common.md (opens in a new tab)references/patterns.md (opens in a new tab)references/requests.md (opens in a new tab)references/schemas/food.md (opens in a new tab)references/schemas/listen.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub rushyop/rushy-claude-plugins --plugin android-skills18 skills in this plugin
/adaptiveInstructions to make or update an app's UI so that it adapts to different Android devices including phones, tablets, foldables, laptops, desktop, TV, Auto and XR. It includes how to handle different window sizes, pointing devices (such as mouse) and text entry devices (such as keyboard) using the Compose MediaQuery API. It also covers multi-pane layouts using Navigation3 Scenes, adaptive UI components (such as buttons) with varying target sizes, and adaptive layouts (including navigation areas - nav rails and nav bars) using the Compose Grid and FlexBox APIs./agp-9-upgradeUpgrades, or migrates, an Android project to use Android Gradle Plugin (AGP) version 9. Do not use this skill for migrating Kotlin Multiplatform (KMP) projects./Other plugins' skills for the same job