Simple Refactor

SkillDev tools

Suggest small refactors that improve readability without changing behavior. Use when a junior developer asks to clean up code.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Simple Refactor skill

What this skill tells your AI

The instructions your AI receives, as published by proflead/codex-skills-library in skills/planning/simple-refactor/SKILL.md and read by ahel’s review.

Purpose

Suggest small refactors that improve readability without changing behavior.

Inputs to request

  • Target file or function.
  • Known style guide or conventions.
  • Existing tests or coverage.

Workflow

  1. Identify duplication or overly long functions.
  2. Propose small extraction or naming improvements.
  3. Note how to validate behavior remains unchanged.

Output

  • Refactor steps and safe checkpoints.

Quality bar

  • Keep changes small and reversible.
  • Avoid altering public interfaces.

Signals

GitHub stars
144
Forks
30
Last commit
Jul 2026
Advanced
Catalog kind
skill
Gateway key
simple-refactor
Source
github.com/proflead/codex-skills-library