engage-sdk-integration

Installation
SKILL.md

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.

Workflow

Follow these steps to assist the developer:

  1. Identify Vertical and Cluster:

    • Ask the developer which vertical their app belongs to based on references/schemas/.
    • Check if the integration is for TV or Mobile. Read the TV-specific sections in patterns.md as well if the integration is for TV.
    • Use {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).
    • Note: Initializing the client class requires a Context parameter (e.g., AppEngageFoodClient(context)).
    • Always refer to common.md for common entities.
    • Ask which cluster type they want to publish from the supported cluster types for that vertical.
    • Find the method to call from {VERTICAL}.md in the references/schemas/ directory for the specified cluster. Each method will specify the request it expects.
    • Get the request structure from requests.md and clusters from clusters.md. Then suggest and use sources to fill the fields in the request structure correctly, along with the required entities and clusters.
  2. Generate Structured Boilerplate Code:

Related skills
Installs
2
Repository
android/skills
GitHub Stars
4.9K
First Seen
1 day ago