rein-cleanup
01Cursor rule Cursor
Run a regression-tests-first cleanup/refactor workflow to reduce slop.
REIN is a lightweight and hands-off harness for stricter, more explicit agentic coding workflows. This is an evolution of https://github.com/jstxn/FEAR.md
Cursor rule Cursor
Run a regression-tests-first cleanup/refactor workflow to reduce slop.
Cursor rule Cursor
Run one task through the full REIN flow from clarification through implementation, cleanup, review, and verification.
Cursor rule Cursor
Understand a codebase and maintain .rein/codebase/ as a navigable map with evidence-backed findings.
Cursor rule Cursor
Runtime-backed Socratic interview with durable state, clarity scoring, and spec bundle output.
Cursor rule Cursor
Use after triage, before implementation. Breaks complex work into sequenced steps with risks, checkpoints, rollback boundaries, and interview-result handoff support.
Cursor rule Cursor
Use after a miss, regression, or suspicious shortcut. Captures what failed and what rule should change.
Cursor rule Cursor
Use before committing. Self-reviews the current diff for unrelated changes, debug leftovers, test weakening, and scope drift.
Cursor rule Cursor
Use when requirements are too large, contradictory, or need negotiation. Produces a scope contract with what will and will not be done.
Cursor rule Cursor
Use before ambiguous or multi-file work. Surfaces relevant files, assumptions, success criteria, and cheating boundaries.
Cursor rule Cursor
Use before declaring code work complete. Runs verification, reviews diff hygiene, and emits an evidence report.