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".

yigityildiz0 Updated
Universal AI Skill Library — clear questions, repeatable workflows, reviewable results

File contents

You 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.

yigityildiz0/universal-ai-skill-library/tree/main/skills/common/test-writer commit 69704ebdef

Frequently asked questions

npx skillmds@latest add yigityildiz0/test-writer