engage-sdk-integration
하는 일
이 스킬은 Android 앱에 Google Play Engage SDK를 추가하는 방법을 안내합니다. 알맞은 버티컬과 엔티티를 고르고, 게시 코드를 작성하며, SDK 오류를 고치도록 돕습니다. 콘텐츠를 Google Play 추천 영역에 보이게 하려는 Android 개발자를 위한 스킬입니다.
사용하는 경우
- ✓Engage SDK로 앱 콘텐츠를 Google Play에 게시하고 싶을 때.
- ✓앱의 데이터 클래스를 해당 버티컬의 Engage 엔티티에 연결해야 할 때.
- ✓Engage SDK에서 오류가 나서 고쳐야 할 때.
스킬 링크
https://github.com/android/skills/blob/main/play/engage-sdk-integration/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“내 음식 앱에 Play Engage SDK를 연동해서 레시피를 Google Play에 게시할 수 있게 해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
이 스킬은 앱이 쓰는 버티컬과 클러스터를 먼저 묻고, 그에 맞는 스키마를 읽어 엔티티와 클라이언트 클래스를 확인합니다. 필요한 요청 구조를 갖춘 게시 코드를 작성하고 오류 디버깅을 돕습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
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:
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. If the integration is for TV, read the TV-specific sections in patterns.md as well.
- Use
{VERTICAL}.mdin the references/schemas/ directory to identify the corresponding Engage entities and theclientclass name. Theclientfield in the JSON provides the full class name. For example,com.google.android.engage.food.service.AppEngageFoodClient. - Note: Initializing the client class requires a
Contextparameter. For example,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}.mdin 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.
Generate structured boilerplate code:
- Create a new directory for all Engage-related code. Name the directory to match the naming convention of the existing codebase.
- Generate the following classes using templates in patterns.md:
Constants: holds constant values such as attempt counts and publish types.ItemToEntityConverter: converts the 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 fromEngagePublisher. Important : Implement both static registration and dynamic registration patterns, including the companion objectregistermethod inside theEngageBroadcastReceiverclass.
Suggest entity mapping:
- Ask the developer to provide their local model schema (for example, a data class or a JSON snippet).
- If they haven't provided one, share entities from
{VERTICAL}.mdin the references/schemas/ directory as a guide. - Once the local model is identified, suggest a mapping to the corresponding Engage entity.
- Generate the conversion logic using the
ItemToEntityConverterpattern in patterns.md and add it to the generated{ENGAGE_CODE_DIR}/ItemToEntityConverter.
Suggest data source:
- Ask the developer to provide the source of actual data you'll publish.
- Once you identify the data source, use it to fetch the data in the app's local model schema.
- Use
{ENGAGE_CODE_DIR}/ItemToEntityConverterto convert this data to an Engage entity. - Use obtained Engage entity model data with
{ENGAGE_CODE_DIR}/ ClusterRequestFactoryto get cluster requests. - Call corresponding cluster publishing method obtained from
{VERTICAL}.mdin the references/schemas/ directory with the obtained request in previous step in{ENGAGE_CODE_DIR}/EngageWorker.
Gradle and manifest updates:
- Suggest updates to
build.gradleandAndroidManifest.xml. - For mobile apps, use patterns.md.
- For TV apps, use the TV-specific sections in patterns.md.
- Provide the necessary
implementationdependencies forbuild.gradleorbuild.gradle.ktsfrom patterns.md. - Provide the
<receiver>and<service>declarations forAndroidManifest.xml. - Note: Except for TV, there aren't any vertical-specific imports. For all other verticals,
com.google.android.engage:engage-core:1.6.0is sufficient.
- Suggest updates to
Debugging and verification:
- **S
자주 묻는 질문
TV 앱도 다루나요?
네. 연동 대상이 TV라면 스킬이 TV 전용 안내도 함께 사용합니다.
먼저 질문을 하나요?
네. 앱이 어느 버티컬에 속하는지와 게시하려는 클러스터 유형을 묻습니다.
제 Google Play 계정이 필요한가요?
스킬은 코드에 집중합니다. 계정과 콘솔 설정은 스킬이 다루는 범위 밖입니다.
상세 정보
작성자의 원본 설명
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.
repo: android/skills
인기도
- GitHub 스타
- 10k
- 순위
- #11928
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 10. 29.
댓글
- …
이 저장소의 다른 스킬
agp-9-upgrade
10k에이전트가 Android 앱을 Android Gradle Plugin 9로 업그레이드하고 호환되지 않는 변경 사항을 처리하도록 돕습니다. 멀티플랫폼 프로젝트는 대상이 아닙니다.
camerax
10k에이전트가 CameraX로 동영상 녹화, 하드웨어 제어, ML Kit와 Media3 효과를 포함한 Android 카메라 기능을 만들도록 돕습니다.
android-for-cars-parked-apps
10k에이전트가 Android 동영상, 게임 또는 브라우저 앱을 Android Auto와 Android Automotive의 주차 중 앱으로 실행되도록 맞추는 것을 돕습니다.
appfunctions
10k에이전트가 Android 앱의 핵심 작업 흐름을 찾아, AI 에이전트와 음성 명령이 실행할 수 있는 AppFunctions로 노출하도록 돕습니다.
비슷한 스킬
android-clean-architecture
280k에이전트가 Android 프로젝트를 효율적으로 구성하도록 돕습니다. 유지보수와 새 기능 개발이 쉽도록 코드를 구조화합니다.
compose-multiplatform-patterns
280k에이전트가 KMP 프로젝트에서 Compose Multiplatform과 Jetpack Compose 패턴을 쓰도록 돕습니다. 상태, 내비게이션, 테마, 성능을 다룹니다.
dart-flutter-patterns
280kDart와 Flutter 앱용 코드를 작성하도록 에이전트를 돕습니다. 견고하고 관리하기 쉬운 앱을 만드는 현대적인 패턴을 씁니다.