Run all tests and fix
Skill emaraschio/cursor-commands/plugin/.cursor/skill-contracts/run-all-tests-and-fix
Run full test suite and fix failuresFrom its SKILL.md
npx -y skills add emaraschio/cursor-commands --skill run-all-tests-and-fixAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 9 stars9 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.2 KB, 246 tokens by cl100k_base, as published. Nobody here has run it
Overview
Execute the full test suite and systematically fix any failures, ensuring code quality and functionality.
Steps
- Run test suite
- Execute all tests in the project that are relevant to the current changes you are making
- Capture output and identify failures
- Check both unit and integration tests
- Analyze failures
- Categorize by type: flaky, broken, new failures
- Prioritize fixes based on impact
- Check if failures are related to recent changes
- Fix issues systematically
- Start with the most critical failures
- Fix one issue at a time
- Re-run tests after each fix
Test Recovery Checklist
- Full test suite executed
- Failures categorized and tracked
- Root causes resolved
- Tests re-run with passing results
- Follow-up improvements noted
Guardrails
- Fix the root cause of a failure; never delete or weaken a test to go green.
- Never silently skip a failing test; report it and the reason.
- Do not commit, push, merge, or run destructive commands without explicit user consent.
What ships with it: 3 files
2.5 KB alongside SKILL.md
eval/
- cases.md1.9 KB
- fixtures.yaml295 B
- README.md319 B