원클릭으로
rein-cleanup
Run a regression-tests-first cleanup/refactor workflow to reduce slop
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Run a regression-tests-first cleanup/refactor workflow to reduce slop
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Runtime-backed Socratic interview with durable state, clarity scoring, and spec bundle output
Run one task through the full REIN flow from clarification through implementation, cleanup, review, and verification
Use before committing. Self-reviews the current diff for unrelated changes, debug leftovers, test weakening, and scope drift.
Use after triage, before implementation. Breaks complex work into sequenced steps with risks, checkpoints, rollback boundaries, and interview-result handoff support.
Use before ambiguous or multi-file work. Surfaces relevant files, assumptions, success criteria, and cheating boundaries.
Understand a codebase and maintain .rein/codebase/ as a navigable map with evidence-backed findings
| name | rein-cleanup |
| description | Run a regression-tests-first cleanup/refactor workflow to reduce slop |
Reduce bloated, noisy, repetitive, or over-abstracted code with a regression-tests-first, smell-by-smell cleanup workflow that preserves behavior and raises signal quality.
Use this skill when:
Lock behavior with regression tests first
Create a cleanup plan before code
Categorize issues before editing
Execute passes one smell at a time
Run quality gates
Finish with an evidence-dense report
Deliver the cleanup result as a normal agent response in natural language.
PASS or FAIL labels only when they add clarity; otherwise speak plainly as the agent.Good:
continue after tests already lock behavior and the next smell pass is clear. Continue with the next bounded cleanup pass.Bad: