Rebase

From the-agency-ai/the-agency · View interactive version

Rebase is an AI agent skill from the GitHub repository the-agency-ai/the-agency. DEPRECATED — use `git merge <target>` or `/sync` instead. Rebase is blocked by hookify.

How to use this skill

Skill file

<!--

Flag #62/#63: allowed-tools removed. Inherits Bash(*) from

.claude/settings.json. Restricting to specific subcommand patterns at the

skill level silently blocks agents on permission prompts the agent cannot

see — see dispatch #171 for the devex incident that surfaced this trap.

-->

Rebase (DEPRECATED)

This skill is deprecated. All branch synchronization now uses merge, not rebase.

Rebase rewrites history, breaks worktree merge-bases, and caused a fleet-wide data loss incident in a multi-worktree monorepo. See agency/REFERENCE/REFERENCE-GIT-MERGE-NOT-REBASE.md for the full rationale and incident report.

Use Instead

| What you want | Use |

|---------------|-----|

| Sync your branch with master | git merge master |

| Sync local master with origin | /sync-all |

| Merge and push to origin | /sync |

| Sync worktree with master | /worktree-sync |

The block-raw-rebase hookify rule blocks all git rebase commands. This is intentional and enforced framework-wide.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.