sc-git
Git Operations
Execute Git operations with intelligent commit messages, branch management, and workflow optimization.
When to use
- User needs to commit changes with good messages
- Branch creation or management needed
- Git workflow operations required
- Merge or rebase assistance needed
- Repository state analysis requested
Instructions
Usage
/sc:git [operation] [args] [--smart-commit] [--branch-strategy]
Arguments
operation- Git operation (add, commit, push, pull, merge, branch, status)args- Operation-specific arguments--smart-commit- Generate intelligent commit messages--branch-strategy- Apply branch naming conventions--interactive- Interactive mode for complex operations
Execution
- Analyze current Git state and repository context
- Execute requested Git operations with validation
- Apply intelligent commit message generation
- Handle merge conflicts and branch management
- Provide clear feedback and next steps
Claude Code Integration
- Uses Bash for Git command execution
- Leverages Read for repository analysis
- Applies TodoWrite for operation tracking
- Maintains Git best practices and conventions
More from htlin222/dotfiles
cpp
Write modern C++ with RAII, smart pointers, and STL. Use for C++ development, memory safety, or performance optimization.
130refactor
Refactor code for quality and maintainability. Use for cleanup and tech debt reduction.
74data-science
Data analysis, SQL queries, BigQuery operations, and data insights. Use for data analysis tasks and queries.
52c-lang
Write efficient C code with proper memory management and system calls. Use for C optimization, memory issues, or system programming.
46quarto-book
Generate Quarto Book project structure with chapters, configuration, and output settings. Use when user wants to create a book, multi-chapter document, technical manual, or asks about Quarto book setup.
45scientific-figure-assembly
Assemble multi-panel scientific figures with panel labels (A, B, C) at publication quality (300 DPI) using R. Use when combining individual plots into journal-ready figures.
43