Stage, commit, and push changes for the sewage project. Creates a branch, commits with a descriptive message, pushes, and optionally creates a PR. This skill should be used when asked to "commit", "save changes", "push", or "create a PR".
Start a fresh conversation. Replace the highlighted placeholders.
Use commit to create a new branch, stage only [files to include], and commit them using [commit message]; exclude data, temporary files, secrets, and local settings, then stop and ask for my final confirmation before pushing or creating a pull request.
Required inputs
[files to include]
[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, and push changes for the sewage project. Creates a branch, commits with a descriptive message, pushes, and optionally creates a PR. This skill should be used when asked to "commit", "save changes", "push", or "create a PR".argument-hint: "[optional: commit message]"allowed-tools: ["Bash", "Read", "Glob"]
Commit and Push
Stage changes, commit with a descriptive message, and push to remote.
Steps
Check current state:
git status
git diff --stat
git log --oneline -5
Create a branch from 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
Any files containing secrets or API keys
Large data files (anything in data/)
Temporary files (anything in data/temp/)
Commit with a descriptive message:
If $ARGUMENTS is provided, use it as the commit message. Otherwise, analyse the staged changes and write a message that explains why, not just what.
git commit -m "$(cat <<'EOF'
<commit message here>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
EOF
)"