Commit (Master Repo Only)
Stage, commit, and push changes in the root workspace only. This skill does NOT touch any sub-repos under repos/.
Scope
- Only stage and commit files in the root workspace
- Exclude everything under
repos/*/— do not stage, commit, or modify anything in sub-repos - If
git statusshows changes only inrepos/, inform the user there's nothing to commit in the master repo and suggest using/commit-all-reposinstead
Instructions
- Run
git status(never use-uall) andgit diffto review changes — ignore any changes underrepos/ - Run
git log --oneline -5to match recent commit message style - Follow the commit message guidelines in
.claude/prompt-snippets/commit-message.md - Stage only root-level files using explicit paths — never
git add -Aorgit add .which could pull in sub-repo changes - Create the commit
- Run
git pushto push the commit to the remote - Run
git statusto verify
If there are no root-level changes to commit, say so and stop.