About w-test
w-test is a testing skill for coding agents that selects and runs the narrowest documented test command, then addresses failures without weakening assertions.
Key features
- 01Find package-specific test commands
- 02Prefer the narrowest relevant suite
- 03Fix one root cause at a time
- 04Avoid skipped or weakened tests
Use cases
- 01Test changes in affected packages
- 02Investigate and resolve test failures
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ blockmatic-icebox/ 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