Auto Commit Push

git add

v1.3.0

关于此技能

适用场景: 本 skill 用于把“先 git add. 暂存当前所有更改、根据当前修改生成符合 github flow 规范的提交信息、本地提交、提交失败则修复直到成功、最终推送”收敛成一个稳定的仓库工作流。. 本地化技能摘要: AI 自主学习代理系统 # Auto Commit Push 本 skill 用于把“先 git add. Claude Code, Cursor, and Windsurf workflows.

功能特性

本 skill 用于把“先 git add. 暂存当前所有更改、根据当前修改生成符合 GitHub Flow 规范的提交信息、本地提交、提交失败则修复直到成功、最终推送”收敛成一个稳定的仓库工作流。
用户明确要求自动生成英文 commit message
用户要求先把当前所有更改放进暂存区再提交
如果用户只是要 review 改动,不要直接触发提交,优先改用 requesting-code-review。
优先遵守 GitHub Flow 规范

# 核心主题

yt8766 yt8766
[1]
[0]
更新于: 4/28/2026

技能概览

先看适用场景、限制条件和安装路径,再决定是否继续深入。

适用场景: 本 skill 用于把“先 git add. 暂存当前所有更改、根据当前修改生成符合 github flow 规范的提交信息、本地提交、提交失败则修复直到成功、最终推送”收敛成一个稳定的仓库工作流。. 本地化技能摘要: AI 自主学习代理系统 # Auto Commit Push 本 skill 用于把“先 git add. Claude Code, Cursor, and Windsurf workflows.

核心价值

推荐说明: auto-commit-push helps agents 本 skill 用于把“先 git add. 暂存当前所有更改、根据当前修改生成符合 github flow 规范的提交信息、本地提交、提交失败则修复直到成功、最终推送”收敛成一个稳定的仓库工作流。. AI 自主学习代理系统 # Auto Commit Push 本 skill 用于把“先 git add. This AI agent skill

适用 Agent 类型

适用场景: 本 skill 用于把“先 git add. 暂存当前所有更改、根据当前修改生成符合 github flow 规范的提交信息、本地提交、提交失败则修复直到成功、最终推送”收敛成一个稳定的仓库工作流。.

赋予的主要能力 · Auto Commit Push

适用任务: 本 skill 用于把“先 git add. 暂存当前所有更改、根据当前修改生成符合 GitHub Flow 规范的提交信息、本地提交、提交失败则修复直到成功、最终推送”收敛成一个稳定的仓库工作流。
适用任务: 用户明确要求自动生成英文 commit message
适用任务: 用户要求先把当前所有更改放进暂存区再提交

! 使用限制与门槛

  • 限制说明: Requires repository-specific context from the skill documentation
  • 限制说明: Works best when the underlying tools and dependencies are already configured

关于来源内容

The section below is adapted from the upstream repository. Use it as supporting material alongside the fit, use-case, and installation summary on this page.

实验室 Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

常见问题与安装步骤

以下问题与步骤与页面结构化数据保持一致,便于搜索引擎理解页面内容。

? FAQ

Auto Commit Push 是什么?

适用场景: 本 skill 用于把“先 git add. 暂存当前所有更改、根据当前修改生成符合 github flow 规范的提交信息、本地提交、提交失败则修复直到成功、最终推送”收敛成一个稳定的仓库工作流。. 本地化技能摘要: AI 自主学习代理系统 # Auto Commit Push 本 skill 用于把“先 git add. Claude Code, Cursor, and Windsurf workflows.

如何安装 Auto Commit Push?

运行命令:npx killer-skills add yt8766/learning-agent-core。支持 Cursor、Windsurf、VS Code、Claude Code 等 19+ IDE/Agent。

Auto Commit Push 适用于哪些场景?

典型场景包括:适用任务: 本 skill 用于把“先 git add. 暂存当前所有更改、根据当前修改生成符合 GitHub Flow 规范的提交信息、本地提交、提交失败则修复直到成功、最终推送”收敛成一个稳定的仓库工作流。、适用任务: 用户明确要求自动生成英文 commit message、适用任务: 用户要求先把当前所有更改放进暂存区再提交。

Auto Commit Push 支持哪些 IDE 或 Agent?

该技能兼容 Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer。可使用 Killer-Skills CLI 一条命令通用安装。

Auto Commit Push 有哪些限制?

限制说明: Requires repository-specific context from the skill documentation;限制说明: Works best when the underlying tools and dependencies are already configured。

安装步骤

  1. 1. 打开终端

    在你的项目目录中打开终端或命令行。

  2. 2. 执行安装命令

    运行:npx killer-skills add yt8766/learning-agent-core。CLI 会自动识别 IDE 或 AI Agent 并完成配置。

  3. 3. 开始使用技能

    Auto Commit Push 已启用,可立即在当前项目中调用。

! 来源说明

此页面仍可作为安装与查阅参考。继续使用前,请结合上方适用场景、限制条件和上游仓库说明一起判断。

Upstream Repository Material

The section below is adapted from the upstream repository. Use it as supporting material alongside the fit, use-case, and installation summary on this page.

Upstream Source

Auto Commit Push

AI 自主学习代理系统 # Auto Commit Push 本 skill 用于把“先 git add. Claude Code, Cursor, and Windsurf workflows. 本 skill 用于把“先 git add.

SKILL.md
Readonly
Upstream Repository Material
The section below is adapted from the upstream repository. Use it as supporting material alongside the fit, use-case, and installation summary on this page.
Upstream Source

Auto Commit Push

本 skill 用于把“先 git add . 暂存当前所有更改、根据当前修改生成符合 GitHub Flow 规范的提交信息、本地提交、提交失败则修复直到成功、最终推送”收敛成一个稳定的仓库工作流。

何时使用

在这些场景下优先使用:

  • 用户明确要求自动生成英文 commit message
  • 用户要求自动本地提交
  • 用户要求先把当前所有更改放进暂存区再提交
  • 用户要求提交失败后自动修复并重试
  • 用户要求把当前分支自动推送到远端

如果用户只是要 review 改动,不要直接触发提交,优先改用 requesting-code-review

仓库特定约束

  • 优先遵守 GitHub Flow 规范
  • 不要直接向 main 提交或推送
  • 当前分支如果是 main,必须先按改动性质切到合规分支:
    • feature/*
    • fix/*
    • hotfix/*
    • chore/*
  • 不要使用破坏性命令,例如 git reset --hard
  • 除非用户明确要求,否则不要 git commit --amend
  • 推送时优先推当前分支,不要擅自推其他分支

默认执行步骤

  1. 读取当前 git 上下文
    • 运行 git status --short
    • 运行 git branch --show-current
    • 必要时查看 git diff --stat 和目标 diff
  2. 判断分支是否合法
    • 如果在 main,先创建或切换到合规分支
    • 分支名按仓库规范与改动性质命名,不要临时发明风格
  3. 生成英文提交信息
    • 基于当前修改生成提交信息,不要照抄用户原话
    • 提交信息必须遵守 GitHub Flow 规范
    • 优先使用简洁、可读、目的明确的英文
    • 默认保持单行主题,必要时再补正文
  4. 暂存当前所有更改
    • 执行 git add .
  5. 执行本地提交
    • 运行 git commit -m "<english message>"
  6. 如果提交失败,进入自动修复循环
    • 阅读 hook、lint、typecheck、test 或格式化报错
    • 先修复根因,不要只改表面现象
    • 修复后重新执行 git add .
    • 再次执行 git commit -m "<english message>"
    • 同一阻断最多连续自修复 3 次;超过后再报告 blocker
  7. 推送前执行 code-review 风险门
    • 在任何远程推送前,必须对本次已提交 diff 做一次 code-review
    • 默认按 review 口径检查 bug、行为回归、缺失验证、接口兼容性、数据/安全风险和仓库规范偏离
    • 如发现确认成立的风险或缺陷,必须先修复、重新 git add .、补充提交或按用户要求 amend,并重新执行必要验证
    • 修复后必须再次执行 code-review 风险门,直到没有必须阻断推送的问题
    • 只有 code-review 结论为无阻断风险时,才允许进入远程推送
  8. 提交成功且 code-review 风险门通过后推送
    • 默认 git push origin <current-branch>
    • 如果是首次推送,也可使用 git push -u origin <current-branch>
    • 如果远端拒绝是因为分支落后,优先:
      1. git fetch origin
      2. git rebase origin/<current-branch>
      3. 解决冲突、验证、继续 rebase
      4. git push --force-with-lease origin <current-branch> 仅用于本分支 rebase 后的历史改写

英文提交信息规则

  • 优先使用与 GitHub Flow 规范 一致的提交信息
  • 默认优先采用 Conventional Commit 风格:
    • feat: ...
    • fix: ...
    • refactor: ...
    • docs: ...
    • test: ...
    • chore: ...
  • 主题行要描述结果,不要只写动作
  • 避免无信息量文案:
    • update files
    • fix stuff
    • changes
  • 结合仓库改动范围选择最合适的类型;如果主要是仓库技能、CI 或文档,一般优先 docs:chore:,只有真正新增用户能力时才用 feat:

失败修复策略

优先按失败来源处理:

  • prettier / 格式化失败
    • 修复格式问题后重新 git add .
  • eslint 失败
    • 修复真实规则问题后重新 git add .,不靠禁用规则绕过
  • tsc / 类型失败
    • 修复类型、contract 或导入问题后重新 git add .
  • test 失败
    • 先确认是否由本轮改动引起,再修复后重新 git add .
  • code-review 发现阻断风险
    • 修复所有确认成立的 bug、回归风险、缺失验证或安全/兼容性问题
    • 修复后重新提交并再次执行 code-review 风险门
    • 不允许带着已确认阻断风险推送远端
  • rebase / push 冲突
    • 理解远端变化后做最小必要冲突解决,不盲目覆盖

输出要求

完成后输出这些关键信息:

  • 最终使用的英文 commit message
  • 是否发生过 hook 失败,以及如何修复
  • 本地提交是否重试过,以及最终如何成功
  • 推送前 code-review 是否发现风险;若发现,说明修复结果与复审结论
  • 最终推送到哪个分支
  • 如果仍有风险或未完成项,要明确说明

推荐联动文件

相关技能

寻找 Auto Commit Push 的替代方案 (Alternative) 或可搭配使用的同类 community Skill?探索以下相关开源技能。

查看全部

openclaw-release-maintainer

Logo of openclaw
openclaw

本地化技能摘要: 🦞 # OpenClaw Release Maintainer Use this skill for release and publish-time workflow. It covers ai, assistant, crustacean workflows. Claude Code, Cursor, and Windsurf workflows.

333.8k
0
AI

widget-generator

Logo of f
f

本地化技能摘要: Generate customizable widget plugins for the prompts.chat feed system # Widget Generator Skill This skill guides creation of widget plugins for prompts.chat. It covers ai, artificial-intelligence, awesome-list workflows. Claude Code, Cursor, and Windsurf

149.6k
0
AI

flags

Logo of vercel
vercel

本地化技能摘要: The React Framework # Feature Flags Use this skill when adding or changing framework feature flags in Next.js internals. It covers blog, browser, compiler workflows. Claude Code, Cursor, and Windsurf workflows.

138.4k
0
浏览器

pr-review

Logo of pytorch
pytorch

本地化技能摘要: Usage Modes No Argument If the user invokes /pr-review with no arguments, do not perform a review. It covers autograd, deep-learning, gpu workflows. Claude Code, Cursor, and Windsurf workflows.

98.6k
0
开发者工具