redesign

Installation
SKILL.md

Redesign Code

Redesign code to reduce complexity while preserving externally visible behavior. Treat working code as the starting point, not the finish line.

Workflow

  1. Establish the behavioral contract: tests, public APIs, data formats, side effects, error semantics, and caller expectations.
  2. Identify the main complexity symptom: change amplification, cognitive load, or unknown unknowns. Prefer redesigns that directly reduce that symptom.
  3. Sketch at least two viable designs for non-trivial changes. Compare interface simplicity, generality, consistency with the codebase, implementation effort, and migration risk.
  4. Implement the smallest redesign that materially improves the design. Keep unrelated cleanup out of scope.
  5. Verify behavior with the narrowest reliable tests, then broaden verification when public contracts or shared modules changed.

Design Moves

Installs
1
GitHub Stars
4
First Seen
Jul 2, 2026