Agent Skills
› mhattingpete/claude-skills-marketplace
› git-pushing
git-pushing
GitHub自动化 Git 提交流程,通过执行脚本完成代码暂存、规范提交及推送到远程仓库。适用于用户请求保存或推送代码变更的场景。
触发场景
用户要求推送代码变更
提及将工作保存到远程仓库
完成功能后希望分享代码
安装
npx skills add mhattingpete/claude-skills-marketplace --skill git-pushing -g -y
SKILL.md
Frontmatter
{
"name": "git-pushing",
"description": "Stage, commit, and push git changes with conventional commit messages. Use when user wants to commit and push changes, mentions pushing to remote, or asks to save and push their work. Also activates when user says \"push changes\", \"commit and push\", \"push this\", \"push to github\", or similar git workflow requests."
}
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.
版本历史
- b5b34bc 当前 2026-08-20 08:47


