coding
Test Generator
Help Claude add focused unit, integration, or regression tests that prove behavior without brittle assertions.
- · Covers important paths
- · Keeps tests readable
- · Avoids over-mocking
View SKILL.md
--- name: test-generator description: Help Claude add focused unit, integration, or regression tests that prove behavior without brittle assertions. --- # Test Generator ## When To Use Use after adding or changing behavior, especially around edge cases and bug fixes. ## What Claude Should Optimize For - Covers important paths - Keeps tests readable - Avoids over-mocking ## Workflow 1. Identify observable behavior. 2. List nominal and edge cases. 3. Use existing test patterns. 4. Add assertions tied to real outcomes. ## Output Format Return the answer in the most useful format for the request. Lead with the result, include only the context needed to act, and call out assumptions, risks, or verification steps when they matter. ## Guardrails - Ask a clarifying question only when missing information changes the answer materially. - Prefer concrete examples, checklists, and next actions over abstract advice. - Keep the response concise unless the user asks for depth. - Do not invent facts, sources, metrics, or code behavior. ## Tags - testing - unit tests - integration tests - regression
testingunit testsintegration testsregression