commit — for Claude Code commit, LLM-ENGINEERS-HANDBOOK, community, for Claude Code, ide skills, bash git status git diff --stat, git add, git add -A, Create, well-documented

v1.0.0

关于此技能

非常适合需要精确 Git 提交管理和版本控制的代码审查代理 本地化技能摘要: Stage changes, run pre-commit hooks, and create a well-formatted git commit # Git Commit Workflow Create a clean, well-documented git commit following this project's conventions. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

功能特性

Git Commit Workflow
Create a clean, well-documented git commit following this project's conventions.
Step 1: Review changes
Show the user a summary of what will be committed.
Step 2: Stage files

# 核心主题

captainsparrow10 captainsparrow10
[0]
[0]
更新于: 2/27/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 9/11

This page remains useful for teams, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution Quality floor passed for review
Review Score
9/11
Quality Score
51
Canonical Locale
en
Detected Body Locale
en

非常适合需要精确 Git 提交管理和版本控制的代码审查代理 本地化技能摘要: Stage changes, run pre-commit hooks, and create a well-formatted git commit # Git Commit Workflow Create a clean, well-documented git commit following this project's conventions. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

核心价值

赋予代理创建干净、文档齐全的Git提交的能力,使用选择性文件暂存和有意义的提交消息,利用Git协议如`git status`、`git diff`和`git add`

适用 Agent 类型

非常适合需要精确 Git 提交管理和版本控制的代码审查代理

赋予的主要能力 · commit

自动编写提交消息
使用`git diff --stat`生成更改摘要
使用选择性文件暂存调试提交问题

! 使用限制与门槛

  • 需要Git安装和配置
  • 不提交包含敏感信息(如`HUGGINGFACE_ACCESS_TOKEN`)的文件,如`.env`

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

评审后的下一步

先决定动作,再继续看上游仓库材料

Killer-Skills 的主价值不应该停在“帮你打开仓库说明”,而是先帮你判断这项技能是否值得安装、是否应该回到可信集合复核,以及是否已经进入工作流落地阶段。

实验室 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

commit 是什么?

非常适合需要精确 Git 提交管理和版本控制的代码审查代理 本地化技能摘要: Stage changes, run pre-commit hooks, and create a well-formatted git commit # Git Commit Workflow Create a clean, well-documented git commit following this project's conventions. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

如何安装 commit?

运行命令:npx killer-skills add captainsparrow10/LLM-ENGINEERS-HANDBOOK/commit。支持 Cursor、Windsurf、VS Code、Claude Code 等 19+ IDE/Agent。

commit 适用于哪些场景?

典型场景包括:自动编写提交消息、使用`git diff --stat`生成更改摘要、使用选择性文件暂存调试提交问题。

commit 支持哪些 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 一条命令通用安装。

commit 有哪些限制?

需要Git安装和配置;不提交包含敏感信息(如`HUGGINGFACE_ACCESS_TOKEN`)的文件,如`.env`。

安装步骤

  1. 1. 打开终端

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

  2. 2. 执行安装命令

    运行:npx killer-skills add captainsparrow10/LLM-ENGINEERS-HANDBOOK/commit。CLI 会自动识别 IDE 或 AI Agent 并完成配置。

  3. 3. 开始使用技能

    commit 已启用,可立即在当前项目中调用。

! 参考页模式

此页面仍可作为安装与查阅参考,但 Killer-Skills 不再把它视为主要可索引落地页。请优先阅读上方评审结论,再决定是否继续查看上游仓库说明。

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

commit

安装 commit,这是一款面向AI agent workflows and automation的 AI Agent Skill。查看评审结论、使用场景与安装路径。

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence

Git Commit Workflow

Create a clean, well-documented git commit following this project's conventions.

Step 1: Review changes

bash
1git status 2git diff --stat

Show the user a summary of what will be committed.

Step 2: Stage files

Stage files selectively (never git add . or git add -A blindly):

bash
1# Stage specific files 2git add <file1> <file2> ...

Files to NEVER commit

PatternReason
.envContains HUGGINGFACE_ACCESS_TOKEN
*.pyc, __pycache__/Compiled Python
.DS_StoremacOS junk
model_output/Downloaded models
data/eval_results/Generated evaluation data
output/Pipeline outputs
.claude/settings.local.jsonPersonal Claude settings
.claude/CLAUDE.local.mdPersonal Claude memory

If $ARGUMENTS says "all" or "todo", stage all modified/untracked files except those above.

Step 3: Pre-commit hooks

This project has pre-commit hooks configured in .pre-commit-config.yaml:

  • ruff (linter) - auto-fixes code style
  • ruff-format (formatter) - auto-formats code
  • gitleaks - scans for leaked secrets

If a hook fails:

  1. The commit is aborted (it did NOT happen)
  2. Fix the issues (ruff usually auto-fixes, just re-stage)
  3. Create a NEW commit (never --amend after a hook failure - that would modify the wrong commit)

Step 4: Commit message format

Use Conventional Commits:

<type>(<scope>): <description>

[optional body]

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Types

TypeWhen to use
featNew feature or functionality
fixBug fix
docsDocumentation changes (README, CLAUDE.md, comments)
refactorCode restructuring without behavior change
choreMaintenance (deps, configs, cleanup)
styleFormatting, linting (no logic change)
testAdding or modifying tests
perfPerformance improvements
ciCI/CD changes

Scopes (optional, use the most relevant)

ScopeFiles
inferencemodel/inference/, infrastructure/inference_pipeline_api.py
ragapplication/rag/
evalmodel/evaluation/
trainingmodel/finetuning/
etlapplication/crawlers/, configs/digital_data_etl_*
datasetapplication/dataset/
settingssettings.py, .env, configs/
depspyproject.toml, poetry.lock
infradocker-compose.yml, ZenML configs

Examples

feat(rag): Add author filtering to Qdrant search
fix(inference): Add task parameter to HuggingFaceEndpoint
docs: Rewrite README for local-only setup
chore(deps): Upgrade langchain-huggingface to 1.2.0
refactor(eval): Replace OpenAI judge with HuggingFace

Step 5: Create the commit

Use HEREDOC for proper message formatting:

bash
1git commit -m "$(cat <<'EOF' 2<type>(<scope>): <description> 3 4<body if needed> 5 6Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> 7EOF 8)"

Step 6: Verify

bash
1git log --oneline -3

Show the user the new commit hash and message.

After the commit

Do NOT push automatically. Tell the user they can push with /push or git push.

If pre-commit hook fails

  1. Check what failed: usually ruff auto-fixed files
  2. Re-stage the auto-fixed files: git add <fixed-files>
  3. Create a NEW commit (do NOT use --amend)
  4. If gitleaks fails: a secret was detected. Remove it from the staged files before retrying.

相关技能

寻找 commit 的替代方案 (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. This AI agent skill supports 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. This AI agent skill supports 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. This AI agent skill supports 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. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

98.6k
0
开发者工具