git-pushing-fast-cn

git-pushing-fast-cn is a skill for Claude Code, Codex from YangsonHung/awesome-agent-skills. It costs 71 tokens per session (1,613 once invoked), scanned A, original, MIT.

A skill for committing and pushing changes from the current single branch, using Conventional Commits—a standard format for describing code changes. It examines the diff, selects the requested changes, creates a focused commit, and pushes it to the branch’s tracked remote.

In plain words
What is it for?
Saving approved work to the remote repository, generating commit messages from the changes, and documenting tests or checks for more involved commits. It does not merge branches, rewrite history, or create pull requests.
Why use it?
It turns local edits into a consistent remote commit while helping avoid accidentally including unrelated changes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Saving approved work to the remote repository, generating commit messages from the changes, and documenting tests or checks for more involved commits. It does not merge branches, rewrite history, or create pull requests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yangsonhung/awesome-agent-skills/git-pushing-fast-cn
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add YangsonHung/awesome-agent-skills --skill git-pushing-fast-cn
Clone the repo
git clone --depth 1 https://github.com/YangsonHung/awesome-agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for git-pushing-fast-cn

README.md
[![agentmods](https://agentmods.dev/badge/skills/yangsonhung/awesome-agent-skills/git-pushing-fast-cn/github.svg)](https://agentmods.dev/skills/yangsonhung/awesome-agent-skills/git-pushing-fast-cn)
Your own site
<a href="https://agentmods.dev/skills/yangsonhung/awesome-agent-skills/git-pushing-fast-cn"><img src="https://agentmods.dev/badge/skills/yangsonhung/awesome-agent-skills/git-pushing-fast-cn/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for git-pushing-fast-cn

Your own site · 80×15
<a href="https://agentmods.dev/skills/yangsonhung/awesome-agent-skills/git-pushing-fast-cn"><img src="https://agentmods.dev/badge/skills/yangsonhung/awesome-agent-skills/git-pushing-fast-cn.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,613 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00071 $0.01613
Opus 5 $0.00036 $0.00807
Sonnet 5 $0.00014 $0.00323
Haiku 4.5 $0.00007 $0.00161

Measured 11d ago against content hash f0158d2e9c08, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

git-pushing-fast-cn scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/zh-cn/git-pushing-fast-cn/SKILL.md · 139 lines

How it starts

The opening of the file, as written. The whole thing — 139 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Git 快速提交推送

Overview

在当前仓库的当前分支上,快速、安全地提交并推送本地改动。

默认结果是一个聚焦的 Conventional Commit,再推送到当前分支跟踪的远端。需要分析实际 diff,暂存用户要求的改动范围,根据改动内容生成提交信息;对于非简单改动,需要写分段提交正文,让评审者能按主题快速理解改动内容。

这个流程适用于普通单分支交付,例如把当前工作保存到远端;不处理分支合并、历史改写或 PR 创建。

Conventional Commit 规则

基础格式:

<type>[可选 scope]: <description>

[正文:仅简单改动可省略;非简单改动必须写分段正文]

[footer:破坏性变更必须填写;相关 issue 引用可按需填写]

在本技能中,正文只对简单提交可选。非简单改动必须写分段正文;如果运行了测试、校验、hook 或手动验证,必须包含“测试:”或“验证:”等价分段。

类型:

Type 用途
feat 新增用户可见或产品能力
fix 修复 bug
docs 仅文档变更
style 不影响逻辑的格式或样式变更
refactor 不新增功能、不修 bug 的代码重构
perf 性能优化
test 测试或覆盖率变更
build 构建系统、依赖或打包变更
ci CI 或自动化配置变更
chore 维护或杂项变更
revert 回滚历史提交

破坏性变更:

  • 在 type 或 scope 后使用 !,例如 feat(api)!: 移除旧字段
  • 行为契约发生变化时,在 footer 中加入 BREAKING CHANGE:

提交信息风格:

  • 使用仓库既有的提交语言。
  • 标题使用现在时和祈使语气,例如 fix login redirect修复登录跳转
  • 标题尽量控制在 72 个字符以内。
  • 相关时在正文或 footer 中引用 issue,例如 Closes #123Refs #456

何时使用

当用户要求执行以下操作时使用本技能:

  • 提交并推送当前工作
  • “推上去”、“保存到远端”或完成普通单分支交付
  • 将 staged 和 unstaged 改动整理为一个 Conventional Commit
  • 提交正文需要按功能区、界面区、测试、文档或校验结果分段说明

不要使用

以下场景不要使用本技能:

  • 需要将工作分支合并到主分支的双分支流程
  • 强制推送、rebase、squash、amend 或改写历史
  • 创建 Pull Request,除非用户在推送后明确要求
  • 代码评审、发布说明、周报或 changelog 生成
  • git reset --hardgit checkout -- <file> 等破坏性命令

使用说明

按以下流程顺序执行。目标仓库、分支或推送目的地不明确时,停止并说明阻塞原因,不要猜测执行。

  1. 检查仓库状态。

    • 运行 git status --shortgit branch --show-currentgit remote -v
    • 可用时通过 git rev-parse --abbrev-ref --symbolic-full-name @{u} 检查 upstream。
    • 先看暂存区统计和实际内容:git diff --cached --statgit diff --cached;如果没有暂存改动,再看 git diff --statgit diff
    • 需要脚本友好地解析状态时,使用 git status --porcelain
    • 不得丢弃或回滚用户改动。
  2. 暂存改动。

    • 用户要求提交全部改动时,执行 git add -A
    • 用户指定更小范围时,只暂存指定范围。
    • 仅当用户要求的范围需要逻辑分组时,使用指定文件、路径模式或 git add -p
    • 重新运行 git status --short,确认目标文件已经暂存。
    • 禁止让已知密钥文件留在待提交暂存区,包括 .env、凭证文件、私钥或 token。
  3. 生成提交信息。

    • 使用 Conventional Commits:type(scope): 中文摘要
    • 根据实际 diff 选择 type 和 scope,不得只根据文件名判断。
    • 对非简单改动,提交正文必须包含 2-5 个简短分段。
    • 分段标题命名受影响区域,下面用列表说明具体变化。
    • 如果运行了测试、校验、hook 或手动验证,需要加入“测试:”或“验证:”分段。

Read the full file on GitHub · 139 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 139 lines · 71 tokens per session scan A f0158d2e9c08

Subscribe to this mod's changes

git-pushing-fast-cn is a skill published in the GitHub repository YangsonHung/awesome-agent-skills (18 stars, last pushed 1mo ago), licensed MIT. It adds 71 tokens to every session and 1,613 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

pr-review

Address feedback left on a GitHub pull request: fetch unresolved review threads, make agreed Elixir/Phoenix code fixes, reply, and resolve. Use for a PR URL/number or reviewer comments. NOT for pre-PR review, findings triage, or CI monitoring.

oliver-kriska/claude-elixir-phoenix · 59 tokens

phx-pr-review

Address feedback left on a GitHub pull request: fetch unresolved review threads, make agreed Elixir/Phoenix code fixes, reply, and resolve. Use for a PR URL/number or reviewer comments. NOT for pre-PR review, findings triage, or CI monitoring.

oliver-kriska/claude-elixir-phoenix · 61 tokens

ship

Commit, push, and optionally create or update a PR for the current staged changes. Use when the user asks to "ship", "ship it", "ship changes", "commit push and PR", or "ship this".

tobihagemann/turbo · 47 tokens

branch-and-worktree-workflow

Isolates feature work in its own branch or worktree and integrates it cleanly when done. Use this when starting work that should not disturb the current workspace, when several efforts must proceed in parallel on one repository, or when implementation is finished and the change needs merging, rebasing, or splitting…

cbrock84/headcount · 70 tokens

stage

Stage implementation changes for commit with precise file selection. Use when the user asks to "stage changes", "stage files", "add files to staging", or "prepare changes for commit".

tobihagemann/turbo · 39 tokens

commit-staged-push

Commit already-staged changes and push in one step. Use when the user asks to "commit and push staged changes", "commit and push what's staged", or "commit staged and push".

tobihagemann/turbo · 44 tokens