SuperAPI AI 工具集

git-pushing

编程与开发

查看项目

更新于 10-16 02:35

技能介绍

用途:在用户要求提交并推送变更时自动完成 Git 工作流,包括暂存所有变更、创建符合 conventional commit 规范的提交信息并推送到远程分支。

主要能力:自动暂存变更、生成 conventional commit 信息、添加 Claude footer、使用 -u 参数推送。

使用方式:始终通过脚本执行,不要手动运行 git 命令。默认用法:bash skills/git-pushing/scripts/smart_commit.sh;自定义提交信息:bash skills/git-pushing/scripts/smart_commit.sh "feat: add feature"。

适用场景:用户明确要求推送(如 "push this"、"commit and push")、提到保存到远程(如 "save to github"、"push to remote")、完成功能后想分享、或说出 "let's push this up"、"commit these changes" 等短语时自动激活。

限制:官方资料未提供脚本内部实现细节、错误处理方式、认证配置要求及权限说明;除上述命令外未提供其他用法或参数。