Start a fresh conversation. Replace the highlighted placeholders.
Use commit to Stage [files to stage], commit them with [commit message], create a PR, and merge to main; stop after the PR is created to wait for my integration choice before merging and deleting the branch.
Required inputs
[files to stage]
[commit message]
User-approved starter prompt based on a pinned source version; check current skill requirements before running. Task evidence ↗
SKILL.md
name: commitdescription: Stage, commit, create PR, and merge to main. Use for the standard commit-PR-merge cycle.argument-hint: "[optional: commit message]"allowed-tools: ["Bash", "Read", "Glob"]
Commit, PR, and Merge
Stage changes, commit with a descriptive message, create a PR, and merge to main.
Steps
Check current state:
git status
git diff --stat
git log --oneline -5
Create a branch from the current state:
git checkout -b <short-descriptive-branch-name>
Stage files — add specific files (never use git add -A):
git add <file1> <file2> ...
Do NOT stage .claude/settings.local.json or any files containing secrets.
Commit with a descriptive message:
If $ARGUMENTS is provided, use it as the commit message. Otherwise, analyze the staged changes and write a message that explains why, not just what.