SKILL

commit-work

Create high-quality git commits: review/stage intended changes, split into logical commits, and write clear commit messages (including Conventional Commits). Use when the user asks to commit, craft a commit message, stage changes, or split work into multiple commits.

Target: Software development & testing. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original English text

Topics in the source

  • Commit work
  • Goal
  • Inputs to ask for (if missing)
  • Workflow (checklist)
  • Deliverable

Make commits that are easy to review and safe to ship: only intended changes are included commits are logically scoped (split when needed) commit messages describe what changed and why Single commit or multiple commits? (If unsure: default to multiple small commits when there are unrelated changes.) Commit style: Conventional Commits are required. Any rules: max subject length, required scopes. 1) Inspect the working tree before staging git status git diff (unstaged) If many changes: git diff --stat 2) Decide commit boundaries (split if needed) Split by: feature vs refactor, backend vs frontend, formatting vs logic, tests vs prod code, dependency bumps vs behavior changes. If changes are mixed in one file, plan to use patch staging. 3) Stage only what belongs in the next commit Prefer patch staging for mixed changes: git add -p To unstage a hunk/file: git restore --staged -p or git restore --staged 4) Review what will actually be committed git diff --cached Sanity checks: no secrets or tokens no accidental debug logging no unrelated formatting churn 5) Describe the staged change in 1-2 sentences (before writing the message) "What changed?" + "Why?" If you cannot describe it cleanly

This is an excerpt. Refer to the complete source and its current requirements.

Source repository
davila7/claude-code-templates
Source file
cli-tool/components/skills/productivity/commit-work/SKILL.md
Fixed revision
21be197f100a12b8d0dd9a211cc244c8179f84d3
Read the complete original documentation ↗

Requirements

  • Only the author’s Skill metadata is included. Read the full instructions to check dependencies, licensing and conditions of use.

A small first task

先阅读原作者说明,再决定是否在自己的 AI 工具中使用。

Instructions for your AI tool

Author documentation is not live verification by this site. Without evidence, we do not mark a resource as compatible, safe or free.

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: davila7/claude-code-templates · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T15:01:39.633Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.