← 返回 Skills 市场
tianyi-billy-ma

Git Pushing

作者 Tianyi-Billy-Ma · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
981
总下载
0
收藏
8
当前安装
1
版本数
在 OpenClaw 中安装
/install git-pushing
功能描述
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.
使用说明 (SKILL.md)

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.

安全使用建议
This skill appears to do what it says, but review the included script before use. Key points: the script runs 'git add .' and will stage and push all changes (including any secrets or files not intended for commit) without prompting — make sure .gitignore is correct and use this only in repos you trust. If you prefer safer behavior, run the script manually after inspecting staged changes, or modify it to prompt for confirmation, show 'git status'/'git diff --staged' before committing, or require an explicit positive confirmation before pushing. Also note the script adds a 'Co-Authored-By: Claude' footer to commits and will use whatever git remote credentials are already configured on your system.
功能分析
Type: OpenClaw Skill Name: git-pushing Version: 1.0.0 The skill bundle is benign. The `SKILL.md` clearly instructs the agent to use a specific script for git operations, preventing arbitrary command execution. The `scripts/smart_commit.sh` script performs standard git actions (staging all changes, committing, pushing) and handles user-provided commit messages safely within the `git commit -m` command, preventing shell injection. There is no evidence of data exfiltration, unauthorized network activity, persistence mechanisms, or prompt injection attempts against the agent with malicious intent.
能力评估
Purpose & Capability
Name/description (stage, commit, push with conventional messages) matches the included script and SKILL.md. No unrelated credentials, binaries, or install actions are requested.
Instruction Scope
SKILL.md mandates ALWAYS running the included script (bash skills/git-pushing/scripts/smart_commit.sh). The script runs 'git add .' (staging everything) and then commits and pushes without interactive confirmation. That behavior is within the stated purpose but is high-impact: it can accidentally stage and push secrets or files the user didn't intend to include. The script does not call external endpoints beyond normal git remote operations and only prints a GitHub PR URL; it does add a 'Co-Authored-By' footer which may be undesirable for some users.
Install Mechanism
No install spec; skill is instruction + included script only. Nothing is downloaded or installed to disk beyond the provided script file, so install risk is low.
Credentials
Skill requests no environment variables, credentials, or config paths. It relies on the user's existing git configuration and remote credentials, which is appropriate for a git push helper.
Persistence & Privilege
always is false and the skill does not request persistent system privileges or modify other skills. It runs only when invoked (or when the agent decides to invoke it).
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install git-pushing
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /git-pushing 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of git-pushing skill. - Automates staging, committing (with conventional commit messages), and pushing git changes. - Activates when users request to push, commit, or save work to remote repositories using common workflow phrases. - Provides a standardized bash script for the entire workflow, including staging, commit, and push steps. - Supports custom commit messages and ensures use of the -u flag when pushing. - Script adds a Claude footer to commits automatically.
元数据
Slug git-pushing
版本 1.0.0
许可证
累计安装 8
当前安装数 8
历史版本数 1
常见问题

Git Pushing 是什么?

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. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 981 次。

如何安装 Git Pushing?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install git-pushing」即可一键安装,无需额外配置。

Git Pushing 是免费的吗?

是的,Git Pushing 完全免费(开源免费),可自由下载、安装和使用。

Git Pushing 支持哪些平台?

Git Pushing 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Git Pushing?

由 Tianyi-Billy-Ma(@tianyi-billy-ma)开发并维护,当前版本 v1.0.0。

💬 留言讨论