From ios-qa-agent
テストケースの実行制御を行うフェーズスキル。各テストケースを qa-runner → qa-judge のパイプラインで実行し、アプリ状態管理と結果収集を担当する。ios-qa-workflow から参照される。
npx claudepluginhub no-problem-dev/claude-code-plugins --plugin ios-qa-agentThis skill uses the workspace's default tool permissions.
各テストケースは以下のパイプラインで処理する:
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
各テストケースは以下のパイプラインで処理する:
Agent(
subagent_type: "ios-qa-agent:qa-runner",
prompt: |
以下のテストケースを実行してください。
## テストケース
### 前提状態
{テストケースの前提状態}
### 操作意図
{テストケースの操作意図}
## App Map (v4 フォーマット、信頼度情報付き)
{app-map.md の全内容(あれば)}
{
例(v4 フォーマット):
---
format_version: 4
qa_readiness_score: 72
qa_readiness_level: Conditional
last_verified: 2026-03-15
---
}
{なければ「App Map は利用不可。フル探索モードで進めてください」と記載}
## 信頼度情報の活用
以下の信頼度に基づいて、操作方法を自動選択してください:
- [HIGH]: label または id で即座にタップ
- [MED]: label でタップを試み、失敗時は id にフォールバック
- [LOW]: 最初から座標タップを使用
## 前提条件の達成手順(ヒント)
{プリセットの steps を展開}
## 制限
max_actions: 20
timeout_seconds: {timeout}
stuck_threshold: 3
)
重要: 「期待結果」は qa-runner に渡さない(確認バイアス排除)
App Map v4 フォーマットの要点:
Agent(
subagent_type: "ios-qa-agent:qa-judge",
prompt: |
以下のテスト結果を判定してください。
## 期待結果
{テストケースの期待結果}
## 補足
{テストケースの補足}
## 実行レポート
{qa-runner の Execution Report 全文}
)
各テストケース実行前に以下を実施:
stop_app_sim() で停止launch_app_sim() で再起動screenshot() で起動確認前テスト結果画面 → 次テスト開始画面への遷移ヒント:
screenshot() → 期待画面確認
if 不一致 or アプリクラッシュ:
stop_app_sim()
待機 2秒
launch_app_sim()
screenshot() で起動確認
depends_on がないテストの場合:
depends_on があるテストの場合:
retry > 0 かつ Fail/Inconclusive の場合:
各テスト完了後に簡潔な進捗を親エージェント(ios-qa-workflow)に報告:
例: "TC-001: Pass (high) | TC-002: 実行中... | 残り 3 件"
報告タイミング:
報告内容: