| name | Testing Test Writing |
| description | Write strategic, minimal tests focused on critical user flows and core functionality. Use this skill when deciding which tests to write during feature development. Use this skill when writing unit tests, integration tests, or end-to-end tests. Use this skill when testing critical user workflows and primary business logic. Use this skill when determining whether to defer edge case or validation testing. Use this skill when creating test files with clear, descriptive test names. Use this skill when mocking external dependencies like databases or APIs. Use this skill when ensuring tests run quickly and are focused on behavior rather than implementation. |
Testing Test Writing
When to use this skill
- When deciding which tests to write during feature development
- When writing tests for critical user flows and core functionality
- When creating unit tests that are fast and isolated
- When writing descriptive test names that explain expected outcomes
- When mocking databases, APIs, file systems, and external services
- When testing behavior rather than implementation details
- When deferring edge case and error state testing unless business-critical
- When writing minimal tests during development, adding more at logical completion points
- When ensuring tests execute quickly to encourage frequent running
This Skill provides Claude Code with specific guidance on how to adhere to coding standards as they relate to how it should handle testing test writing.
Instructions
For details, refer to the information provided in this file: testing test writing