dev-flow

← all skills

write-tests

Write Vitest unit/integration tests OR Playwright e2e tests for an existing source file (server action, page, component, query). Reads the project's wired test framework from .workflow/meta.json#stack.test, follows the mocking patterns already present in vitest.setup.ts and any sibling test files. Use when the user says "scrivi i test per X", "test per la server action Y", "e2e per /clienti", "unit test per il componente Z", "add tests for <file>", or after screenshot-to-page / module-add runs and the user wants coverage. Not for: scaffolding the test infrastructure (module-add test), running QA on a deployed site (qa), or methodology guidance (superpowers:test-driven-development).

When it applies

What it does not do

References it ships

Get it

/plugin install dev-flow@dev-flow      # the whole suite
./install.sh --platform claude        # or drop dist/write-tests.skill into Claude Code

Read write-tests/SKILL.md on GitHub →