/claude-connoisseur:test-runner [files] [instructions]from claude-connoisseur
Detects the test framework in a project, runs tests (full suite or specific files), diagnoses failures, and re-runs until all pass.
Ships in claude-connoisseur. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Run the project's test suite (or specific test files), diagnose failures, fix them, and re-run until all tests pass.
Files and instructions: $ARGUMENTS
Before running anything, determine the test framework and runner by inspecting the project:
jest, vitest, mocha, ava, tap, playwright, cypress — check package.json scripts, config files (jest.config.*, vitest.config.*, .mocharc.*), and dev dependenciespytest, unittest, nose2, tox — check pyproject.toml, setup.cfg, tox.ini, Makefile, or pytest.inigo test — check for *_test.go filescargo test — check for Cargo.tomlmvn test, gradle test — check pom.xml or build.gradlerspec, minitest — check Gemfile, .rspec, Rakefilebats — check for *.bats filesmix test — check mix.exsphpunit — check phpunit.xml, composer.jsonIf multiple frameworks exist, run the one most relevant to the specified files — or all of them if no files are specified.
The arguments are free-form and flexible. They may contain:
@service.test.ts, tests/unit/, test_*.py, *_test.goWhen no arguments are provided, run the full test suite.
/test-runner — detect the framework and run the full suite/test-runner @service.test.ts — run a specific test file/test-runner tests/unit/ — run all tests in a directory/test-runner only the tests related to authentication — find and run auth tests/test-runner fix the source code, not the tests — fix implementation bugs instead of updating test expectationspackage.json, pyproject.toml, Cargo.toml, go.mod, pom.xml, Gemfile, or equivalent to identify the test runner and its configuration. Check for custom test scripts (e.g. npm test, make test)git diff --name-only to find recently modified test files## Test Results: PASS
Ran **42 tests** in 3.2s — all passed.
## Test Results: PASS (after fixes)
Ran **42 tests** in 4.1s — all passed after fixing 3 failures.
### Fixes applied
1. **`src/services/user.ts:52`** — added uniqueness check before insert (was missing, causing `UserService.create › should reject duplicate emails` to fail)
2. **`src/handlers/__tests__/auth.test.ts:102`** — updated expected status from `429` to `200` (rate limiter was removed in v2.3)
3. **`src/repos/order.ts:34`** — passed `limit` parameter to the query builder (was being ignored)
## Test Results: FAIL (after 3 fix rounds)
Ran **42 tests** in 6.2s — **1 still failing**, 2 fixed, 39 passed.
### Remaining failures
1. **`IntegrationTest.externalAPI › should retry on timeout`**
`tests/integration/api.test.ts:89`
Requires a running mock server on port 8080 — cannot fix automatically.
### Fixes applied
1. **`src/services/user.ts:52`** — added uniqueness check before insert
2. **`src/handlers/__tests__/auth.test.ts:102`** — updated expected status code
## Test Results: UNKNOWN
Could not detect a test framework. Looked for: package.json, pyproject.toml, Cargo.toml, go.mod, pom.xml, Gemfile.
Please specify how to run tests (e.g. `/test-runner npm test` or `/test-runner pytest tests/`).
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub eugeniosegala/claude-connoisseur --plugin claude-connoisseur13 skills in this plugin
/db-reviewReview database schemas and suggest improvements for indexing, types, and constraints.