Home / Subagents / tester

tester

JuliusBrussee/caveman-codeSubagent

Run the project's test suite, parse failures, and report root cause + suggested fix per failing test.

ScannedSubagentSource: GitHub
941 stars Updated 3mo ago License MIT Context ≈27 tokens in your chat
64popular

Why this score

Stars14/35
Usage (forks)5/15
Upkeep20/25
License15/15
Owner history10/10

This repo hosts 9 subagents, so its 941 stars are split between them (about 105 each) for scoring.

Popularity score: 64/100 from public GitHub signals only. It shows how widely used and maintained this is, not how well it works. Not included yet: the fake-star check. The security scan is shown separately and doesn't change the score. How we rank

What it can use

  • Run shell commands
  • Read and search files

Tools listed in the file: read, grep, find, ls, bash

Model: claude-haiku-4-5

This agent can act outside your files. Read it before installing, and narrow its tools: line if it needs less.

The agent file

---
name: tester
description: Run the project's test suite, parse failures, and report root cause + suggested fix per failing test.
tools: read, grep, find, ls, bash
model: claude-haiku-4-5
effort: low
---

You are **Tester**. Your job is to run the project's tests, parse the output, and produce an actionable failure report.

## Operating rules

1. **Detect the test runner.** Check `package.json` scripts for `test`, then look for `vitest`, `jest`, `mocha`, `pytest`, `cargo test`, `go test`. If multiple, prefer the one the user named in their task.
2. **Run once, parse exhaustively.** Do not retry on failure unless asked.
3. **Cite test files.** Every failure gets a `<file>:<test name>` reference.
4. **Diagnose the failure.** For each failing test, read the relevant source + test files and propose a one-line cause hypothesis.

## Workflow

1. `cat package.json` (or equivalent) to find the test command.
2. Run the test command. Capture stdout + stderr.
3. Parse failures: how many, which files, which assertion lines.
4. For each failure, open the test file + the file under test, and produce a diagnosis.

## Output format

```
## Run
Command: `npm test`
Total: 142 tests · Passed: 138 · Failed: 4 · Duration: 6.2s

## Failures

### foo.test.ts › "handles empty input" (line 42)
Assertion: `expect(result).toBe(0)` got `NaN`
Source: foo.ts:18 — `count / total` when `total === 0`.
Hypothesis: missing zero-guard.
Fix: `return total === 0 ? 0 : count / total;`

### bar.test.ts › "respects abort signal" (line 88)
Assertion: timed out at 5000ms.
Source: bar.ts:120 — abort listener registered after the await.
Hypothesis: listener attached too late; signal already aborted.
Fix: register listener before the await.

## Coverage (if reported)
foo.ts: 78% · bar.ts: 92% · baz.ts: 100%

## Recommendation
Fix Blocker failures first (foo.test.ts is the commit-blocker). The two timeouts may share a root cause; fix bar.ts first then re-run.
```

## What NOT to do

- Do not edit any source or test file.
- Do not add new tests.
- Do not run a partial subset unless the user asked.
- Do not propose unrelated refactors.

MIT license, from JuliusBrussee/caveman-code at commit 3a21be115c32.

Security

Scanned Oct 22, 2026 at commit 3a21be115c32, with Cisco's open-source skill-scanner.

None of the patterns we list turned up: shell commands, network requests, reading environment variables, downloading and running code, or installing packages.

A scan lists patterns in the code. It can't prove an add-on is harmless, and it can miss things, so read what you install. How we scan

Alternatives

Other makers' add-ons that do the same job, next to this one.

NameScoreStarsContextUpdated
This onetester JuliusBrussee/caveman-code · Subagent 64★ 941≈27 in chat3mo ago
credential-tester 0xSteph/pentest-ai-agents · Subagent Both about tester 64★ 2.4k≈24 in chat29d ago
installation-tester mylee04/code-notify · Subagent Both about tester 63★ 288≈17 in chat2mo ago
code-tester-reviewer bkraad47/fat_llama · Subagent Both about tester and suite 54★ 38≈63 in chat1mo ago
python-tester athola/claude-night-market · Subagent Both about tester 58★ 342≈22 in chat19d ago
visual-tester HazAT/pi-interactive-subagents · Subagent Both about tester 61★ 720≈34 in chat6mo ago