gf-create-git-commits

Analyze code changes and create atomic git commits organized by intent.

Updated Apr 4, 2026
One-click install
npx skills add https://github.com/ricky-yosh/agent-workflows --skill gf-create-git-commits
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gf-create-git-commits
Source: https://github.com/ricky-yosh/agent-workflows/tree/main/skills/greenfield/gf-create-git-commits
Command: npx skills add https://github.com/ricky-yosh/agent-workflows --skill gf-create-git-commits

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It analyzes code changes and splits them into coherent, atomic git commits organized by intention, making history easier to read and review.

Core Features & Use Cases

  • Intent-based commit splitting: group related changes into focused commits.
  • Guided staging: selectively stage hunks with git add -p before committing.
  • Suitable for feature work, bug fixes, and refactors to maintain a clean project history.

Quick Start

Use this skill to review your current changes and automatically commit them in logical units.

Frequently Asked Questions about gf-create-git-commits

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

FAQPage Schema
How do I split uncommitted code changes into atomic git commits?

To split code changes into atomic git commits, you analyze your working directory to identify distinct intentions, selectively stage hunks with git add -p, and create cohesive git commits organized by purpose for a navigable history.

What is the best way to organize a git commit history by intent?

Organizing a git commit history by intent involves grouping related code changes into focused commits. This ensures each commit represents a single logical modification, making the project history easier to read and review.

How do I use git add -p to stage specific code changes for feature development?

Using git add -p for feature development allows you to interactively select and stage specific code hunks. This guided staging process ensures only related changes are grouped before creating an atomic git commit.

Does this automated commit splitting work for refactoring and bug fixes?

Automated commit splitting works for refactoring and bug fixes by analyzing the diff to identify the specific intent of each change. It ensures clean, intentional git commits across various development tasks.

Can I push commits to a remote repository after organizing my git history?

Pushing commits to a remote repository is not handled by this process. It focuses solely on analyzing local diffs, staging hunks, and creating local git commits without pushing to a remote.

Why do I need local git tooling to create intentional commits?

You need local git tooling to create intentional commits because the process relies on local git commands like git diff to analyze changes, git add -p to stage hunks, and git commit to finalize the atomic units.