Enable this skill pack when you need to focus on both code review quality and unit test quality at the same time.
This skill pack automatically combines the following existing skills:
code-review: Code review best practices checklistunit-testing: Guide to writing unit tests and improving coverage
Usage Recommendations
- Before submitting important changes, perform a self-check in the following order:
- Follow the
code-reviewchecklist to check code design, maintainability, and potential defects; - Follow the
unit-testingguide to fill in unit tests for critical paths, boundary conditions, and exception scenarios;
- Follow the
- It is recommended to use a structured format for output, listing "review results" and "test descriptions" separately for easier follow-up tracking.
Assistant Behavior Expectations
When this skill pack is activated, the assistant should:
- First, based on the
code-review, provide review suggestions targeting code quality; - Then, based on the
unit-testing, provide suggestions for supplementing and improving unit tests; - Clearly distinguish in the response:
- Code-level modification suggestions;
- Test-level supplementation and correction suggestions.