Skip to main content

batch-executing-test-suites

Orchestrates parallel test suite execution across isolated workspace branches by registering a custom test_suite_runner subagent via define_subagent and dispatching parallel workers via invoke_subagent. Use when batch executing test suites and analyzing test failures.

소스 정보

저장소
GoogleCloudPlatform/devrel-demos
최근 소스 활동
2026년 8월 4일 11:49
감지된 SKILL.md 언어
영어
스타
397
포크
191

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
batch-executing-test-suites
description
Orchestrates parallel test suite execution across isolated workspace branches by registering a custom test_suite_runner subagent via define_subagent and dispatching parallel workers via invoke_subagent. Use when batch executing test suites and analyzing test failures.
# Batch Executing Test Suites Orchestrates multi-agent parallel test execution across isolated workspace branches using custom subagent definition and concurrent dispatch. --- ## Workflow Steps ### 1. Register Custom Worker Subagent (`define_subagent`) Invoke `define_subagent` to register a specialized worker subagent persona: - **name**: `test_suite_runner` - **description**: "Specialized test runner and diagnostic subagent that executes test suites, parses stack traces, isolates root causes, and generates fix recommendations." - **system_prompt**: "You are a specialized Test Runner and Diagnostic Subagent. Execute assigned test suites in your workspace branch, parse failure stack traces, inspect affected source files to isolate root causes, and write a structured execution report to `reports/tests/<suite_name>.md`. Return a Markdown summary with pass/fail counts, key stack traces, and actionable root-cause diagnoses." - **enable_write_tools**: `true` - **enable_mcp_tools**: `false` - **enable_subagent_tools**: `false` --- ### 2. Dispatch Parallel Workers (`invoke_subagent`) Identify target test suites from the user request or project configuration (e.g., Unit, Integration, E2E, API Contract, Security). Dispatch all workers concurrently in a single `invoke_subagent` call with `"Workspace": "branch"`: - **TypeName**: `"test_suite_runner"` - **Role**: `<Suite Name> Runner` - **Prompt**: Specify the test command to execute, stack trace parsing directives, root-cause inspection rules, and report path (`reports/tests/<suite_name>.md`). - **Workspace**: `"branch"` --- ### 3. Aggregate & Report Test Results Upon receiving completion callbacks from all background subagents: 1. Verify execution reports exist under `reports/tests/`. 2. Parse overall pass/fail metrics, execution durations, and root-cause failure stack traces. 3. Present a consolidated test suite matrix to the user with actionable diagnostic summaries and clickable report links.
GitHub에서 보기