Slash commands
Custom /commands — drop one in ~/.claude/commands/ and call it with a slash.
- /commit gitcommitworkflow
Stages and commits with a clean conventional-commit message generated from the actual diff — no "update files" commits.
~/.claude/commands/commit.md - /explain understandingonboardingcodebase
Explains how a file, function, or feature works — traces the real call path instead of guessing from names.
~/.claude/commands/explain.md - /pr gitpull requestgithub
Generates a pull-request title and body from every commit on the branch — not just the latest diff.
~/.claude/commands/pr.md