# test-writer

> Generate unit tests, integration tests, and test plans. TRIGGERS - Use when user wants tests, test cases, testing strategy, or test coverage.

- Skill: `lionelsimai/test-writer` (Agent Skill)
- Install (CLI): `npx skillmds add lionelsimai/test-writer`
- Raw SKILL.md: https://api.skillmd.com/api/skills/lionelsimai/test-writer/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: lionelsimai (https://skillmd.com/u/lionelsimai)
- Updated: 2026-08-19
- Page: https://skillmd.com/skills/lionelsimai/test-writer

---


# Test Writer

## Approach
1. Analyze the code to understand functionality
2. Identify test scenarios (happy path, edge cases, errors)
3. Write tests using appropriate framework
4. Include assertions for expected behavior
5. Add edge case coverage

## Output includes:
- Test file with complete test suite
- Test descriptions explaining what each test validates
- Setup/teardown helpers
- Mocking strategy for dependencies
- Coverage recommendations

