Files
SuperClaude/.claude/commands/shared/git-workflow.yml
NomenAK bce31d52a8 Initial commit: SuperClaude v4.0.0 configuration framework
- Core configuration files (CLAUDE.md, RULES.md, PERSONAS.md, MCP.md)
- 17 slash commands for specialized workflows
- 25 shared YAML resources for advanced configurations
- Installation script for global deployment
- 9 cognitive personas for specialized thinking modes
- MCP integration patterns for intelligent tool usage
- Token economy and ultracompressed mode support

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-22 14:02:49 +02:00

37 lines
898 B
YAML

# Git Workflow Integration
## Auto-Check
```yaml
Before Major Changes:
- git status | Check for uncommitted changes
- git branch | Verify correct branch
- git fetch | Check for remote updates
Suggest Commits:
- After feature completion
- Before switching branches
- At logical breakpoints
Conflict Detection:
- Scan for merge conflict markers
- Offer resolution patterns
- Guide through conflict resolution
```
## Workflow Patterns
```yaml
Feature Work:
New feature→Suggest feature branch
Multiple changes→Suggest incremental commits
Experimental→Suggest separate branch
Clean State:
Uncommitted changes→"Commit first?" or "Stash?"
Wrong branch→"Switch→feature branch?"
Conflicts → "Resolve conflicts first"
Branch Awareness:
main/master → Warn about direct changes
feature/* → Encourage commits
hotfix/* → Emphasize testing
```