AgentSkillsCN

git-pushing

按照常规提交规范,为Git变更打上提交信息,完成提交与推送操作。当用户希望提交并推送更改、提及要将本地代码推送到远程仓库,或请求保存并推送当前工作时,此技能尤为适用。同时,还可…

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 activate..."
risk: unknown
source: rootcastle-rei

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
bash skills/git-pushing/scripts/smart_commit.sh

With custom message:

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

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


🏰 Rei Skills — Curated by Rootcastle Engineering & Innovation | Batuhan Ayrıbaş
Engineering Beyond Boundaries | admin@rootcastle.com