test-writer

Installation
SKILL.md

Test Writer

Writes tests for existing code that has none. Different from /tdd (which writes tests before code) — this works backward from existing code to build a test suite around it.


Phase 0 — Load context (silently)

cat CONTEXT.md 2>/dev/null

# Detect test framework
cat package.json 2>/dev/null | grep -E '"jest"|"vitest"|"mocha"|"jasmine"|"@testing-library"'
find . -name "pytest.ini" -o -name "conftest.py" -o -name "*.test.ts" \
       -o -name "*.spec.ts" 2>/dev/null | head -10

# Check existing test coverage
npx jest --coverage --passWithNoTests 2>/dev/null | tail -20
pytest --co -q 2>/dev/null | tail -20
Installs
1
First Seen
Jun 17, 2026