360 Secure SkillHub
360 安全技能中心

Git Pushing

该 Skill 提供 Git 提交与推送工作流:通过附带 bash 脚本暂存变更、生成约定式提交信息并推送到远程分支,也可传入自定义提交信息。未包含冲突处理、代码审查或 Pull Request 创建。

分类:开发
tianyi-billy-ma
tianyi-billy-ma
热度 50.09
最近更新 2026-05-18 12:01:02

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add tianyi-billy-ma/git-pushing
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
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.