bundles/testing/skills/test-dispatch/SKILL.md
Single front door for testing. Parses a subcommand — run, qa, tdd, e2e, coverage, init, or regression — and routes to the right testing engine: test-runner (run tests, fix failures), qa-reviewer (structured verification pass on completed work), tdd (red-green-refactor workflow), playwright-e2e-init (scaffold E2E tests for frontend projects), husky-test-coverage (enforce coverage thresholds via git hooks), testing-cicd-init (Vitest + GitHub Actions CI setup), or ai-regression-testing (design regression tests targeting AI blind spots). Backs the /test command. Use when asked to run tests, write tests, set up testing, check coverage, or start TDD, and the action must be picked from an argument like "run", "qa", "tdd", "e2e", "coverage", "init", or "regression".
npx skillsauth add shipshitdev/library test-dispatchInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
The router behind /test. It owns one job: turn a subcommand into the right
testing action and delegate. It does not contain testing logic of its own —
test execution lives in test-runner, structured verification in qa-reviewer,
red-green-refactor in tdd, E2E scaffolding in playwright-e2e-init, coverage
enforcement in husky-test-coverage, Vitest + CI setup in testing-cicd-init,
and AI-targeted regression design in ai-regression-testing.
Inputs:
mode. Scope tokens
(changed, full, a path/pattern, --since <ref>) are forwarded verbatim
to the test-runner engine.Outputs:
run: test results and, on failure, applied fixes until green or blocked.qa: a structured multi-phase verification report on completed work.tdd: a test-first implementation plan and red-green-refactor cycle.e2e: Playwright config, example tests, and CI integration scaffolded.coverage: Husky pre-commit hooks with coverage threshold enforcement set up or verified.init: Vitest config, test setup files, and GitHub Actions CI workflow created.regression: regression test plan and new tests targeting AI blind spots.Creates/Modifies:
External Side Effects:
Confirmation Required:
disable-model-invocation). Delegated
skills that mutate files (e2e, coverage, init) each re-confirm before writing.
Never chain mutating subcommands automatically.Delegates To:
test-runner for run (scoped test execution + auto-fix loop).qa-reviewer for qa (structured verification pass on agent work).tdd for tdd (red-green-refactor workflow).playwright-e2e-init for e2e (Playwright scaffold for frontend projects).husky-test-coverage for coverage (Husky hooks + coverage threshold setup).testing-cicd-init for init (Vitest + GitHub Actions CI setup).ai-regression-testing for regression (regression tests for AI blind spots).Resolve the raw argument into a mode.
| Argument | Mode | Delegates to |
|---|---|---|
| (empty) | status | none — print a domain overview + Usage block |
| run, suite, smoke | run | test-runner (forward any scope token) |
| qa, review, verify | qa | qa-reviewer |
| tdd, red-green | tdd | tdd |
| e2e, playwright | e2e | playwright-e2e-init |
| coverage, hooks | coverage | husky-test-coverage |
| init, setup, ci | init | testing-cicd-init |
| regression | regression | ai-regression-testing |
If the argument matches none of these, report the unrecognized input and print the Usage block — do not guess.
test-runner skill, forwarding any scope token.qa-reviewer skill.tdd skill.playwright-e2e-init skill.husky-test-coverage skill.testing-cicd-init skill.ai-regression-testing skill.Each delegated skill owns its own preconditions and confirmation gate. This router does not relax them.
/test # status: detected runner, coverage config + usage
/test run # run tests at the right scope, auto-fix failures until green
/test run <path|pattern> # run a focused test path or pattern
/test qa # structured multi-phase verification pass on completed work
/test tdd # red-green-refactor workflow for a feature or bug fix
/test e2e # scaffold Playwright E2E tests for a frontend project
/test coverage # set up or verify Husky pre-commit coverage enforcement
/test init # install Vitest + GitHub Actions CI with 80% coverage threshold
/test regression # design regression tests targeting AI-generated code blind spots
init then coverage
without a separate confirmed invocation).run without a detected test runner. If no runner is determinable,
surface the gap and recommend init rather than failing silently.development
TypeScript refactoring and modernization guidelines from a principal specialist perspective. This skill should be used when refactoring, reviewing, or modernizing TypeScript code to ensure type safety, compiler performance, and idiomatic patterns. Triggers on tasks involving TypeScript type architecture, narrowing, generics, error handling, or migration to modern TypeScript features.
tools
Resolves TypeScript and JavaScript problems across type-level programming, performance, monorepo management, migration, and modern tooling. Invoke when diagnosing "type instantiation excessively deep" errors, migrating JS to TS, configuring strict tsconfig, debugging module resolution, or choosing between Biome/ESLint/Turborepo/Nx.
tools
Turborepo monorepo build system guidance. Triggers on: `turbo.json`, task pipelines, `dependsOn`, caching, remote cache, the `turbo` CLI, `--filter`, `--affected`, CI optimization, environment variables, internal packages, monorepo structure, and package boundaries. Use when the user configures tasks or workflows, creates packages, sets up a monorepo, shares code between apps, runs changed packages, debugs cache behavior, or works in an `apps/` plus `packages/` workspace.
tools
Provides Tailwind CSS v4 performance optimization and best practices guidelines. Triggers when writing, reviewing, or refactoring Tailwind CSS v4 code; when working with Tailwind configuration, @theme directive, utility classes, responsive design, dark mode, container queries, or CSS generation optimization.