clean-commit

Consolidate task-related file changes into a single git commit.

Updated May 12, 2026
One-click install
npx skills add https://github.com/YeomanYe/skills --skill clean-commit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clean-commit
Source: https://github.com/YeomanYe/skills/tree/main/clean-commit
Command: npx skills add https://github.com/YeomanYe/skills --skill clean-commit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps you consolidate a task's changes into a single, clean git commit by guiding file selection, composing a precise commit message, and performing the commit safely, avoiding unnecessary or risky multi-commit edits.

Core Features & Use Cases

  • Select and isolate only the files related to the current task to include in the commit.
  • Generate a concise, meaningful commit message that accurately reflects the task outcome.
  • Execute a safe commit routine (git add and git commit) with guardrails to prevent accidental broad changes and multiple commits.
  • Optional workflow flow modes describe how changes are staged or selected.

Quick Start

Tell the tool to create one clean git commit from the current task changes and perform a safe commit.

Frequently Asked Questions about clean-commit

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

FAQPage Schema
How do I consolidate task changes into a single clean git commit?

To consolidate task changes into a single clean git commit, you need to isolate related files and generate a meaningful commit message. This approach prevents accidental broad changes by guiding file inspection and ensuring safe, atomic git operations.

What is the best way to isolate specific files for a safe commit?

The best way to isolate specific files for a safe commit is using a guided file selection process. This ensures only task-related changes are staged, avoiding risky multi-commit edits and keeping the repository history clean and atomic.

Can I automatically generate a meaningful commit message from my staged changes?

Yes, you can automatically generate a meaningful commit message from staged changes. The skill composes a concise message that accurately reflects the task outcome, ensuring the commit history remains clear and maintainable for future reference.

Does this clean commit workflow support optional push integration?

Yes, this clean commit workflow supports optional push integration. After safely staging and committing your isolated task changes, you can configure the workflow to automatically push the resulting atomic commit directly to your remote repository.