Communityコーディング&開発github.com

ドッグフーディング(agent-device)

iOS/Androidモバイルアプリをagent-deviceで体系的に探索・テストし、バグやUX問題を検出します。「ドッグフード」「QA」「探索的テスト」「問題発見」「バグハント」「アプリのテスト」などの依頼に応じて使用します。証拠付きの再現可能なレポート(スクリーンショット、オプションで再現動画、各問題の詳細手順)を生成します。

ドッグフーディング(agent-device) とは?

このスキルは、モバイルアプリの探索的テスト(ドッグフーディング)を自動化し、バグやUXの問題を体系的に発見・報告するためのAIエージェント用スキルです。iOSとAndroidの両プラットフォームをサポートし、agent-deviceツールを使用してアプリを操作します。ユーザーが「このアプリをテストして」などの依頼をすると、スキルは自動でセッションを初期化し、アプリを起動し、認証(必要な場合)を行った上で、主要な画面遷移や機能フローを網羅的に探索します。問題を発見すると、スクリーンショットや再現動画とともに詳細な手順を即座にレポートに記録します。最終的には5〜10件の証拠がしっかりした問題をまとめた構造化レポートを出力します。このスキルは、品質保証(QA)プロセスを効率化し、人間のテスターでは見逃しがちなエッジケースや状態遷移の問題を発見するのに役立ちます。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/callstackincubator/agent-skills/tree/main/plugins/vendored/.agents/skills/dogfood

Installed? Explore more コーディング&開発 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

ドッグフーディング(agent-device) は何をしますか?

モバイルアプリを体系的に探索し、問題を発見し、すべての発見に対して完全な再現証拠を含むレポートを生成します。

セットアップ

必要なのは対象アプリのみです。その他はすべて適切なデフォルト値が設定されています。

パラメータデフォルト値オーバーライド例
対象アプリ(必須)Settings、com.example.app、ディープリンクURL
プラットフォームユーザーコンテキストから推測、不明な場合は確認(ios または android)--platform ios
セッション名アプリ/プラットフォームをスラグ化(例:settings-ios)--session my-session
出力ディレクトリ./dogfood-output/Output directory: /tmp/mobile-qa
スコープアプリ全体Focus on onboarding and profile
認証なしSign in to [email protected]

ユーザーが開始に十分なコンテキストを提供している場合は、デフォルトで即座に開始します。必要な詳細(プラットフォームや認証情報など)が不足している場合のみ、フォローアップの質問を行います。

利用可能な場合は、直接 agent-device バイナリを使用することを推奨します。

ワークフロー

1. 初期化      セッション、出力ディレクトリ、レポートファイルを設定
2. 起動/認証  アプリを開き、必要ならサインイン
3. 状況把握   初期スナップショットを取得し、ナビゲーションをマッピング
4. 探索       フローと状態を体系的にテスト
5. ドキュメント 問題ごとに再現可能な証拠を記録
6. 終了処理   サマリーを調整し、セッションを閉じる

1. 初期化

mkdir -p {OUTPUT_DIR}/screenshots {OUTPUT_DIR}/videos
cp {SKILL_DIR}/templates/dogfood-report-template.md {OUTPUT_DIR}/report.md

2. 起動/認証

名前付きセッションを開始し、対象アプリを起動します:

agent-device --session {SESSION} open {TARGET_APP} --platform {PLATFORM}
agent-device --session {SESSION} snapshot -i

ログインが必要な場合:

agent-device --session {SESSION} snapshot -i
agent-device --session {SESSION} fill @e1 "{EMAIL}"
agent-device --session {SESSION} fill @e2 "{PASSWORD}"
agent-device --session {SESSION} press @e3
agent-device --session {SESSION} wait 1000
agent-device --session {SESSION} snapshot -i

OTP/メール認証コードの場合:ユーザーに確認し、入力待ちしてから続行します。

3. 状況把握

初回証拠とナビゲーションのアンカーを取得します:

agent-device --session {SESSION} screenshot {OUTPUT_DIR}/screenshots/initial.png
agent-device --session {SESSION} snapshot -i

詳細テストの前に、トップレベルのナビゲーション、タブ、主要ワークフローをマッピングします。

4. 探索

references/issue-taxonomy.md を参照し、重要度/カテゴリの基準を確認してください。

戦略:

  • 各主要アプリエリア(タブ、ドロワー、設定ページ)を移動します。
  • コアとなるジャーニーをエンドツーエンドでテストします(作成、編集、削除、送信、復元)。
  • エッジ状態(空/エラー/ローディング/オフライン/権限拒否)を検証します。
  • UI遷移後は diff snapshot -i を使用して、古い参照を避けます。
  • 動作が不審な場合は定期的に logs path をキャプチャし、アプログを検査します。

画面ごとに便利なコマンド:

agent-device --session {SESSION} snapshot -i
agent-device --session {SESSION} screenshot {OUTPUT_DIR}/screenshots/{screen-name}.png
agent-device --session {SESSION} appstate
agent-device --session {SESSION} logs path

5. 問題のドキュメント(再現優先)

探索とドキュメントを一度に行います。問題を見つけたら、証拠を完全にキャプチャしてから続行します。

インタラクティブ/動作の問題

動画+手順スクリーンショットを使用します:

  1. 録画開始:
agent-device --session {SESSION} record start {OUTPUT_DIR}/videos/issue-{NNN}-repro.mp4
  1. 目に見えるペースで再現します。各ステップをキャプチャします:
agent-device --session {SESSION} screenshot {OUTPUT_DIR}/screenshots/issue-{NNN}-step-1.png
sleep 1
# アクションを実行
sleep 1
agent-device --session {SESSION} screenshot {OUTPUT_DIR}/screenshots/issue-{NNN}-step-2.png
  1. 最終的な破損状態をキャプチャ:
sleep 2
agent-device --session {SESSION} screenshot {OUTPUT_DIR}/screenshots/issue-{NNN}-result.png
  1. 録画停止:
agent-device --session {SESSION} record stop
  1. 問題をすぐにレポートに追加します。番号付きの手順とスクリーンショット参照を含めます。

静的/ロード時の問題

スクリーンショット1枚で十分です。動画は不要です:

agent-device --session {SESSION} screenshot {OUTPUT_DIR}/screenshots/issue-{NNN}.png

レポートの 再現動画 を N/A に設定します。

6. 終了処理

証拠がしっかりした5〜10件の問題を目標とし、その後終了します:

  1. report.md のサマリーの重要度カウントを調整します。
  2. セッションを閉じます:
agent-device --session {SESSION} close
  1. 問題の総数、重要度の内訳、最もリスクの高い発見事項を報告します。

ガイダンス

  • 問題数よりも再現品質が重要です。
  • 高速な探索には参照(@eN)を使用し、決定論的な再現アサーションが必要な場合にはセレクタを使用します。
  • 変更(ナビゲーション、モーダル、リスト更新、フォーム送信)の後は必ずスナップショットを取り直します。
  • クリアしてからタイプする動作には fill を使用し、インクリメンタルなタイピング動作の確認には type を使用します。
  • ログはオプションかつ目的に応じて使用します:診断に役立つ場合のみログを有効化/読み取りを行います。
  • テスト対象アプリのソースコードは絶対に読みません。発見事項はすべて観察された実行時動作に基づく必要があります。
  • 証拠を失わないよう、各問題はすぐに記述します。
  • セッション中にスクリーンショット、動画、レポートアーティファクトを決して削除しないでください。

参照資料

参照読むタイミング
references/issue-taxonomy.mdセッション開始時、重要度/カテゴリ/チェックリストの確認

テンプレート

テンプレート目的
templates/dogfood-report-template.md出力ディレクトリにレポートファイルとしてコピー

Individual skills in this repo

This repo contains 15 individual skills — each has its own dedicated page.

agent-device

Automates interactions for Apple-platform apps (iOS, tvOS, macOS) and Android devices. Use when navigating apps, taking snapshots/screenshots, tapping, typing, scrolling, or extracting UI info across mobile, TV, and desktop targets.

assess-react-native-migration

Assesses whether and how an existing mobile product should migrate to React Native. Use when auditing one or more product repositories for migration readiness, including products whose iOS, Android, and other clients live in separate directories or repositories; choosing brownfield, greenfield, or a checkpoint-based path; defining a representative trial; or preparing a baseline and ROI decision before implementation. When product scope or material evidence is unavailable, grills the stakeholder with exactly one question per turn instead of sending a questionnaire.

callstackincubator/github

GitHub patterns using gh CLI for pull requests, stacked PRs, code review, branching strategies, and repository automation. Use when working with GitHub PRs, merging strategies, or repository management tasks.

callstackincubator/validate-skills

Validates skills in this repo against agentskills.io spec and Claude Code best practices. Use via /validate-skills command.

create-react-native-library

Scaffolds React Native libraries with create-react-native-library for standalone libraries or local native modules and views. Use when creating or working on React Native libraries or adding native functionality in an existing app.

github-actions

GitHub Actions workflow patterns for React Native iOS simulator and Android emulator cloud builds with downloadable artifacts. Use when setting up CI build pipelines or downloading GitHub Actions artifacts via gh CLI and GitHub API.

react-native-best-practices

Provides React Native performance optimization guidelines for FPS, TTI, bundle size, memory leaks, re-renders, and animations. Applies to tasks involving Hermes optimization, JS thread blocking, bridge overhead, FlashList, native modules, or debugging jank and frame drops.

react-native-brownfield-migration

Implements an accepted incremental brownfield migration from native iOS or Android to React Native or Expo using @callstack/react-native-brownfield. Use after the brownfield path has been selected, when setting up the integration, packaging XCFramework or AAR artifacts, or adding React Native surfaces to native hosts.

react-native-testing

Write tests using React Native Testing Library (RNTL) v13 and v14 (`@testing-library/react-native`). Use when writing, reviewing, or fixing React Native component tests. Covers: render, screen, queries (getBy/getAllBy/queryBy/findBy), Jest matchers, userEvent, fireEvent, waitFor, and async patterns. Supports v13 (React 18, sync render) and v14 (React 19+, async render). Triggers on: test files for React Native components, RNTL imports, mentions of "testing library", "write tests", "component tests", or "RNTL".

react-native-tv-best-practices

Reviews React Native TV apps for focus/D-pad navigation, 10-foot UI layout, TV playback/DRM integration, low-memory TV performance, and TV accessibility. Use when building, debugging, or reviewing react-native-tvos, Expo TV, Amazon Vega/Kepler, or React Native web TV targets where the issue depends on remote input, TV focus, TV packaging, TV hardware, or TV playback constraints.

react-navigation

Provides React Navigation UI patterns for stacks, tabs, drawers etc. Use when building navigation UIs with React Navigation, configuring headers, bottom sheets or handling safe areas and insets.

upgrading-react-native

Upgrades React Native apps to newer versions by applying rn-diff-purge template diffs, updating package.json dependencies, migrating native iOS and Android configuration, resolving CocoaPods and Gradle changes, and handling breaking API updates. Use when upgrading React Native, bumping RN version, updating from RN 0.x to 0.y, or migrating Expo SDK alongside a React Native upgrade.

validate-skills

Validates skills in this repo against agentskills.io spec and Claude Code best practices. Use via /validate-skills command.

vercel-react-native-skills

React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.

writing-user-docs

House style for user-facing documentation — voice, scope, structure, and what to leave out. Use this skill whenever writing, editing, or reviewing anything a user reads to learn how to use a tool — help center articles, getting-started guides, tutorials, feature docs, README usage sections, in-app help, release notes, or FAQ entries. Trigger it even when the request is phrased plainly — "document this feature", "write docs for X", "explain this to users", "write a README for this library", "turn these notes into a guide" — and even when no style guidelines are mentioned. Also use it to review existing docs for tone, bloat, or leaked implementation detail. Do not use it for internal engineering docs, architecture write-ups, RFCs, or code comments.

関連スキル