commit
Stage, commit, and push changes for the master repo only (excludes sub-repos in repos/)
- License 许可
- MIT
- 最近更新
- 2026-09-25
- Stars
- ★ 18
- Forks
- 1
01 前言 Front Matter
- name
- commit
- origin
- template
- description
- Stage, commit, and push changes for the master repo only (excludes sub-repos in repos/)
- user-invocable
- true
03 SKILL.md 正文
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.
04 同仓库更多 Skills
update-all-md-docs
Review and update all markdown docs in the repo-of-repos (excluding cloned repos)
sync-template
Pull latest repo-of-repos template updates into this workspace
remove-repository
Remove a repo or local folder from repos/, updating repos.yaml, repos.md, and .gitignore
pull-all-repos
Clone/pull git repos, verify local folders, auto-register orphans, and regenerate repos.md
pr-all-repos
Create PRs in all sub-repos with uncommitted branches, then link them as siblings
implement-plan
Execute a plan from _plans/, implementing steps, checking off tasks, running tests, and documenting fixes