commit

Create structured git commits with Problem/Solution bodies and fatih- prefixed branches.

884|135|Updated May 1, 2014
One-click install
npx skills add https://github.com/fatih/dotfiles --skill commit-fatih
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit
Source: https://github.com/fatih/dotfiles/tree/main/agent/skills/commit
Command: npx skills add https://github.com/fatih/dotfiles --skill commit-fatih

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Users often struggle to create consistent, descriptive commit messages and manage branching during changes.

Core Features & Use Cases

  • Structured commit messages: Generates a commit title and body using the Problem/Solution format.
  • Branch handling: If on main or master, creates a new fatih- prefixed branch before committing.
  • Guided workflow: Ensures all related files are staged and included, avoiding unrelated changes.

Quick Start

Commit the current changes with a structured title and Problem/Solution body; if you are on main or master, a fatih- prefixed branch will be created automatically.

Frequently Asked Questions about commit

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

FAQPage Schema
How do I generate a structured git commit message automatically?

To generate a structured git commit message automatically, this tool analyzes staged changes and composes a descriptive title alongside a Problem/Solution body. It ensures related files are included while avoiding unrelated modifications.

How does branching work when committing changes directly from main?

When committing changes directly from main or master, the workflow automatically creates a new fatih- prefixed branch. This branching mechanism prevents direct commits to the primary branch and isolates your changes.

Can I stage only related files and exclude unrelated changes in a git workflow?

Yes, you can stage only related files and exclude unrelated changes in a git workflow. The process ensures all related modifications are staged and committed together while deliberately avoiding unrelated files in the repository.

What is the Problem/Solution format for a git commit body?

The Problem/Solution format for a git commit body describes the issue your changes address and how they resolve it. This structured approach ensures commit messages clearly explain the reasoning behind each modification.

Do I need Git installed to use this automated commit workflow?

Yes, you need Git installed and available in your environment to use this automated commit workflow. The tool operates directly within the current repository to stage files and create branches.