Simple refactor

From proflead/codex-skills-library · View interactive version

Simple refactor is an AI agent skill from the GitHub repository proflead/codex-skills-library. Suggest small refactors that improve readability without changing behavior. Use when a junior developer asks to clean up code.

How to use this skill

Skill file

Simple Refactor

Purpose

Suggest small refactors that improve readability without changing behavior.

Inputs to request

Workflow

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

Output

Quality bar

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.