/git
Git operations with intelligent commit messages and workflow optimization
> /plugin marketplace add Galaxy-Dawn/claude-scholar > /plugin install claude-scholar@claude-scholar
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/git
Context preview
What this command does when you run it.
Git operations with intelligent commit messages and workflow optimization
Command definition
git.mdname: git
description: "Git operations with intelligent commit messages and workflow optimization"
category: utility
complexity: basic
mcp-servers: []
personas: []
/sc:git - Git Operations
Triggers
- Git repository operations: status, add, commit, push, pull, branch
- Need for intelligent commit message generation
- Repository workflow optimization requests
- Branch management and merge operations
Usage
/sc:git [operation] [args] [--smart-commit] [--interactive]
Behavioral Flow
1. **Analyze**: Check repository state and working directory changes 2. **Validate**: Ensure operation is appropriate for current Git context 3. **Execute**: Run Git command with intelligent automation 4. **Optimize**: Apply smart commit messages and workflow patterns 5. **Report**: Provide status and next steps guidance
Key behaviors:
- Generate conventional commit messages based on change analysis
- Apply consistent branch naming conventions
- Handle merge conflicts with guided resolution
- Provide clear status summaries and workflow recommendations
Tool Coordination
- **Bash**: Git command execution and repository operations
- **Read**: Repository state analysis and configuration review
- **Grep**: Log parsing and status analysis
- **Write**: Commit message generation and documentation
Key Patterns
- **Smart Commits**: Analyze changes → generate conventional commit message
- **Status Analysis**: Repository state → actionable recommendations
- **Branch Strategy**: Consistent naming and workflow enforcement
- **Error Recovery**: Conflict resolution and state restoration guidance
Examples
Smart Status Analysis
/sc:git status
# Analyzes repository state with change summary
# Provides next steps and workflow recommendations
Intelligent Commit
/sc:git commit --smart-commit
# Generates conventional commit message from change analysis
# Applies best practices and consistent formatting
Interactive Operations
/sc:git merge feature-branch --interactive
# Guided merge with conflict resolution assistance
Boundaries
**Will:**
- Execute Git operations with intelligent automation
- Generate conventional commit messages from change analysis
- Provide workflow optimization and best practice guidance
**Will Not:**
- Modify repository configuration without explicit authorization
- Execute destructive operations without confirmation
- Handle complex merges requiring manual intervention
Read more
name: git description: "Git operations with intelligent commit messages and workflow optimization" category: utility complexity: basic mcp-servers: [] personas: []
/sc:git - Git Operations
Triggers
- Git repository operations: status, add, commit, push, pull, branch
- Need for intelligent commit message generation
- Repository workflow optimization requests
- Branch management and merge operations
Usage
/sc:git [operation] [args] [--smart-commit] [--interactive]
Behavioral Flow
1. **Analyze**: Check repository state and working directory changes 2. **Validate**: Ensure operation is appropriate for current Git context 3. **Execute**: Run Git command with intelligent automation 4. **Optimize**: Apply smart commit messages and workflow patterns 5. **Report**: Provide status and next steps guidance
Key behaviors:
- Generate conventional commit messages based on change analysis
- Apply consistent branch naming conventions
- Handle merge conflicts with guided resolution
- Provide clear status summaries and workflow recommendations
Tool Coordination
- **Bash**: Git command execution and repository operations
- **Read**: Repository state analysis and configuration review
- **Grep**: Log parsing and status analysis
- **Write**: Commit message generation and documentation
Key Patterns
- **Smart Commits**: Analyze changes → generate conventional commit message
- **Status Analysis**: Repository state → actionable recommendations
- **Branch Strategy**: Consistent naming and workflow enforcement
- **Error Recovery**: Conflict resolution and state restoration guidance
Examples
Smart Status Analysis
/sc:git status # Analyzes repository state with change summary # Provides next steps and workflow recommendations
Intelligent Commit
/sc:git commit --smart-commit # Generates conventional commit message from change analysis # Applies best practices and consistent formatting
Interactive Operations
/sc:git merge feature-branch --interactive # Guided merge with conflict resolution assistance
Boundaries
**Will:**
- Execute Git operations with intelligent automation
- Generate conventional commit messages from change analysis
- Provide workflow optimization and best practice guidance
**Will Not:**
- Modify repository configuration without explicit authorization
- Execute destructive operations without confirmation
- Handle complex merges requiring manual intervention
Semi-automated research assistant for academic research and software development. Supports Claude Code, Codex CLI, Kimi Code CLI, and OpenCode across ideation, coding, experiments, writing, and publication.
Repo: Galaxy-Dawn/claude-scholar
Other commands on claude-scholar.
- /analyze-results
Optional experiment line slug for report naming
Open command - /build-fix
Incrementally fix Python type and lint errors:
Open command - /checkpoint
Create or verify a checkpoint in your workflow.
Open command - /code-review
Comprehensive security and quality review of uncommitted changes:
Open command - /commit
Commit changes following Conventional Commits format (local only, no push).
Open command - /create_project
使用本地模板 ~/Code/template 而非 GitHub(覆盖 template_repo)
Open command

