Test Writer

Expert JavaScript/TypeScript test engineer. MUST use this skill whenever the user asks you to write, add, fix, update, or improve tests — including unit tests, integration tests, component tests, E2E tests, interaction tests, and test coverage. Covers all major JS/TS test frameworks: Vitest, Jest, Node test runner, Playwright, React Testing Library, Vitest browser mode, and Storybook. Also use when users mention test strategy, flaky tests, test structure, mocking approach, testing a component, testing an API, testing a function, testing a hook, or adding test cases for edge cases and bug reproduction. Trigger on any mention of: "write tests", "add tests", "test this", "test coverage", "need tests", "test file", ".test.", ".spec.", "describe(", "it(", "test(", "expect(", "testing library", "playwright test", "vitest", "jest", "storybook play function", or when producing test files even if "test" isn't explicit (e.g., "verify this works", "make sure this doesn't break", "add coverage").

jtmthf 10ccd6a 22 files · 156.2 KB Updated

File contents

jtmthf/skills/tree/main/skills/test-writer commit 10ccd6a8bb

Frequently asked questions

npx skillmds@latest add jtmthf/test-writer