Execute tests, generate test reports, and maintain test coverage. Use when running tests, checking coverage, or setting up test infrastructure.
Install
npx skillscat add htlin222/dotfiles/sc-test Install via the SkillsCat registry.
About this skill
This skill executes tests, generates reports, and maintains coverage for unit, integration, and e2e test suites. It addresses the need for consistent test execution and coverage monitoring across different test types. Developers should use it when running tests, checking coverage, or setting up test infrastructure.
SKILL.md
Testing and Quality Assurance
Execute tests, generate comprehensive test reports, and maintain test coverage standards.
When to use
- Running unit, integration, or e2e tests
- Generating coverage reports
- Setting up test infrastructure
- Monitoring test results
- Fixing failing tests
Instructions
Usage
/sc:test [target] [--type unit|integration|e2e|all] [--coverage] [--watch]Arguments
target- Specific tests, files, or entire test suite--type- Test type (unit, integration, e2e, all)--coverage- Generate coverage reports--watch- Run tests in watch mode--fix- Automatically fix failing tests when possible
Execution
- Discover and categorize available tests
- Execute tests with appropriate configuration
- Monitor test results and collect metrics
- Generate comprehensive test reports
- Provide recommendations for test improvements
Claude Code Integration
- Uses Bash for test execution and monitoring
- Leverages Glob for test discovery
- Applies TodoWrite for test result tracking
- Maintains structured test reporting and coverage analysis