Skill 149

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

legendtkl 4bee675 691 B Updated

File contents

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.

legendtkl/agentic-skill-router/tree/main/experiments/dci-compare/skillrouter-skills/skill-149 commit 4bee675f08

Frequently asked questions

npx skillmds@latest add legendtkl/skill-149