git-smart-commit

Group changed files in a branch into logically sequenced commits.

Updated Feb 14, 2026
One-click install
npx skills add https://github.com/Suniljit/personal-toolkit --skill git-smart-commit-suniljit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-smart-commit
Source: https://github.com/Suniljit/personal-toolkit/tree/main/.opencode/skills/git-smart-commit
Command: npx skills add https://github.com/Suniljit/personal-toolkit --skill git-smart-commit-suniljit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Intelligently group all changed files in a branch into logically sequenced commits, each with a meaningful commit message. Use this skill when the user wants to commit multiple files at once with smart grouping, says things like "smart commit", "group my changes into commits", "git-smart-commit", "batch commit my changes", "commit everything intelligently", or "organise my changes into commits". Also trigger when the user has many changed files and wants them committed in a logical order following developer workflow conventions (plans → config → core logic → tests → docs). Always use this skill — don't try to handle multi-file grouped commits from scratch without it.

Core Features & Use Cases

  • Scans changed files in the current branch and presents them for selection.
  • Reads each file to understand its purpose and groups files into logically sequenced commits.
  • Confirms the full plan with the user and executes the commits one by one according to a developer workflow.

Quick Start

Use the git-smart-commit skill to group your current branch changes into a sequence of meaningful commits.

Frequently Asked Questions about git-smart-commit

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

FAQPage Schema
How do I group changed files in a git branch into logically sequenced commits?

To group changed files into logically sequenced commits, a Skill can read your modified files, understand their purpose, and execute meaningful batch commits one by one following developer workflow conventions like plans, config, core logic, tests, and docs.

What is the best way to commit multiple files at once with smart grouping?

The best way to commit multiple files with smart grouping is to analyze each changed file's purpose, create a commit plan that orders changes by workflow conventions, confirm the plan with the user, and execute the commits sequentially.

How does automatic file grouping handle multi-file changes in a feature branch?

Automatic file grouping handles multi-file changes by reading each modified file in the branch to understand its role, clustering related files together, sequencing them according to developer workflow conventions, and executing the grouped commits sequentially.

Does smart commit require manual staging of files before grouping them?

Smart commit does not require manual staging because it discovers all changed files in the current branch automatically, reads them to determine their purpose, and presents the grouping plan to the user for confirmation before executing the commits.

Can I review the commit sequence before a batch commit executes?

You can review the commit sequence before execution because the grouping process reads all changed files, organizes them into a logically sequenced commit plan, and requires user confirmation to proceed with committing the batches one by one.

When should I not use automated commit grouping for branch changes?

You should not use automated commit grouping when your changes are isolated to a single file or when your workflow requires custom commit ordering that deviates from standard developer conventions like plans, config, core logic, tests, and docs.