agentleFS
Google CloudKnown publisherGoogleCloudPlatform/devrel-demos/agents/elevating-antigravity/skills/batch-executing-test-suites/SKILL.md

batch-executing-test-suites

Skill397 starsChanged 9 days agoApache-2.0View on GitHub

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.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Verify execution reports exist under reports/tests/.

    line 44

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.