git-stage

Partition staged git changes into logically grouped atomic commits.

2|Updated Jan 13, 2026
One-click install
npx skills add https://github.com/erclx/aitk --skill git-stage
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-stage
Source: https://github.com/erclx/aitk/tree/main/claude/skills/git-stage
Command: npx skills add https://github.com/erclx/aitk --skill git-stage

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill solves the issue of messy, undifferentiated git commits by automatically grouping staged changes into logical, atomic units that reflect distinct concerns.

Core Features & Use Cases

  • Logical Grouping: Analyzes staged diffs to group related file changes into separate, coherent commits.
  • Dependency Ordering: Automatically orders commits so that dependencies are committed before the files that import them.
  • Rename Preservation: Detects and preserves rename pairs by restaging them together, ensuring git correctly identifies the rename.
  • Use Case: When you have a mix of feature code, documentation updates, and configuration changes staged, this skill partitions them into separate, well-labeled commits.

Quick Start

Ask the agent to group my staged changes into atomic commits using the git-stage skill.

Frequently Asked Questions about git-stage

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

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

Yes, this skill organizes staged changes into clean, atomic commits by partitioning a blob of staged git changes. It groups related file changes into separate, coherent commits based on distinct concerns and conventional commit standards.

How does dependency ordering work when grouping git commits?

Dependency ordering in git commits works by analyzing file imports and relationships, automatically ordering commits so that dependency files are committed before the files that import them. This ensures your commit history maintains a valid build order for refactoring.

Can I preserve file rename detection when splitting commits?

Yes, you can preserve rename detection by restaging rename pairs together. This skill detects and preserves rename pairs during the commit partitioning process, ensuring git correctly identifies the file rename instead of treating it as separate add and delete operations.

Does this git commit automation work with local repositories?

Yes, this git commit automation works with local repositories and requires access to git diff and commit commands. It operates on your local git repository to unstage, re-group, and commit changes according to conventional commit standards.

What is the best way to separate mixed feature and config changes into logical commits?

The best way to separate mixed feature and config changes into logical commits is using automated logical grouping. This skill analyzes staged diffs to partition feature code, documentation updates, and configuration changes into separate, well-labeled atomic commits.