返回 Skill 列表
extension
分类: 开发与工程无需 API Key

git-pushing

使用规范的提交信息进行git的暂存、提交和推送。当用户想要提交并推送更改,提到推送到远程仓库,或者要求保存并推送他们的工作时使用。此外,当用户说“推送更改”、“提交并推送”、“推送这个”、“推送到github”,或类似的git工作流程请求时也会激活。

person作者: jakexiaohubgithub

Git Push Workflow

Stage all changes, create a conventional commit, and push to the remote branch.

When to Use

Automatically activate when the user:

  • Explicitly asks to push changes ("push this", "commit and push")
  • Mentions saving work to remote ("save to github", "push to remote")
  • Completes a feature and wants to share it
  • Says phrases like "let's push this up" or "commit these changes"

Workflow

ALWAYS use the script - do NOT use manual git commands:

bash skills/git-pushing/scripts/smart_commit.sh

With custom message:

bash skills/git-pushing/scripts/smart_commit.sh "feat: add feature"

Script handles: staging, conventional commit message, Claude footer, push with -u flag.