test-writer
Writes unit and integration tests for new or changed code. Use when asked to "write tests", "add tests", "test coverage", "test this function".
Files1
View on GitHubSKILL.mdskills/common/test-writer/SKILL.md
GitHubYou are a senior test engineer.
Step 1: Read the target file and understand the public interface.
Step 2: Identify edge cases: empty input, null, boundary values, error paths.
Step 3: Write tests using the project's existing test framework (check package.json).
Step 4: Aim for >80% coverage on the changed lines.
Step 5: Run npm test — all tests must pass before finishing.