Skip to main content
Cursor Boston
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 points

Regression coverage

35

The guardrail catches a plausible refactor mistake.

Review clarity

25

The output makes a reviewer faster and more confident.

Simplicity

20

The solution is focused and easy to adopt.

Cursor workflow

20

The writeup explains the AI-assisted refactor loop.

Open game world map