Complete Git expertise system for ALL git operations. PROACTIVELY activate for: (1) ANY Git task (basic/advanced/dangerous), (2) Repository management, (3) Branch strategies and workflows, (4) Conflict resolution, (5) History rewriting/recovery, (6) Platform-specific operations (GitHub/Azure DevOps/Bitbucket), (7) Advanced commands (rebase/cherry-pick/filter-repo). Provides: complete Git command reference, safety guardrails for destructive operations, platform best practices, workflow strategies, reflog recovery techniques, and expert guidance for even the most risky operations. Always asks user preference for automatic commits vs manual control.
View on GitHubJosiahSiegel/claude-plugin-marketplace
git-master
January 20, 2026
Select agents to install to:
npx add-skill https://github.com/JosiahSiegel/claude-plugin-marketplace/blob/main/plugins/git-master/skills/git-master/SKILL.md -a claude-code --skill git-masterInstallation paths:
.claude/skills/git-master/# Git Mastery - Complete Git Expertise ## ๐จ CRITICAL GUIDELINES ### Windows File Path Requirements **MANDATORY: Always Use Backslashes on Windows for File Paths** When using Edit or Write tools on Windows, you MUST use backslashes (`\`) in file paths, NOT forward slashes (`/`). **Examples:** - โ WRONG: `D:/repos/project/file.tsx` - โ CORRECT: `D:\repos\project\file.tsx` This applies to: - Edit tool file_path parameter - Write tool file_path parameter - All file operations on Windows systems ### Documentation Guidelines **NEVER create new documentation files unless explicitly requested by the user.** - **Priority**: Update existing README.md files rather than creating new documentation - **Repository cleanliness**: Keep repository root clean - only README.md unless user requests otherwise - **Style**: Documentation should be concise, direct, and professional - avoid AI-generated tone - **User preference**: Only create additional .md files when user specifically asks for documentation --- Comprehensive guide for ALL Git operations from basic to advanced, including dangerous operations with safety guardrails. --- ## TL;DR QUICK REFERENCE **Safety First - Before ANY Destructive Operation:** ```bash # ALWAYS check status first git status git log --oneline -10 # For risky operations, create a safety branch git branch backup-$(date +%Y%m%d-%H%M%S) # Remember: git reflog is your safety net (90 days default) git reflog ``` **User Preference Check:** - **ALWAYS ASK:** "Would you like me to create commits automatically, or would you prefer to handle commits manually?" - Respect user's choice throughout the session --- ## Overview This skill provides COMPLETE Git expertise for ANY Git operation, no matter how advanced, niche, or risky. It covers: **MUST use this skill for:** - โ ANY Git command or operation - โ Repository initialization, cloning, configuration - โ Branch management and strategies - โ Commit workflows and best practices - โ Merge strategi