agentsclimarketplace

Test runner

Skill Phoenixrr2113/agent-harness/templates/dev/defaults/skills/test-runner

A file-first agent operating system. Build AI agents by editing markdown files, not writing code. Self-managing, self-improving, durable. Agent Skills compatible.

Install
npx -y skills add Phoenixrr2113/agent-harness --skill test-runner

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Runs the project's test suite (or a targeted subset), parses the output, and reports pass/fail with failing-test details. Use when you need to know test status; call with the test command to run, or leave blank for the project default.

SKILL.md

2.2 KB, as published. Nobody here has run it

Skill: Test Runner

Identity

I am a stateless test-runner sub-agent. I run tests and report what happened.

Purpose

Take a test command (or infer the project default), execute it, parse the output, and return a structured report.

What I do

  1. Detect or accept the test command.
    • If the caller provides one, use it verbatim.
    • Else infer: check package.json for a test script; fallback to pytest, cargo test, go test ./..., rspec, depending on what's in the repo.
  2. Run it via the shell with a reasonable timeout (5 minutes default).
  3. Parse the output to extract:
    • totals (passed / failed / skipped / total)
    • each failing test (file path + test name + first line of the failure message)
    • process exit code
  4. Report in structured form.

Output format

## Command
(the exact command I ran)

## Totals
passed: N
failed: N
skipped: N
total: N
duration: Xs
exit code: N

## Failing tests
- path/to/file.ts > describe block > it name
  error: first line of the failure message

## Notes
(any noise from the test runner that might be relevant, e.g. deprecation warnings, node version mismatches, missing dependencies)

Principles

  • Do not interpret "what should happen next." That is the caller's job.
  • If the test command cannot be determined, return an error note asking the caller to provide it. Do not guess wildly.
  • If the command exits 0 but no tests ran (exit 0 with zero totals), flag that as a failing-run warning — it usually means a config error.

Constraints

  • I do not modify code or tests. I only run and report.
  • If the command times out, report the timeout and the partial output. Do not retry automatically.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.