A powerful Claude Code Git assistant skill that provides intelligent branch management, commit message conventions, workflow assistance, and code review guidance.
npx skills add https://github.com/lispking/git-skills --skill git-skillsقم بتثبيت هذه المهارة باستخدام واجهة سطر الأوامر (CLI) وابدأ في استخدام سير عمل SKILL.md في مساحة عملك.
A powerful Claude Code Git assistant skill that provides intelligent branch management, commit message conventions, workflow assistance, and code review guidance.
| Feature | Description |
|---|---|
| 🌱 Smart Branch Management | Auto-suggest branch naming conventions, quick create/switch/cleanup branches |
| ✍️ Expert Commit Assistant | Generate detailed, professional commit messages following Conventional Commits |
| 🔄 PR Workflow Assistant | PR creation checklist, auto-sync main branch, conflict resolution guidance |
| 🔍 Code Review Assistant | Check change scope, sensitive data, commit message quality |
| 📊 Git Statistics | Contribution stats, commit history, line change metrics |
In Claude Code, run:
/plugin marketplace add lispking/git-skills
/plugin install git-skills
Git Skills activates automatically when these operations are detected:
git commit - Smart commit suggestionsgit push - Pre-push checksgit checkout -b - Branch naming suggestionsgit merge / git rebase - Conflict resolution guidanceTell Claude what you want to do:
Help me commit these changes
Create a feature branch for user authentication
Sync my branch with main
Show recent commit statistics
| Type | Description | Example |
|---|---|---|
feat |
New feature | feat: implement JWT-based user authentication |
fix |
Bug fix | fix: resolve race condition in concurrent database writes |
docs |
Documentation | docs: add comprehensive API usage examples |
style |
Code style | style: enforce consistent import ordering across modules |
refactor |
Refactoring | refactor: decouple business logic from presentation layer |
test |
Tests | test: add integration tests for payment gateway |
chore |
Build/tools | chore: migrate build pipeline from CircleCI to GitHub Actions |
perf |
Performance | perf: implement connection pooling for database queries |
ci |
CI/CD | ci: add automated security scanning to pipeline |
<type>(<scope>): <subject>
<body paragraph 1: what changed and why>
<body paragraph 2: implementation details, considerations>
<footer>
Expert-level requirements:
Co-Authored-By: signaturesfeature/123-user-auth # New features
bugfix/456-fix-login # Bug fixes
hotfix/urgent-patch # Critical fixes
refactor/api-cleanup # Code refactoring
docs/readme-update # Documentation
test/auth-tests # Test-related
Create .gitskills.json in project root:
{
"commit": {
"types": ["feat", "fix", "docs", "style", "refactor", "test", "chore"],
"scopes": ["api", "ui", "auth", "db"],
"requireScope": false,
"requireBody": true
},
"branch": {
"mainBranch": "main",
"namingPattern": "{type}/{ticket-id}-{description}"
}
}
git-skills/
├── .claude-plugin/
│ ├── plugin.json # Plugin config (supports /plugin install)
│ └── marketplace.json # Marketplace display config
├── skills/
│ └── git/
│ └── SKILL.md # Skill core documentation (official spec)
├── .gitskills.json # Configuration example
└── README.md # User documentation
MIT License
Issues and PRs welcome!