Agent Skill
2/7/2026

run-tests

Running existing tests and reporting results when users say "run tests", "check tests", or "do tests pass". Does NOT write or fix tests — use /write-tests-run for that.

O
objective
0GitHub Stars
1Views
npx skills add Objective-Arts/lens

SKILL.md

Namerun-tests
DescriptionRunning existing tests and reporting results when users say "run tests", "check tests", or "do tests pass". Does NOT write or fix tests — use /write-tests-run for that.

name: run-tests description: Running existing tests and reporting results when users say "run tests", "check tests", or "do tests pass". Does NOT write or fix tests — use /testing for that.

/run-tests [path]

Run existing tests. Report results. That's it.

No arguments? Describe this skill and stop. Do not execute.

When NOT to Use

  • Need to write tests: use /testing
  • Need to fix failing tests: fix them yourself or use /testing

Process

  1. Run npx vitest run (or with path filter if argument provided)
  2. Report results in the format below
  3. If failures exist, show the first 3 failure summaries so the user can act

If a path argument is provided, pass it to vitest to scope the run:

npx vitest run [path]

If no argument, run the full suite:

npx vitest run

Output Format

## Test Results

PASSED: N
FAILED: N
TOTAL: N

FAILURES (if any):
- [test file]: [test name] — [error summary]

RUN_TESTS_COMPLETE

Only show the FAILURES section if there are failures. Cap at 5 failures — add "(and N more)" if truncated.

Skills Info
Original Name:run-testsAuthor:objective