Agent skill
Testing Test Writing
Write minimal, strategic tests focused on core user flows and critical paths with clear test names, mocked dependencies, and fast execution. Use this skill when creating or editing test files, writing unit tests, integration tests, or end-to-end tests. When testing critical user workflows, core business logic, or primary application features. When working with test files (e.g., `*.test.js`, `*.spec.ts`, `*_test.py`, `*_spec.rb`), test frameworks (Jest, RSpec, pytest, JUnit), or testing utilities. When mocking external dependencies, databases, or APIs in tests.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/testing-test-writing-dpietersz-pietersz-me
SKILL.md
Testing Test Writing
When to use this skill
- When creating or editing test files (
.test.js,.spec.ts,_test.py,_spec.rb) - When writing unit tests for core business logic
- When testing critical user workflows and primary features
- When implementing integration tests for key system interactions
- When writing end-to-end tests for main user journeys
- When mocking external dependencies (databases, APIs, file systems)
- When creating clear, descriptive test names that explain expected behavior
- When ensuring tests execute quickly (milliseconds for unit tests)
- When testing behavior rather than implementation details
- When completing feature implementation and adding strategic tests at logical points
- When working with test frameworks (Jest, RSpec, pytest, JUnit, Mocha, etc.)
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
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?