commit

Analyzes staged and unstaged git changes to create atomic commits with conventional messages and optional push.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Create semantic, granular git commits by automatically analyzing staged and unstaged changes, dramatically improving code history clarity and revertability.

Core Features & Use Cases

  • Auto-stages all tracked changes, ensuring commits reflect intentional changes without manual staging.
  • Groups related changes into atomic commits following conventional types for readability and tooling compatibility.
  • Provides safety checks for merge conflicts and protected branches before any commit is executed.
  • Optionally pushes commits to the remote branch with verification and sane defaults.

Quick Start

Run the /commit command to generate atomic, semantically meaningful commits from your current changes.

Frequently Asked Questions about commit

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

FAQPage Schema
How do I automatically generate semantic git commits from staged and unstaged changes?

To generate semantic git commits automatically, the Skill analyzes your unstaged and staged changes to group related edits into atomic commits. It auto-stages tracked changes and creates conventional commit messages, ensuring your code history remains clear and easily revertable.

What are atomic git commits and when do I need them in my version control workflow?

Atomic git commits group related changes into single, self-contained units, ensuring correctness and traceability in version control. You need them when you want a clean, readable project history that allows safe, granular reverts of specific features without affecting unrelated code.

How do I plan and execute atomic commits grouped by conventional commit types?

You can plan and execute atomic commits by letting the Skill analyze your current code changes and categorize them automatically. It groups related modifications together and generates commit messages following conventional types to maintain readability and tooling compatibility.

Does this automated commit workflow include safety checks for merge conflicts and protected branches?

Yes, the automated commit workflow includes safety checks for merge conflicts and protected branches before any commit is executed. It ensures safe commit grouping by verifying your working state and preventing operations that could compromise your version control integrity.

Can I automatically push atomic commits to a remote branch with verification flags?

Yes, you can optionally push atomic commits directly to your remote branch. The Skill performs this action with verification and sane defaults, ensuring your changes are safely synchronized with the remote repository under various verification flags.