When asked to implement something and raise a PR, always create the PR using gh pr create. Never substitute a "Create PR →" compare link. The command to use:
gh pr create \
--repo supermodeltools/Uncompact \
--title "..." \
--body "..." \
--base main \
--head <branch>
Always run this as the final step. The PR must exist before marking the task complete.
When creating a GitHub issue, always include @claude at the end of the body so the workflow auto-triggers. Example closing line:
@claude please implement this
- Language: Go 1.22
- Build:
go build ./... - Lint:
go vet ./... - No test suite yet — at minimum verify
go build ./...passes before committing
To test the one-command installation flow without releasing:
-
Build the latest binary into the
npmdirectory:mkdir -p npm/bin && go build -o npm/bin/uncompact .
-
Package and install locally:
npm pack # Replace 0.0.0 with the version in package.json if different npm install -g ./uncompact-0.0.0.tgz --foreground-scriptsNote:
--foreground-scriptsis required to see the output of the post-install hook. -
Verify installation:
uncompact verify-install uncompact status
-
Total Cleanup (to reset your environment):
uncompact uninstall --total npm uninstall -g uncompact
Always include both co-authors in every commit message:
Co-Authored-By: Grey Newell <greyshipscode@gmail.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
claude/issue-{number}-{YYYYMMDD}-{HHMM}