跳到正文
TakoAPI
返回技能列表

git-pushing

由 tianyi-billy-ma 提供

Git & GitHub
618下载量由 clawskills.sh 提供
1浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Stage, commit, and push git changes with conventional commit messages.

描述

该技能的功能

Stages all changes, creates a conventional commit message, and pushes to the remote branch in one step. A script handles staging, message formatting with a Claude footer, and push with upstream tracking.

Enforces conventional commit format automatically so you don't have to remember the syntax or manually stage, message, and push as separate steps.

何时使用

  • Committing finished feature work at end of a dev session
  • Pushing a quick bug fix to a shared branch
  • Saving work before switching to a different task
  • Submitting changes with a properly formatted conventional commit
  • Pushing code after completing a code review round

示例工作流

输入

User asks: Commit and push my changes

智能体
  1. 1

    Runs smart_commit.sh script

  2. 2

    Stages all modified files

  3. 3

    Generates a conventional commit message based on the changes

  4. 4

    Appends Claude footer to the commit

  5. 5

    Pushes to remote with -u flag for upstream tracking

输出

All changes committed with a conventional message and pushed to the remote branch

安装

clawhub install tianyi-billy-ma/git-pushing

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接