commit-best-practices

Generate git commit messages from staged changes with an approval workflow.

Updated Oct 13, 2025
One-click install
npx skills add https://github.com/olioapps/claude-code-plugins --skill commit-best-practices
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit-best-practices
Source: https://github.com/olioapps/claude-code-plugins/tree/main/git-actions/skills/commit-best-practices
Command: npx skills add https://github.com/olioapps/claude-code-plugins --skill commit-best-practices

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams create meaningful, standardized commit messages for every change, reducing review time and confusion. It orchestrates the entire commit workflow, analyzing changes, matching repo style, and presenting messages for approval.

Core Features & Use Cases

  • Automated Commit Messages: Generate concise, information-dense messages using the commit-writer agent.
  • Staging & Approval Workflow: Stage changes and present a message for user approval before committing.
  • Repository-Style Adaptation: Messages adapt to your repo's conventions and reference relevant issues when possible.

Quick Start

Use the /git-actions:commit all command to stage all changes and create a well-crafted commit.

Frequently Asked Questions about commit-best-practices

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

FAQPage Schema
How do I write better git commit messages automatically?

Automated commit message generation analyzes your staged changes and produces concise, conventional messages following best practices—subject lines under 50 characters, imperative mood, and clear WHAT and WHY context—then presents them for approval before committing.

What's the best way to enforce consistent commit conventions across a team?

Conventional commits enforce standardized message formatting and structure. This Skill adapts messages to your repository's existing conventions, references relevant issues, ensures atomic commits, and uses AI-assisted generation so every team member produces consistent, meaningful messages without manual effort.

Can I automate staging and committing changes with git?

Yes. The /git-actions:commit command stages your changes, analyzes diffs, generates a message following best practices, presents it for approval, and executes the commit—automating the entire workflow while maintaining control through an approval step.

How do conventional commits improve code review?

Conventional commits standardize message structure with clear subject lines, imperative mood, and explicit WHAT and WHY explanations rather than implementation details. Reviewers spend less time deciphering intent and more time evaluating code quality.

What happens if my repository has custom commit conventions?

The Skill adapts generated messages to match your repository's existing conventions and style, so messages remain consistent with your team's established patterns while still following core best practices for clarity and atomicity.

Do I need approval before commits are actually saved?

Yes. The approval-driven workflow presents the generated commit message for your review before the final commit executes, giving you control and visibility into every change saved to git.