devtools-git-advanced-workflows
Sub-skill of devtools: Git Advanced Workflows (+1).
Best use case
devtools-git-advanced-workflows is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Sub-skill of devtools: Git Advanced Workflows (+1).
Teams using devtools-git-advanced-workflows should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/git-advanced-workflows/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How devtools-git-advanced-workflows Compares
| Feature / Agent | devtools-git-advanced-workflows | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Sub-skill of devtools: Git Advanced Workflows (+1).
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
SKILL.md Source
# Git Advanced Workflows (+1)
## Git Advanced Workflows
```bash
# See git-advanced for complete patterns
# Git worktrees - work on multiple branches simultaneously
git worktree add ../feature-branch feature/new-feature
git worktree add ../hotfix-branch hotfix/urgent-fix
git worktree list
git worktree remove ../feature-branch
# Git bisect - find the commit that introduced a bug
git bisect start
git bisect bad HEAD
git bisect good v1.0.0
# Git will checkout commits for you to test
git bisect run ./test.sh # Automate with a script
git bisect reset
# Git reflog - recover lost commits
git reflog
git checkout HEAD@{5} # Go back to a previous state
git branch recovered-branch HEAD@{5} # Create branch from lost commit
# Git rerere - reuse recorded resolution
git config rerere.enabled true
# Now git remembers how you resolved conflicts
# Interactive rebase patterns
git rebase -i HEAD~5
# Commands in editor:
# pick - use commit
# reword - edit commit message
# edit - stop and amend
# squash - combine with previous
# fixup - combine, discard message
# drop - remove commit
# Git hooks
cat > .git/hooks/pre-commit << 'EOF'
#!/bin/bash
# Run tests before commit
npm test || exit 1
# Run linter
npm run lint || exit 1
EOF
chmod +x .git/hooks/pre-commit
# Shared hooks with husky
npx husky init
echo "npm test" > .husky/pre-commit
```
## Raycast/Alfred Automation
```bash
# See raycast-alfred for complete patterns
# Raycast script command (bash)
#!/bin/bash
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Open Project
# @raycast.mode silent
# Optional parameters:
# @raycast.icon 📁
# @raycast.argument1 { "type": "text", "placeholder": "project name" }
PROJECT="$1"
PROJECT_DIR="$HOME/projects/$PROJECT"
if [ -d "$PROJECT_DIR" ]; then
code "$PROJECT_DIR"
echo "Opened $PROJECT"
else
echo "Project not found: $PROJECT"
fi
```Related Skills
digitalmodel-orcawave-orcaflex-proof-workflows
Class-level digitalmodel OrcaWave/OrcaFlex readiness, semantic-proof, fixture-proof, and closeout workflows.
devtools
Optimize development environment, containers, CLI productivity, and git workflows using Docker, shell tooling, and editor customization.
skill-creator-advanced-usage
Sub-skill of skill-creator: Advanced Usage.
raycast-alfred-4-alfred-workflows-python
Sub-skill of raycast-alfred: 4. Alfred Workflows - Python.
raycast-alfred-3-alfred-workflows-applescript
Sub-skill of raycast-alfred: 3. Alfred Workflows - AppleScript.
git-advanced-9-monorepo-patterns
Sub-skill of git-advanced: 9. Monorepo Patterns.
git-advanced-7-git-aliases
Sub-skill of git-advanced: 7. Git Aliases (+1).
git-advanced-6-git-hooks
Sub-skill of git-advanced: 6. Git Hooks.
git-advanced-3-git-bisect
Sub-skill of git-advanced: 3. Git Bisect (+2).
git-advanced-1-interactive-rebase
Sub-skill of git-advanced: 1. Interactive Rebase (+1).
git-advanced-1-complete-gitconfig
Sub-skill of git-advanced: 1. Complete .gitconfig (+2).
git-advanced-1-commit-history
Sub-skill of git-advanced: 1. Commit History (+2).