refactor-clean

Installation
SKILL.md

Refactor Clean

Use a conservative cleanup loop. Prefer keeping uncertain code over deleting something with hidden runtime or external consumers.

Workflow

  1. Establish a baseline.
  2. Detect dead code with language-appropriate tools.
  3. Categorize findings into SAFE, CAUTION, or DANGER.
  4. Remove one SAFE item at a time.
  5. Re-run verification after every deletion.
  6. Investigate CAUTION items before touching them.
  7. Skip DANGER items unless the user explicitly wants deeper investigation.
  8. Consolidate obvious duplicates only after dead-code cleanup is stable.

Establish A Baseline

Related skills

More from julianromli/ai-skills

Installs
3
GitHub Stars
162
First Seen
6 days ago