用途:git-pushing 用于把当前 Git 变更暂存、生成符合 conventional commit 规范的提交信息,并推送到远程分支,适合在完成某项改动后需要提交并同步到远端的场景。
主要能力:自动执行暂存(staging)、生成规范提交信息、附加 Claude footer,并使用 -u 参数推送。触发时机包括:用户明确要求推送(如“push this”“commit and push”)、提到保存到远程(如“save to github”“push to remote”)、完成功能后想要分享,或说出“let's push this up”“commit these changes”等短语。
使用方式:始终使用脚本,不要手写 git 命令。默认用法为 bash skills/git-pushing/scripts/smart_commit.sh;如需自定义提交信息,使用 bash skills/git-pushing/scripts/smart_commit.sh "feat: add feature"。
限制:资料未提供脚本的内部实现细节、失败处理方式、权限要求或对分支状态的额外约束,这些方面暂未提供。