スキル一覧に戻る
powdream

list-devices

by powdream

Claude Code plugins to boost your development workflow

0🍴 0📅 2026年1月21日
GitHubで見るManusで実行

SKILL.md


name: list-devices description: List connected Android devices and emulators. Use when you need to check available devices for deployment or debugging.

List Devices

Display connected Android devices and emulators using adb.

Instructions

Script location: scripts/list-devices.sh (relative to this skill's directory)

Before running, locate this skill's directory (where this SKILL.md is located), then execute:

bash <skill-directory>/scripts/list-devices.sh

The script outputs JSON with device details.

JSON Output Schema

Success

{
  "success": true,
  "count": 2,
  "devices": [
    {
      "serial": "emulator-5554",
      "type": "emulator",
      "model": "sdk_gphone64_arm64",
      "api": "33",
      "status": "device"
    },
    {
      "serial": "RF8M33XXXXX",
      "type": "physical",
      "model": "SM-G998N",
      "api": "31",
      "status": "device"
    }
  ]
}

Failure

{
  "success": false,
  "error": "adb not found",
  "hint": "Set ANDROID_HOME or ANDROID_SDK_ROOT environment variable",
  "devices": []
}

Formatting the Output

Success (success: true)

Format the JSON output as a table:

Connected Devices (2):

  SERIAL            TYPE       MODEL              API    STATUS
  --------------------------------------------------------------
  emulator-5554     emulator   sdk_gphone64_arm64 33     device
  RF8M33XXXXX       physical   SM-G998N           31     device
  • Show empty fields as "-"
  • If count is 0, show "No devices connected."

Failure (success: false)

Show the error message and hint to the user:

Error: adb not found
Hint: Set ANDROID_HOME or ANDROID_SDK_ROOT environment variable

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です