360 Secure SkillHub
360 安全技能中心

Git Deploy

该 Skill 通过 scripts/deploy.sh 将工作区改动全部暂存,使用传入的提交信息执行提交,并推送到当前分支所在的 Git 远程仓库。仓库地址与访问令牌为预先写入的固定值,脚本假设在项目根目录运行,不涉及构建、测试、分支切换或冲突处理。

分类:自动化
sirenday
sirenday
热度 42.59
最近更新 2026-05-18 12:25:08

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add sirenday/git-deploy
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
git-deploy
description
Simple deployment skill for local git operations. Use when you need to add, commit, and push changes to the Git repository. Designed for quick local deployments (Tasks

Git Deploy

Overview

This skill automates the standard git workflow for local development:

  • Stage all changes
  • Commit with a message
  • Push to the current branch

The script uses pre-configured repository URL and token.

Usage

scripts/deploy.sh "feat: Task #X - Description"

Repository

Notes

  • The script assumes it is run in the project root.
  • If you need to push to a specific branch, modify the script or commit message.