git-workflows

Orchestrate complex git tasks across branches and remotes.

78|3|Updated Mar 25, 2026
One-click install
npx skills add https://github.com/CUHK-AIM-Group/NeuroClaw --skill git-workflows-cuhk-aim-group
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-workflows
Source: https://github.com/CUHK-AIM-Group/NeuroClaw/tree/main/skills/git-workflows
Command: npx skills add https://github.com/CUHK-AIM-Group/NeuroClaw --skill git-workflows-cuhk-aim-group

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Complex Git operations can overwhelm developers, leading to messy histories, merge conflicts, and wasted time. This skill consolidates advanced workflows into a coherent guide that helps teams maintain clean commits, reproducible branches, and safer collaboration.

Core Features & Use Cases

  • Interactive rebase, bisecting bugs, and history hygiene to prepare clean merges.
  • Worktree management for parallel development and multi-branch experimentation.
  • Subtree/submodule strategies and monorepo patterns to coordinate large codebases across repos.

Quick Start

Create a feature branch, set up a separate worktree for parallel work, and begin an interactive rebase to organize commits.

Frequently Asked Questions about git-workflows

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I use git bisect to find a regression in my commit history?

Git bisect isolates bugs by binary searching through commits. This skill guides you through structuring the bisect process across branches to reliably identify exactly which commit introduced a regression.

What is the best way to manage parallel development with git worktrees?

Git worktrees let you check out multiple branches simultaneously in separate directories. This skill orchestrates worktree setups for parallel development and multi-branch experimentation without cloning your repository multiple times.

How do I clean up a messy git history before merging a feature branch?

Interactive rebasing rewrites commit history to squash or reorder commits. This skill provides structured workflows for interactive rebase and history hygiene to ensure clean, organized merges into your main branch.

When should I use git submodules versus subtrees in a monorepo?

Submodules link external repos as nested references, while subtrees merge them directly into your project. This skill outlines subtree and submodule strategies to coordinate large codebases and monorepos effectively.

Can I recover lost commits after doing a hard reset or a failed rebase?

Git reflog tracks reference updates, allowing you to recover lost commits after risky operations. This skill includes clear guardrails and reflog recovery workflows to safely restore your branch state.

Does this skill require any external git tools or GUI dependencies?

No, it operates dependency-free using standard git commands. You only need a standard git installation to execute the structured workflows, rebasing, and history hygiene tasks it orchestrates.