git-commit-pr
Installation
SKILL.md
Git Commit & PR
提交改动并向 official(上游)仓库创建 Pull Request。
触发条件
当用户要求提交改动并给原始仓库(official)提 PR 时使用此 skill。
执行步骤
-
创建新分支:
git checkout -b <branch-name>,分支名由用户指定或根据改动内容自动生成。 -
Review 改动:先用
git status和git diff自行检查所有改动,确保没有把临时文件、调试代码或不相关的文件混进来。 -
暂存文件:
git add相关改动文件。不要使用git add -A或git add .,而是逐个添加相关文件。
Related skills
More from zc277584121/mygitplugin
git-summarize-weekly
Summarize weekly GitHub contributions for writing weekly reports
152git-sync-main
Sync local main branch with the latest code from official upstream or origin remote
150git-create-repo
Create a new GitHub repository and clone it locally
150git-commit-push
Commit changes and push to origin without creating a PR
150git-fork-clone
Fork a GitHub repo and clone it locally with proper remote setup
149git-get-notification
Check GitHub notifications and recent Issues/PRs for monitored repos
148