Skip to main content

simple-refactor

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

Source facts

Repository
proflead/codex-skills-library
Last source activity
January 12, 2026 at 16:12
Detected SKILL.md language
English
Stars
154
Forks
34

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
simple-refactor
description
Suggest small refactors that improve readability without changing behavior. Use when a junior developer asks to clean up code.
# Simple Refactor ## 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.
View on GitHub