Development v1.0.0

commit-brennerspear

Create a git commit with a contextual message based on current changes, then push the branch.

brennerspear 更新于 2026-02-25 1 浏览
下载 SKILL

技能说明

Create a git commit with a contextual message based on current changes, then push the branch.

使用场景

Create a git commit with a contextual message based on current changes, then push the branch.

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/commit-brennerspear
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

4 个文件 · 14 kB
SKILL.md text/markdown
---
name: commit
description: Create a git commit with a contextual message based on current changes, then push the branch.
allowed-tools: [Bash]
---

## Context

- Current git status: !`git status`
- Current git diff (staged and unstaged changes): !`git diff HEAD`
- Current branch: !`git branch --show-current`
- Recent commits: !`git log --oneline -10`

## Your task

Based on the above changes, stage everything, create one commit with a contextual message, and push the current branch.

Required sequence:
1. Stage changes.
2. Create a single commit.
3. Push the current branch to origin (use `--set-upstream origin <branch>` if needed).

Do not use interactive commands and do not output extra commentary.

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。