ArchiveMay 2026Safe refactoring
Refactor Safety Net
Design a small guardrail that makes behavior-preserving refactors easier to review.
Submission window
May 1-31, 2026
Line limit
200 lines
Rubric
100 points
Prompt
Build a helper, script, or test fixture that catches accidental behavior changes during a refactor.
Deliverables
- A repository or gist with the guardrail
- Before/after examples
- A note on what Cursor helped identify
Cursor Skills
Refactor planningRegression-test generationDiff review
Rubric
100 pointsRegression coverage
35The guardrail catches a plausible refactor mistake.
Review clarity
25The output makes a reviewer faster and more confident.
Simplicity
20The solution is focused and easy to adopt.
Cursor workflow
20The writeup explains the AI-assisted refactor loop.