write-tests
Add or extend tests for a feature or a bug, following the project's existing testing setup (fast unit tests and browser/end-to-end suites). The skill picks the right kind of test, mirrors existing ones, writes it, and runs it.
Use it when
- You want coverage for new or existing behavior.
- You want to reproduce a bug with a failing test before fixing it.
What it helps solve
- Adds confidence around new behavior.
- Reproduces bugs before they are fixed.
- Protects important user flows from regressions.
- Documents expected behavior in executable form.
It uses the test tools already in the project.
See also: Testing.