commit

Analyzes repository changes to generate conventional git commit messages.

2|Updated Feb 18, 2019
One-click install
npx skills add https://github.com/arowinski/dotfiles --skill commit-arowinski
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit
Source: https://github.com/arowinski/dotfiles/tree/main/claude/skills/commit
Command: npx skills add https://github.com/arowinski/dotfiles --skill commit-arowinski

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires git.

What problem does it solves? This Skill automates the creation of clear, concise, and convention-compliant commit messages. It eliminates the guesswork and manual effort involved in staging changes and writing commit descriptions, leading to a cleaner, more understandable version control history.

Core Features & Use Cases

  • Intelligent Change Analysis: Automatically analyzes your modified files to determine the primary purpose and scope of your changes.
  • Convention-Based Message Generation: Generates commit messages that follow project-specific guidelines, including imperative mood and character limits.
  • Smart File Staging: Stages relevant files while intelligently avoiding sensitive data or unrelated changes.
  • Use Case: After making several changes to fix a bug, simply tell the AI to 'commit my changes', and it will analyze your modifications, suggest a clear commit message, and stage the correct files, ensuring a clean commit history without you having to remember all the rules.

Quick Start

Commit my current changes, focusing on the bug fix I just implemented.

Frequently Asked Questions about commit

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

FAQPage Schema
How do I write consistent commit messages across my git repository?

Commit messages should follow conventions like conventional commits, using an imperative mood subject line under 80 characters plus an optional body with bullet points. This Skill automates message generation by analyzing your changes and applying project-specific formatting rules, ensuring consistency without manual effort.

Can I automate staging files and creating commits based on what I changed?

Yes. This Skill analyzes your modified files, determines the primary purpose of your changes, intelligently stages relevant files while avoiding sensitive data, and generates a convention-compliant commit message—eliminating manual staging and message composition.

What's the best way to commit bug fixes, features, and refactors with clear messages?

Use this Skill to automatically detect your change type—bug fix, feature, refactor, configuration, or docs—analyze the scope, and generate an appropriate commit message in conventional format with a descriptive subject and detailed body referencing affected code.

How does this Skill handle commit messages for different types of changes?

It performs status and diff analysis to classify changes by type and scope, then generates a first-line imperative subject under 80 characters and an optional body with bullet points using third-person narration and code references—all aligned with conventional commits.

Do I need to manually stage files before committing?

No. This Skill intelligently stages relevant files automatically based on your modifications, avoiding unrelated changes and sensitive data, so you can commit without remembering staging rules or file selection logic.

What happens if my changes span multiple concerns like bug fixes and refactors?

This Skill analyzes the primary purpose of your modifications to determine the dominant change type and scope. For mixed changes, it generates a message reflecting the main intent while capturing significant modifications in the body with code references.