From go-linter-driven-development
Preparatory refactoring — reshape the code a planned change will touch, so the feature lands add-only
How this command is triggered — by the user, by Claude, or both
Slash command
/go-linter-driven-development:go-ldd-prepare <what you're about to build> [files]This command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
Run standalone preparatory refactoring (Fowler: "make the change easy, then make the
easy change") for a change you're about to implement — without entering the full
five-phase workflow.
⏱️ **Estimated Duration**: 2–10 minutes (zero findings is the common case and takes seconds)
**Input**: a description of the impending change ("add an SMS channel to alerts",
"extend the exporter with histogram support"), optionally scoped to files. No
description → ask for one; preparation without a change in hand is just cleanup and
belongs to `/go-ldd-quickfix`.
**Steps** (the gate definitions live in...Run standalone preparatory refactoring (Fowler: "make the change easy, then make the easy change") for a change you're about to implement — without entering the full five-phase workflow.
⏱️ Estimated Duration: 2–10 minutes (zero findings is the common case and takes seconds)
Input: a description of the impending change ("add an SMS channel to alerts",
"extend the exporter with histogram support"), optionally scoped to files. No
description → ask for one; preparation without a change in hand is just cleanup and
belongs to /go-ldd-quickfix.
Steps (the gate definitions live in @linter-driven-development
<phase_1_5_prepare> — apply them from there, never from memory):
../rules/R*.md Falsifying questions)
scoped to the touch points.<phase_1_5_prepare>. No user questions — the gates
decide; deferred findings are reported, not asked about.Skill(go-linter-driven-development:refactoring) in
<preparatory_mode>: characterization tests first on uncovered paths, full suite
green after every move, prep work in its own commit(s).Use this before starting work on a known change. For fixing code that already fails
gates, use /go-ldd-quickfix; for a read-only assessment, /go-ldd-analyze.
npx claudepluginhub buzzdan/ai-coding-rules --plugin go-linter-driven-development