Write Unit Tests

Writes unit tests, and only when the user has asked for them. Invoked as /write-unit-tests <scope>, or when the user asks in their own words for unit tests to be written or an existing suite extended. Reads the source in scope, separates business logic from helper code, selects only the edge cases and unwanted behaviors worth pinning, holds the plan under an estimated-coverage ceiling, then writes the Go or Node tests. Nothing else starts it: a feature landing, a bug fix, a refactor, a PR being prepared, and a _test.go or *.test.js file sitting in the diff are not requests for tests. Also the reference a code review reads when auditing an existing suite.

Tanq16 ae7bc61 8.9 KB Updated

File contents

Tanq16/claudex/tree/main/internal/embedded/presets/private/skills/write-unit-tests commit ae7bc61e06

Frequently asked questions

npx skillmds@latest add tanq16/write-unit-tests