git-expert
Git domain expert.Knows about:- Status, Switch, Create Branch, Commit, Pull, Push, LogUse when:- User asks about git operations- Context needed before starting work- Reviewing git status- Managing git workflow
When & Why to Use This Skill
The Git Expert skill is a specialized version control assistant designed to streamline the software development lifecycle. It enables users to manage complex Git workflows—including branch orchestration, commit history tracking, and remote repository synchronization—directly through natural language or optimized commands, significantly reducing context switching and improving coding productivity.
Use Cases
- Efficient Branch Management: Seamlessly create, switch, and organize feature branches to maintain a structured development environment.
- Streamlined Commit Workflows: Quickly review staged changes and generate commits with descriptive messages to ensure a clean and readable project history.
- Remote Synchronization: Simplify collaborative development by pulling the latest updates from remote repositories and pushing local changes with ease.
- Repository Status Auditing: Gain immediate insights into the current state of a project, identifying modified files and tracking progress before initiating new tasks.
| name | git-expert |
|---|---|
| description | | |
Git Expert Skill
What This Skill Does
Helps you manage your git workflow with smart command suggestions.
Available Commands
/git:status- Get the current git status/git:switch- Switch branches/git:create-branch- Create a new branch/git:commit- Make a commit with special instructions/git:pull- Pull changes/git:push- Push changes/git:log- View history/what's been done
When Claude Uses This
When you mention things like:
- "what's the git status?" → Suggests
/git:status - "I need to switch branches" → Suggests
/git:switch - "create a new feature branch" → Suggests
/git:create-branch - "let me commit my changes" → Suggests
/git:commit - "pull the latest changes" → Suggests
/git:pull - "push my commits" → Suggests
/git:push - "show the commit history" → Suggests
/git:log
Best Practices
- Before starting: Run
/git:statusto see current state - Understand scope: Verify which branch you're on
- Track progress: Review commit history with
/git:log - Keep updated: Pull changes before pushing
Customization
Edit the trigger phrases in the frontmatter above to match your vocabulary. Keep the skill description updated as you evolve the domain.
Integration
Works seamlessly with other Claude Code domains:
- Can be invoked manually:
/git:operation - Auto-triggered by Claude based on conversation
- Works with other skills and commands
Common Workflows
Start a feature:
/git:status # Check current state
/git:create-branch feature/x # Create new branch
Commit and push:
/git:status # Review changes
/git:commit "message" # Create commit
/git:push origin branch-name # Push to remote
Update your branch:
/git:pull origin main # Get latest main
# Resolve conflicts if needed
/git:push origin branch-name # Push your work
Review history:
/git:log --oneline 10 # Recent commits
/git:log --graph --oneline # Branch structure