본문으로 건너뛰기
Skillpedia
테스트22k · #10254

developer-device-platform-basics

하는 일

이 스킬은 개발자가 Google의 Developer Device Platform에서 테스트용 원격 Android 기기를 빌리도록 돕습니다. 기기를 직접 소유하지 않고 실제 기기가 필요한 앱 팀을 위한 스킬입니다.

사용하는 경우

  • ✓테스트를 위해 원격 Android 기기를 예약해야 할 때.
  • ✓기기 세션의 상태를 확인하거나 터널을 통해 연결해야 할 때.
  • ✓기기 임대 기간을 연장하거나 취소하고 싶을 때.

스킬 링크

https://github.com/google/skills/blob/main/skills/cloud/developer-device-platform-basics/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/google/skills/blob/main/skills/cloud/developer-device-platform-basics/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“앱을 테스트할 수 있도록 원격 Android 기기를 한 시간 동안 예약하고, 연결하는 방법을 보여 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

참조 파일에 있는 정확한 API 단계와 curl 명령을 따라 기기 세션을 예약, 확인, 연장 또는 취소합니다. 어떤 요청을 보내기 전에 gcloud CLI가 설정되어 있는지도 확인합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Developer Device Platform

Developer Device Platform (DDP) is a Google fully managed, global infrastructure providing access to a wide variety of physical and virtual devices.

[!WARNING] Developer Device Platform (DDP) is currently at Preview.

[!IMPORTANT] For all devicerun and devicestreaming API operations (reserving, status checking, stopping/canceling, updating, or listing a session), always verify and use the exact instructions and curl commands provided in the linked reference .md files.

Attribution

MUST READ: Before executing any gcloud, REST API, or MCP command, you MUST read Usage Attribution. For commands executed directly in the terminal (never in generated scripts, Terraform, or user code), prefix gcloud with CLOUDSDK_METRICS_REQUEST_ATTRIBUTION="agent-skills/1.0 (skill:developer-device-platform-basics)" and append agent-skills/1.0 (skill:developer-device-platform-basics) to User-Agent headers.

Authentication & Setup

CRITICAL: Before running any requests, you MUST ensure the environment is correctly initialized by following these steps:

Before running any requests, verify if the gcloud executable is present. If missing, refer to the official Google Cloud CLI Installation Guide to install it on the current platform (Linux, macOS, Windows, etc.).

  1. Google Cloud Authentication: Authenticate with your Google Cloud credentials and configure active Application Default Credentials (ADC) for the Developer Device Platform:

    gcloud auth login --no-browser
    gcloud auth application-default login --no-browser
    
  2. Enable APIs (if not already enabled):

    gcloud services enable devicerun.googleapis.com devicestreaming.googleapis.com testing.googleapis.com --quiet
    

[!NOTE] Cloud Testing API is needed for Device Streaming API during Preview.

  1. Enable gcloud beta component:

    gcloud components install beta
    
  2. Setup Environment Variables: Set up the required project variable and access token:

    export PROJECT_ID=$(gcloud config get project)
    export ACCESS_TOKEN=$(gcloud auth application-default print-access-token 2>/dev/null)
    
  3. Python Environment: For instructions on setting up the python virtual environment, see [start_adb_forwarder.md].

Listing Available Devices

To find the correct modelCode and osVersion to use when starting a session, you can list the available devices:

  1. List Models: Run the following command to list available Android device models:

    gcloud beta device-run devices list
    

    Use the ID column to find the value for the CATALOG_ID parameter to describe a specific device (e.g., shiba-36).

  2. Describe a Model: Run the API request to get more details about a specific model (e.g., supportedProducts, resolution). Always rely on the exact curl command and instructions provided in [describe_device.md].

Starting a Device Session

When the user asks to reserve or connect to a device:

  1. Check Device Availability:

    Look up CATALOG_ID of the device using Listing Available Devices instructions. Check the device availability of the CATALOG_ID by using the exact curl command and instructions provided in [describe_device.md]. The device MUST contain "deviceStreaming" in "supportedProducts" to be reserved.

    If no specific device is specified, use CATALOG_ID=shiba-34 (Pixel 8 on SDK 34).

    If OS_VERSION was not specified by the user, ask the user to select a version from the device list (preferring the version with the highest availability {"available": "AVAILABILITY_HIGH" }).

    If OS_VERSION is unavailable for deviceStreaming, do not reserve one. Prompt the user for an alternative OS_VERSION.

  2. Extract Parameters:

    • model_id: modelCode from device details. Required.
    • version_id: osVersion from device details. Required.
  3. Reserve Device:

    Rule: Explicit User Confirmation Required. Reserving a device incurs billing charges and creates cloud resources. The agent MUST ALWAYS warn the user explicitly about the billing costs that will be incurred on the active Google Cloud project (e.g., ${PROJECT_ID}). You MUST STOP and ask for explicit approval be

자주 묻는 질문

이 플랫폼은 정식 출시되었나요?

아닙니다. 스킬에 따르면 Developer Device Platform은 현재 Preview 단계입니다.

iPhone도 지원하나요?

아닙니다. iOS나 로컬 하드웨어가 아니라 Android 기기를 위한 것입니다.

Google Cloud CLI가 필요한가요?

네. 먼저 gcloud가 있는지 확인하고, 없으면 설치를 도와줍니다.

상세 정보

작성자의 원본 설명

Provides guidance and instructions on managing remote devices on Developer Device Platform (DDP). Use when reserving remote Android devices, establishing connection tunnels, checking session status, or extending/cancelling leases. Don't use for iOS or local device/hardware inquiries.

repo: google/skills

인기도

GitHub 스타
22k
순위
#10254
라이선스
Apache-2.0
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬