mirror of
https://github.com/SuperClaude-Org/SuperClaude_Framework.git
synced 2025-12-29 16:16:08 +00:00
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>
This commit is contained in:
47
.claude/commands/git.md
Normal file
47
.claude/commands/git.md
Normal file
@@ -0,0 +1,47 @@
|
||||
## Legend
|
||||
| Symbol | Meaning | | Abbrev | Meaning |
|
||||
|--------|---------|---|--------|---------|
|
||||
| → | leads to | | repo | repository |
|
||||
| & | and/with | | sync | synchronize |
|
||||
| w/ | with | | chkpt | checkpoint |
|
||||
|
||||
@include shared/command-templates.yml#Command_Header
|
||||
|
||||
Manage git workflows for repo in $ARGUMENTS.
|
||||
|
||||
@see shared/thinking-modes.yml ∀ thinking flags
|
||||
|
||||
Examples:
|
||||
- `/user:git --status` - Comprehensive repo status
|
||||
- `/user:git --commit "Add feature"` - Create commit
|
||||
- `/user:git --branch feature/ui` - Create & switch→branch
|
||||
- `/user:git --sync` - Fetch, pull & push
|
||||
- `/user:git --merge develop --think` - Merge w/ conflict analysis
|
||||
|
||||
Git operations:
|
||||
|
||||
**--status:** Working tree status | Current branch & upstream | Stashed changes | Recent commits (5) | Unpushed commits | Remote status
|
||||
|
||||
**--commit:** Stage files (-a→all) | Generate message if missing | Follow conventions | Verify tests pass | Create chkpt | GPG sign if configured
|
||||
|
||||
**--branch:** Create from HEAD/base | Switch to existing | --delete→remove merged | --list→show all w/ descriptions | Auto-track remote | Protect current/main
|
||||
|
||||
**--sync:** Fetch all remotes | Pull w/ rebase | Push to tracked remote | Handle auth | Resolve conflicts | Update submodules
|
||||
|
||||
**--merge:** Fetch target branch | Check conflicts | Create chkpt | Use merge strategy | Handle conflicts interactively | Verify results
|
||||
|
||||
**--stash:** Save w/ message | List w/ timestamps | Apply/pop specific | Drop old/unnecessary | Handle conflicts
|
||||
|
||||
**--history:** Commit log w/ formats | Filter by author/date/path | Branch topology | Search messages | File change stats
|
||||
|
||||
**--checkpoint:** Tagged state snapshot | Descriptive message | Store in manifest | Enable rollback
|
||||
|
||||
**--rollback:** List available chkpts | Verify safety | Pre-rollback chkpt | Execute rollback | Verify state
|
||||
|
||||
@see shared/git-workflow.yml ∀ best practices
|
||||
@see shared/checkpoint.yml ∀ checkpoint system
|
||||
@see shared/error-recovery-enhanced.yml ∀ safety checks
|
||||
|
||||
Workflow: Check status→Create chkpt→Execute→Verify→Sync
|
||||
|
||||
Deliverables: Updated repo state, commit history, branch mgmt, remote sync.
|
||||
Reference in New Issue
Block a user