git-best-practices

Generates Git commit messages with type, scope, and detailed body.

Updated Dec 15, 2025
One-click install
npx skills add https://github.com/OpenSourceSam/v2_heras_garden --skill git-best-practices-opensourcesam
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-best-practices
Source: https://github.com/OpenSourceSam/v2_heras_garden/tree/main/.claude/skills/git-best-practices
Command: npx skills add https://github.com/OpenSourceSam/v2_heras_garden --skill git-best-practices-opensourcesam

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill ensures that your Git commit messages are comprehensive, detailed, and follow industry best practices, making your version control history clear and maintainable.

Core Features & Use Cases

  • Generate Detailed Commit Messages: Creates messages with type, scope, and a detailed body explaining changes, fixes, or features.
  • Enforce Best Practices: Guides users through verifying changes and structuring messages for clarity and reviewability.
  • Use Case: When you've completed a bug fix, use this Skill to generate a commit message that clearly outlines the problem, root cause, solution, and specific changes made, making it easy for teammates to understand the fix.

Quick Start

Use the git-best-practices skill to generate a commit message for your staged changes.

Frequently Asked Questions about git-best-practices

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

FAQPage Schema
How do I write a good git commit message for a bug fix?

To write a git commit message for a bug fix, use a strict structure with a type, scope, and mandatory detailed body. This format should clearly outline the problem, root cause, and specific changes made to ensure your version control history is maintainable.

What should be included in a detailed git commit message?

A detailed git commit message should include a type, scope, and a mandatory body explaining the changes. For features, include a complete change list; for fixes, explain the problem, root cause, solution, and specific changes to adhere to development workflow best practices.

Does this approach work for generating commit messages for new features?

Yes, this approach works for new features by generating comprehensive commit messages with a complete change list in the detailed body. It enforces best practices to ensure your version control history clearly documents added functionality for team reviewability.

What is the best way to structure version control commits for code review?

The best way to structure version control commits for code review is using a strict format with type, scope, and a detailed body. This enforces best practices, guiding you through verifying staged changes and structuring messages for clarity and reviewability.

How do I generate a commit message after staging my changes?

To generate a commit message after staging changes, use a tool that enforces best practices and validation rules. It produces a structured message with type, scope, and a detailed body explaining the specific changes made to your codebase.