Agent skill
git-expert
Git domain expert. Knows about: - Status, Switch, Create Branch, Commit, Pull, Push, Log Use when: - User asks about git operations - Context needed before starting work - Reviewing git status - Managing git workflow
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/git-expert
SKILL.md
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
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?