developer-device-platform-basics
Что он делает
Скилл помогает разработчикам брать в аренду удалённые тестовые устройства Android с Developer Device Platform от Google. Он нужен командам приложений, которым нужны настоящие устройства без покупки.
Когда использовать
- ✓Когда вам нужно забронировать удалённое устройство Android для тестирования.
- ✓Когда вы хотите проверить статус сеанса устройства или подключиться к нему через туннель.
- ✓Когда нужно продлить или отменить аренду устройства.
Ссылка на скилл
https://github.com/google/skills/blob/main/skills/cloud/developer-device-platform-basics/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Забронируй удалённое устройство 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
.mdfiles.
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.).
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-browserEnable 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.
Enable gcloud beta component:
gcloud components install betaSetup 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)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:
List Models: Run the following command to list available Android device models:
gcloud beta device-run devices listUse the
IDcolumn to find the value for theCATALOG_IDparameter to describe a specific device (e.g.,shiba-36).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:
Check Device Availability:
Look up
CATALOG_IDof the device usingListing Available Devicesinstructions. Check the device availability of theCATALOG_IDby 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_VERSIONwas 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_VERSIONis unavailable fordeviceStreaming, do not reserve one. Prompt the user for an alternativeOS_VERSION.Extract Parameters:
model_id:modelCodefrom device details. Required.version_id:osVersionfrom device details. Required.
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 сейчас находится в превью.
Он охватывает iPhone?
Нет. Он предназначен для устройств Android, а не для iOS или локального оборудования.
Нужен ли 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
- Обновлён
- 02.11.2026
Комментарии
- …
Другие скиллы из этого репозитория
finding-google-skills
22kПомогает агенту найти нужные руководства Google для задач настройки, например хостинга, баз данных, хранилища, входа или запуска ИИ-моделей.
gcloud
22kПомогает агенту писать и проверять команды gcloud для Google Cloud, сверяя синтаксис с официальной справкой перед запуском, чтобы не угадывать флаги.
google-cloud-recipe-auth
22kВедёт агента через настройку идентификации и доступа в Google Cloud: как люди и сервисы входят в систему и какие права они получают.
google-cloud-recipe-onboarding
22kВедёт нового разработчика через первые шаги в Google Cloud: выбор проекта, подключение оплаты и развёртывание первого ресурса.
Похожие скиллы
test-driven-development
311kУчит агента сначала писать падающий тест, увидеть, что он падает, и только затем писать минимальный код, который его проходит, прежде чем создавать любую функцию или исправление.
verification-before-completion
311kУчит агента запускать настоящие проверки и читать их вывод, прежде чем утверждать, что задача, исправление или сборка готовы или проходят.
migrate-to-shoehorn
310kЗаменяет рискованные приведения типов в тестовых файлах на библиотеку shoehorn, чтобы тесты могли использовать неполные данные и проходить проверку типов.