git-pushing

自动完成代码变更的暂存、提交与远程推送,生成符合规范的提交信息并附加上下文签名,适用于将本地修改同步至仓库的协作场景。

快捷安装

在终端运行此命令,即可一键安装该 Skill 到您的 Claude 中

npx skills add mhattingpete/claude-skills-marketplace --skill "git-pushing"

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.