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

- Skill: `yigityildiz0/test-writer` (Agent Skill)
- Install (CLI): `npx skillmds@latest add yigityildiz0/test-writer`
- Raw SKILL.md: https://api.skillmd.com/api/skills/yigityildiz0/test-writer/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: yigityildiz0 (https://skillmd.com/u/yigityildiz0)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/yigityildiz0/test-writer

---


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.

