workflow-refactor

Installation
SKILL.md

Refactor Code Skill

Degree of freedom: MIXED. Structure target [HIGH freedom]; behavior-preserving checks and affected tests [LOW freedom — run exactly].

How to reason

  1. Observe — current structure, callers, tests
  2. Interpret — duplication vs needed variation
  3. Classify — extract / inline / rename / stop (behavior would change)
  4. Severity — a public API change is not this skill

Everything here preserves behavior. Removing code is a different contract: plan-dead-code proves it unreachable and housekeep-dead-code deletes it against an approved list. Duplication findings arrive here from those skills; deletions do not leave from here.

Worked example

Installs
33
GitHub Stars
9
First Seen
Jun 15, 2026
workflow-refactor — kensaurus/skills