grouped-git-commits

Group related worktree changes into coherent multiline Git commits.

Updated Jan 31, 2026
One-click install
npx skills add https://github.com/doesitscript/dotfile-vnext --skill grouped-git-commits
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: grouped-git-commits
Source: https://github.com/doesitscript/dotfile-vnext/tree/main/.cursor/skills/grouped-git-commits
Command: npx skills add https://github.com/doesitscript/dotfile-vnext --skill grouped-git-commits

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Staging only related work and creating grouped, multiline commits with clear subjects and bodies helps maintain a clean Git history and reduces ambiguity when reviewing changes.

Core Features & Use Cases

  • Inspect the current worktree to identify related changes before committing.
  • Group changes by topic and stage only the intended files.
  • Produce multiline commit messages with concise subjects and detailed bodies, making it easy to understand the rationale behind each group.

Quick Start

Group related work into clean, multiline commits with descriptive bodies.

Frequently Asked Questions about grouped-git-commits

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I group related git changes into separate commits?

To group related git changes, inspect the worktree to identify related modifications, stage only the intended files by topic, and commit them with a concise subject and detailed body. This ensures unrelated files are excluded from the commit.

How do I split unstaged worktree changes into coherent git commits?

Split unstaged worktree changes by reviewing modified files, categorizing them by topic, and selectively staging only related files for each commit. This produces multiple coherent commits, excluding unrelated work from each group.

How do I write multiline git commit messages with a subject and body?

Write multiline git commit messages by adding a concise subject line followed by a detailed body explaining the rationale behind the changes. This clarifies the context of the staged files for future review.

What is the best way to exclude unrelated files when staging git commits?

The best way to exclude unrelated files is to selectively stage only the specific files related to one topic at a time. This grouping prevents unrelated worktree modifications from being included in a single commit.

Can I get a summary of committed and excluded files after grouping git changes?

Yes, after grouping and committing related changes, a final summary is provided detailing what was committed, what was excluded, and how to verify the result. This confirms the worktree state and commit accuracy.

When do I need to group git commits by topic?

You need to group git commits by topic when your worktree contains multiple unrelated modifications. Creating grouped, multiline commits with clear subjects and bodies maintains a clean Git history and reduces ambiguity during review.