Require exact command snippets in plan execution summaries
The Step 0 entry described what happened in prose but omitted the actual kubebuilder/go install invocations, which is exactly the detail a future reader would want to copy and reproduce. Codifies "include the real command line, not a paraphrase" in CLAUDE.md and rewrites the Step 0 entry with the exact commands run, including the go install path correction (kubebuilder v4.15.0 is the module root now, not .../cmd/kubebuilder) and the controller-gen invocations kubebuilder ran on its own. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
15
CLAUDE.md
15
CLAUDE.md
@@ -104,11 +104,20 @@ originating plan in `docs/plans/`, so the two files pair up 1:1. Create the file
|
||||
section per step after that, in chronological order (bottom of the file), not
|
||||
newest-first like `CHANGELOG.md`.
|
||||
|
||||
Keep each entry light — a few sentences on what was done, plus anything genuinely
|
||||
Keep the prose light — a few sentences on what was done, plus anything genuinely
|
||||
interesting or non-obvious about how it went (a judgment call made, a spec gap found,
|
||||
something that didn't work as expected). This is not a duplicate of the plan or the
|
||||
diff; skip steps that went exactly as planned with nothing worth flagging. Commit the
|
||||
summary update together with that step's implementation commit.
|
||||
diff; skip steps that went exactly as planned with nothing worth flagging.
|
||||
|
||||
**Include exact commands.** Any invocation of an external tool that isn't a plain file
|
||||
edit — CLI scaffolding tools (`kubebuilder`, code generators), package installs, other
|
||||
non-obvious shell commands — goes in as a fenced code block with the exact
|
||||
command-line actually run, not a paraphrase. Prefer the real invocation over a
|
||||
description of it; a future reader (or a future Claude) should be able to copy the
|
||||
snippet and reproduce the step. Trim noisy stdout, but keep anything that changed the
|
||||
outcome (a flag that mattered, an unexpected error, a version that got picked
|
||||
automatically). Commit the summary update together with that step's implementation
|
||||
commit.
|
||||
|
||||
### Changelog
|
||||
|
||||
|
||||
Reference in New Issue
Block a user