Skip to content
Back to skills

Run And Classify

ASecurity

Invoke run_tests via MCP and surface stable / new-failure / flaky / recovered classifications. Use any time you need to know the current state of the test suite, especially before deciding whether to advance a TDD phase.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 7, 2026
researchapi

Works with

  • api
  • mcp

Security analysis

A100/100

Scanned November 7, 2026

npx -y skills add spencerbeggs/vitest-agent --skill run-and-classify --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Run And Classify?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Run And Classify
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/spencerbeggs-run-and-classify/badge)](https://www.skillsdirectory.com/skills/spencerbeggs-run-and-classify)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: run-and-classify
description: Invoke run_tests via MCP and surface stable / new-failure / flaky / recovered classifications. Use any time you need to know the current state of the test suite, especially before deciding whether to advance a TDD phase.
---

# Run and classify

1. Call `run_tests({ project?, files? })` — by default this runs the full suite via Vitest's programmatic API. There is no `file` (singular) or `filter` field; an unknown key is silently dropped and the whole suite runs instead of the intended subset.
2. The reporter writes `test_runs` and `test_history` rows.
3. Call `test_status({ project? })` to read the per-test classifications.

## Decision matrix

- **stable**: nothing to do. The test passed and has been passing.
- **new-failure**: investigate. Use `interpret-test-failure` and `record-hypothesis-before-fix` before editing production code.
- **persistent**: a real bug or a flawed test. Resist the urge to disable; record a hypothesis and triangulate.
- **flaky**: do not silence. Investigate the source of nondeterminism (timing, shared state, external resources). The system records flaky classifications so the human reviewer can see them.
- **recovered**: a previously-failing test now passes. Note in a hypothesis whether your last edit caused the recovery (intended) or whether the recovery is unrelated (concerning — investigate).

## Reusable outside TDD

Every workflow that runs tests uses this. The orchestrator depends on it for phase-transition evidence.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.