/go-linter-driven-development:go-ldd-prepare <what you're about to build> [files]from go-linter-driven-development
Performs preparatory refactoring (Fowler-style) before implementing a planned change — reshapes touch points so the feature lands as additive code only. Accepts a change description and optional file scope.
Ships in go-linter-driven-development. Installing the plugin adds it to Claude Code.
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. Write each deferral at
gate 3 or gate 4 as a prep row, and read the exit code:bash ${CLAUDE_PLUGIN_ROOT}/scripts/ldd-ledger.sh add prep <<'ROW'
<the prep move> — <the gate that failed>
ROW
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).bash ${CLAUDE_PLUGIN_ROOT}/scripts/ldd-ledger.sh show. When an add did not exit
0, list that row under Deferred (not in the ledger): with the error line.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.
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub weka/linter-driven-development --plugin go-linter-driven-development8 commands in this plugin
/go-ldd-analyzeRun quality analysis only - tests + plain lint + hunter/skeptic review, combined report, no auto-fix/go-ldd-autopilotStart complete linter-driven autopilot workflow (Phases 1-5, incl. the autonomous PREPARE sub-phase 1.5)/go-ldd-quickfixFix what is in scope — the files you are working on — through the quality gates (tests + lint + review → fix → repeat) until green/go-ldd-reviewAdvisory review of the code in scope before a commit (hunters + skeptic report; no tests, no lint, no auto-fix)/go-ldd-setupCompare the linter setup and the mutation testing tool with the LDD recommended setup, agree a tighter setup per rule, and edit only after you agree to the plan/go-ldd-statusShow current workflow status and progress