What problem does it solve?
This Skill addresses the challenge of maintaining high-quality, reliable, and maintainable test suites by automating the code review process for test files. It helps catch common anti-patterns and ensures adherence to best practices.
Core Features & Use Cases
- Automated Code Review: Analyzes test files for structure, assertions, coverage, and anti-patterns.
- Code Smell Identification: Detects issues like magic numbers, duplication, and over-mocking.
- Severity Assessment: Assigns severity levels (Critical, High, Medium, Low) to identified issues.
- Actionable Recommendations: Provides before/after examples and suggestions for improvement.
- Use Case: A developer finishes writing a new set of integration tests and wants a quick, objective review before merging. They use this Skill to get immediate feedback on potential issues and areas for improvement, ensuring the tests are robust and easy to maintain.
Quick Start
Review the test file located at '/path/to/my/tests/user.spec.ts'.