git-best-practices
CommunityCraft perfect commits, master your history.
Software Engineering#git#code review#best practices#documentation#version control#software development#commit messages
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 statusandgit diff --stagedbefore 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.tsto use middleware
Impact: Enhances security and session management.
Dependency Matrix
Required Modules
None requiredComponents
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.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.