Skip to content
Development
Skill

/rebase-feat-with-main

Rebase the current pastiche feature branch onto main to absorb hotfixes. Use when the user invokes `/rebase-feat-with-main`, when resuming a task, or after a hotfix lands on main while a feature branch is in flight.

From plugin
pastiche
412 skills3 agents
Install
$ npx -y skills add retz8/pastiche --skill rebase-feat-with-main --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/rebase-feat-with-main

Context preview

The summary Claude sees to decide when to auto-load this skill.

Rebase the current pastiche feature branch onto main to absorb hotfixes. Use when the user invokes `/rebase-feat-with-main`, when resuming a task, or after a hotfix lands on main while a feature branch is in flight.

SKILL.md

rebase-feat-with-main.SKILL.md
name: rebase-feat-with-main
description: Rebase the current pastiche feature branch onto main to absorb hotfixes. Use when the user invokes `/rebase-feat-with-main`, when resuming a task, or after a hotfix lands on main while a feature branch is in flight.

rebase-feat-with-main

Workflow

1. **Guard.** Current branch must be a feature branch (`<version>/<task-name>`) or sub-task branch — never main. Working tree must be clean; if not, stop and ask. 2. `git fetch origin main` 3. `git rebase origin/main` 4. **On conflict:** stop immediately, show the conflicting files, and let the user decide — never auto-resolve, never `--abort` without asking. 5. **If the branch is already pushed:** `git push --force-with-lease`. Never force-push main. 6. Report: how many commits were replayed and whether main had moved at all (no-op is a valid outcome).

Ships withpastiche

Pastiche is a Claude Code plugin for Frontend UI implementation. Given a frontend task, it produces code that follows your established design system and component library — not by inventing, but by faithfully executing within the vocabulary your team already

Get the whole plugin

Other skills on pastiche.