refactor-pass

star 113

Perform a refactor pass focused on simplicity after recent changes. Use when the user asks for a refactor/cleanup pass, simplification, or dead-code removal and expects build/tests to verify behavior.

pgplex By pgplex schedule Updated 2/16/2026

name: refactor-pass description: Perform a refactor pass focused on simplicity after recent changes. Use when the user asks for a refactor/cleanup pass, simplification, or dead-code removal and expects build/tests to verify behavior.

Refactor Pass

Workflow

  1. Review the changes just made and identify simplification opportunities.
  2. Apply refactors to:
  • Remove dead code and dead paths.
  • Straighten logic flows.
  • Remove excessive parameters.
  • Remove premature optimization.
  1. Run build/tests to verify behavior.
  2. Identify optional abstractions or reusable patterns; only suggest them if they clearly improve clarity and keep suggestions brief.
Install via CLI
npx skills add https://github.com/pgplex/pgconsole --skill refactor-pass
Repository Details
star Stars 113
call_split Forks 5
navigation Branch main
article Path SKILL.md
More from Creator