minimal-editing

Installation
SKILL.md

Minimal Editing

Overview

Fix the requested problem without rewriting code that was already working.

In existing codebases, a correct patch can still be bad if it is larger than necessary. Extra helpers, renamed variables, new validation, broad formatting, and opportunistic cleanup increase review cost and risk. Brown-field work should be small, local, and unsurprising unless the user explicitly asks for a redesign.

Core principle: preserve working code. Change only what is necessary to satisfy the request.

Use With Other Skills

  • For bugs, test failures, or unexpected behavior: use systematic-debugging first to find root cause. Minimal editing controls the patch after you understand the failure.
  • For post-change cleanup: use simplify only on code you just touched, and only if it preserves behavior.
  • For refactors or deletion-oriented design review: use reducing-entropy; do not smuggle refactors into a bug fix.

The Brown-Field Contract

When editing existing code, assume the current structure is intentional until evidence says otherwise.

Related skills
Installs
2
Repository
jssee/agents
First Seen
8 days ago