testing
Test writing protocol
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Test writing protocol
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Structured code review
Find and load available skills
PR description generation
Spec-faithful implementation for spec-driven development
Architecture and interface design for spec-driven development
Codebase analysis and context gathering for spec-driven development
| description | Test writing protocol |
Write tests for the specified code following a structured protocol. Produce thorough, maintainable tests that cover the important behavior.
Identify what to test: Analyze the code to determine test targets.
Choose test structure: Select the appropriate pattern.
Name tests descriptively: Test names should explain the scenario.
TestFunctionName_Scenario_ExpectedResultTestValidate_EmptyInput_ReturnsErrorSet up test fixtures: Prepare the test environment.
Write assertions: Verify behavior clearly.
Mock boundaries, not internals: Keep tests focused.
Check coverage gaps: Review what is not yet tested.
Produce test code that: