Skip to content

Commit local changes and push them to origin, with no pull request, using enforced signoff and authorship.

CCM score
55 of 100
skills.sh installs
3.4K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the workflow: optional new branch, review of git status and git diff, explicit staging, commit, and push to origin
  • Stages each file individually, rejecting git add -A and git add . to keep temporary or unrelated files out of commits
  • Enforces --signoff and a fixed author on every commit, and keeps AI-related wording out of commit messages
  • Designed for users who want to push changes directly without opening a pull request

Install

$ npx -y skills add zc277584121/mygitplugin --skill git-commit-push -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Git Commit & Push

提交改动并推送到 origin 远端,不创建 PR。

触发条件

当用户要求提交改动并 push(但不需要提 PR)时使用此 skill。

执行步骤

  1. 创建新分支:git checkout -b <branch-name>,分支名由用户指定或根据改动内容自动生成。如果用户希望直接在当前分支提交,则跳过此步。

  2. Review 改动:先用 git status 和 git diff 自行检查所有改动,确保没有把临时文件、调试代码或不相关的文件混进来。

  3. 暂存文件:git add 相关改动文件。不要使用 git add -A 或 git add .,而是逐个添加相关文件。

  4. 提交改动:

    git commit --signoff --author="Cheney Zhang <chen.zhang@zilliz.com>" -m "<commit message>"
    
    • commit message 用英文编写,简洁描述改动内容。
    • 绝对不要在 commit message 中提及 AI、Claude、LLM 或任何自动生成相关的字样。
  5. 推送分支:git push origin <branch-name>。

注意事项

  • 提交前检查是否有未暂存的改动需要处理。
  • 所有 commit 都需要 --signoff,作者为 "Cheney Zhang chen.zhang@zilliz.com"。
  • commit message 中不能出现任何 AI 相关字样。

Details

Repository
github.com/zc277584121/mygitplugin
Category
Git & Releases
First seen
Jun 3, 2026

Questions

What does the git-commit-push skill do?

The git-commit-push skill commits your changes and pushes the branch to origin without opening a pull request. It first creates a branch, reviews the changes, stages only the related files, and commits with signoff.

How do I install the git-commit-push skill?

Run npx -y skills add zc277584121/mygitplugin --skill git-commit-push -y in your project. Once installed, the agent can commit and push your changes to origin on request.

Which category is git-commit-push in, and what sets it apart?

It sits in the Git & Releases category and ranks in the top 100 there. Unlike the PR-focused skills nearby, it stops at pushing the branch to origin and never creates a pull request.

Does git-commit-push need any special setup?

The skill relies on git and the Bash tool, and the repository's README notes that the gh CLI must be authenticated. Commits are signed off with the author set in the skill file.

More from zc277584121/mygitplugin

All 7

Similar to Git Commit Push

More Git & Releases