Files
SuperClaude/plugins/superclaude/commands/git.md
mithun50 ab8904bc8c feat: restore all 30 slash commands with comprehensive documentation
Restored 26 additional commands from commit d4a17fc, bringing total from 5 to 30 commands.

## New Commands Added (26):
- /analyze - Code and architecture analysis
- /brainstorm - Structured brainstorming sessions
- /build - Build and compilation workflows
- /business-panel - Multi-expert business analysis
- /cleanup - Code cleanup and refactoring
- /design - System design and architecture
- /document - Documentation generation
- /estimate - Effort and time estimation
- /explain - Code explanation
- /git - Git operations and workflows
- /help - Command help and usage
- /implement - Implementation workflows
- /improve - Code improvement suggestions
- /index - Project indexing (alias for index-repo)
- /load - Load saved sessions
- /pm - Project management workflows
- /reflect - Reflection and retrospectives
- /save - Save current session
- /select-tool - Tool selection guidance
- /spawn - Spawn parallel tasks
- /spec-panel - Multi-expert specification analysis
- /task - Task management
- /test - Testing workflows
- /troubleshoot - Debugging and troubleshooting
- /workflow - Custom workflow automation

## Documentation Updates:
- Created docs/reference/commands-list.md with categorized command reference
- Updated README.md with expandable 30-command list
- Updated README-zh.md with Chinese translations
- Updated README-ja.md with Japanese translations
- Updated README-kr.md with Korean translations
- Changed statistics: "3 plugins" → "30 commands"
- Added command categories: Planning & Design, Development, Testing & Quality,
  Documentation, Version Control, Project Management, Research & Analysis, Utilities

## Files Changed:
- 60 files changed, 7930 insertions(+), 267 deletions(-)
- Added 26 commands to plugins/superclaude/commands/
- Added 26 commands to src/superclaude/commands/
- Created comprehensive command documentation

Commands restored from: d4a17fc (superclaude/commands/)
Total: 30 commands now available

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-13 16:08:56 +01:00

2.4 KiB

name, description, category, complexity, mcp-servers, personas
name description category complexity mcp-servers personas
git Git operations with intelligent commit messages and workflow optimization utility basic

/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