Allow commit commands to operate on only staged changes when requested,
rather than always staging everything. This enables more granular control
over what gets committed.
- Add `Bash(git diff:*)` to allowed-tools in both commit and
commit-push-pr commands
- Add instructions to check staged changes with `git diff --staged`
and skip staging additional files when asked for staged-only commits
- Restructure commit.md flow to clarify staged-only vs full commit
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Reflow long lines in command files to stay within 80 characters,
matching the project's line length convention. Also fix lowercase
"markdown" to "Markdown" in refactor-agents.md.md.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Bring in three slash commands from the official claude-plugins repo
to streamline common git workflows directly from Claude.
- clean-gone-branches: remove local branches deleted on remote
- commit-push-pr: commit, push, and open a PR in one step
- commit: create a git commit from current changes
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>