Git Advanced Workflows

VerifiedSafe

Covers interactive rebase, cherry-picking, git bisect, worktrees, and reflog. Helps maintain clean commit history, apply specific commits across branches, find bug introductions, and recover from mistakes. Ideal for cleaning up feature branches before PRs, multi-branch development, and troubleshooting.

Sby Skills Guide Bot
DevelopmentAdvanced
6/2/2026
Claude Code
#git#version-control#advanced-workflows#history-management

Recommended for

Automated summary

Master advanced Git workflows to maintain a clean history, collaborate effectively, and recover from any situation.

Strengths

  • Covers interactive rebase, cherry-picking, bisect, worktrees, and reflog.
  • Provides concrete workflows for cleaning history, applying hotfixes across releases, and recovering from mistakes.
  • Helps manage complex branch workflows and prepare clean pull requests.
  • Includes strategies for choosing between rebase and merge.

Limitations

  • Requires a solid understanding of Git fundamentals.
  • Operations like rebase can be dangerous if used incorrectly.
  • Not suitable for beginners or trivial Git tasks.
When to use it

Use this skill when cleaning up commit history, applying specific commits across branches, finding bug introductions, or recovering lost commits.

When not to use it

Do not use it for basic Git operations like committing, pushing, or pulling, or when a GUI is preferred.

Security analysis

Safe
Quality score75/100

The skill provides educational guidance for advanced Git workflows and does not instruct any destructive, exfiltrating, or obfuscated actions. It does not involve executing arbitrary shell commands or network operations. Git operations, while powerful, are legitimate and common in development environments. No malicious or unsafe instructions are present.

No concerns found

How this analysis is made

Examples

Clean up feature branch before PR
I have a feature branch with messy commits. Help me use interactive rebase to squash, reword, and reorder commits before opening a pull request.
Find bug introduction with bisect
A bug was introduced in the last 50 commits. Use git bisect to find the exact commit that caused it.
Recover lost commits with reflog
I accidentally ran 'git reset --hard' and lost my last commits. Show me how to use git reflog to recover them.

version: 4.1.0-fractal name: git-advanced-workflows description: Master advanced Git workflows including rebasing, cherry-picking, bisect, worktrees, and reflog to maintain clean history and recover from any situation. Use when managing complex Git histories, collaborating on feature branches, or troubleshooting repository issues.

Git Advanced Workflows

Master advanced Git techniques to maintain clean history, collaborate effectively, and recover from any situation with confidence.

Do not use this skill when

  • The task is unrelated to git advanced workflows
  • You need a different domain or tool outside this scope

Instructions

  • Clarify goals, constraints, and required inputs.
  • Apply relevant best practices and validate outcomes.
  • Provide actionable steps and verification.
  • If detailed examples are required, open resources/implementation-playbook.md.

Use this skill when

  • Cleaning up commit history before merging
  • Applying specific commits across branches
  • Finding commits that introduced bugs
  • Working on multiple features simultaneously
  • Recovering from Git mistakes or lost commits
  • Managing complex branch workflows
  • Preparing clean PRs for review
  • Synchronizing diverged branches

Core Concepts

🧠 Knowledge Modules (Fractal Skills)

1. 1. Interactive Rebase

2. 2. Cherry-Picking

3. 3. Git Bisect

4. 4. Worktrees

5. 5. Reflog

6. Workflow 1: Clean Up Feature Branch Before PR

7. Workflow 2: Apply Hotfix to Multiple Releases

8. Workflow 3: Find Bug Introduction

9. Workflow 4: Multi-Branch Development

10. Workflow 5: Recover from Mistakes

11. Rebase vs Merge Strategy

12. Autosquash Workflow

13. Split Commit

14. Partial Cherry-Pick

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/git-advanced-workflows-mmk3nia1/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/git-advanced-workflows-mmk3nia1' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/git-advanced-workflows-mmk3nia1/download' --output '.skill-downloads/git-advanced-workflows-mmk3nia1/SKILL.md.part' && mv '.skill-downloads/git-advanced-workflows-mmk3nia1/SKILL.md.part' '.skill-downloads/git-advanced-workflows-mmk3nia1/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/git-advanced-workflows-mmk3nia1/SKILL.md' && test -s '.skill-downloads/git-advanced-workflows-mmk3nia1/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/git-advanced-workflows' && cp -R '.skill-downloads/git-advanced-workflows-mmk3nia1' '.claude/skills/git-advanced-workflows'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/git-advanced-workflows-mmk3nia1'

openskills read 'git-advanced-workflows-mmk3nia1'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/git-advanced-workflows-mmk3nia1/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills