git-best-practices

Community

Craft perfect commits, master your history.

AuthorT1nker-1220
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill eliminates vague or incomplete commit messages that hinder code review, debugging, and understanding project history, leading to wasted time and increased technical debt.

Core Features & Use Cases

  • Comprehensive Commit Structure: Enforces a detailed header (type, scope, description) and a mandatory body explaining the problem, root cause, solution, and changes for fixes, or an overview, components, and implementation for features.
  • Pre-Commit Verification: Guides you to always verify changes using git status and git diff --staged before generating any commit message, ensuring accuracy and completeness.
  • Detailed Requirements by Type: Provides specific content requirements for different commit types (feat, fix, refactor, docs), ensuring all necessary context is captured.
  • Use Case: After staging your changes, activate this skill to generate a professional, detailed commit message that tells the complete story of your modifications, making future code reviews and debugging effortless.

Quick Start

Example: Feature commit message

feat(auth): add JWT token validation

New Functionality: Implement JWT validation middleware with token expiry checking and refresh token support.

Changes:

  • Created jwt-middleware.ts
  • Updated auth-service.ts to use middleware

Impact: Enhances security and session management.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: git-best-practices
Download link: https://github.com/T1nker-1220/.claude/archive/main.zip#git-best-practices

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.