← 返回
未分类 中文

Git Commit Workflow

Use when the user wants a single clean commit created from current changes with safe staging, message drafting, and non-interactive git usage.
用于在用户希望从当前更改创建单个干净提交时,实现安全暂存、提交信息自动生成以及非交互式 git 操作。
wimi321
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 349
下载
💾 0
安装
1
版本
#claude-code#extracted#latest

概述

Git Commit Workflow

Use this skill when the task is to create one commit from current work.

Workflow

  1. Inspect git status, diff, branch, and recent commit style.
  2. Stage only relevant changes.
  3. Draft a concise commit message that reflects why the change exists.
  4. Create a new commit non-interactively.
  5. Report the resulting commit summary.

Guardrails

  • Never amend unless explicitly asked.
  • Never bypass hooks unless explicitly asked.
  • Avoid staging secrets or unrelated files.
  • Do not create an empty commit.

Example Requests

  • Make one clean commit from the current working tree.
  • Stage the right files and create a proper commit message.

Inputs

  • Current diff
  • Branch state
  • Recent commit style

Outputs

  • One non-amended commit
  • Accurate commit message

Success Criteria

  • Only relevant changes were committed.
  • No empty commit was created.
  • Hooks and safety rules were respected.

Non-Goals

  • Amend flows unless explicitly asked
  • Committing secrets or unrelated changes

Source Provenance

Derived from src/commands/commit.ts.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 06:01 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Computer Use Windows

wimi321
顶级 Windows 电脑使用技能,集成独立运行时,自主启动,无需本地 Claude安装,私有原生模块,...
★ 1 📥 1,103

Code Simplifier

wimi321
用于审查代码变更的可重用性、代码质量和效率,并在最终确定前进行清理
★ 0 📥 489

Computer Use Macos

wimi321
顶级 macOS 计算机使用技能,配备独立的自启动运行时,无需本地 Claude 安装、私有原生模块或其他...
★ 0 📥 782