52-execute-refactor-150
Installation
SKILL.md
Execute-Refactor 150 Protocol
Overview
Run in three stages:
- Research refactor options (iterative, no code changes).
- Plan + confirm + implement with tests and validation.
- Apply Scout105 cleanup (objective, small, user-approved).
Stage 1 — Research refactor options (iterative)
-
Create or reuse the session log at
.sessions/SESSION_[date]-[name].md.- If the file does not exist, create it and add the investigation template below.
- Keep all research notes inside the session log only (no scattered notes in chat).
-
Define the core question (the refactor goal).
- Write a single sentence: “We need to refactor X to achieve Y.”
- Example: “Refactor SermonCard to reduce duplication and isolate date logic.”