GillMacedo

Add Cause — Development skill for Claude Code

Development community

Add an explanation for a cache key input that whyrebuilt reports as "Other key input differs": $ARGUMENTS.

How to install Add Cause

Installs to ~/.claude/commands/gillmacedo-whyrebuilt-add-cause.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/GillMacedo/whyrebuilt/HEAD/.claude/commands/add-cause.md -o ~/.claude/commands/gillmacedo-whyrebuilt-add-cause.md

Restart Claude Code, or start a new session, for it to be picked up.

What Add Cause does

Add an explanation for a cache key input that whyrebuilt reports as "Other key input differs": $ARGUMENTS

  1. Record two real runs that differ only in that input with go run ./plugin/scripts record -o FILE.rec.gz -- go build ./..., using examples/inventory or an open-source project whose license you note in examples/README.md.
  2. Find where the go command writes that input in $(go env GOROOT)/src/cmd/go/internal/work/exec.go and link the line in the pull request.
  3. Add a case to slot

Alternatives in Development

Full documentation available on GitHub

View Source Repository