About w-test
w-test is a repository skill for running documented tests and fixing failures caused by the change. It favors the narrowest suitable test suite and stops without publishing changes.
Key features
- 01Find documented package test commands
- 02Choose a focused or full test suite
- 03Capture failures and fix their causes
- 04Rerun tests without weakening assertions
- 05Stop without publishing
Use cases
- 01Testing a change in affected packages
- 02Investigating failures with an unknown scope
- 03Rechecking a suite after a fix
- 04Stopping when failures require human intervention
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ blockmatic/ basilic-skills --skill w-testAfter installing, type/w-testin Claude Code to confirm it loaded.
Details
From the project READMERun the documented test scripts from package.json (filtered to the change when the repo supports it). Fix owning causes. Do not publish.
- Identify the test command for the affected packages (
pnpm test, Turbo filters, or the app E2E script). Prefer the narrowest suite that covers the change; use the full suite when the failure is unknown or the user asked for it. - Run the command. Capture failing tests, not a paraphrase.
- Fix one owning cause at a time. Re-run the failed command. Do not weaken assertions or skip tests to obtain a pass. Stop when the suite is green or remaining failures need a human (secrets, env, flaky infra).
- Docs:
/w-docsif behavior or commands changed.
Comments
Markdown supported