git-rebase-workflow
SKILL.md
Git Rebase Workflow
Overview
Use this skill to clean local history for reviewability while avoiding unsafe rewrite on shared branches.
Scope Boundaries
- Use this skill when the task matches the trigger condition described in
description. - Do not use this skill when the primary task falls outside this skill's domain.
Shared References
- Rebase safety rules:
references/rebase-safety-rules.md
Templates And Assets
- Rebase readiness checklist:
assets/rebase-readiness-checklist.md
- Conflict log template:
assets/rebase-conflict-log-template.md
Inputs To Gather
- Branch divergence from target base.
- Branch sharing status and PR status.
- Force-push/rewrite policy constraints.
- Verification scope for rewritten commits.
Deliverables
- Rebase execution notes with conflict rationale.
- Verification evidence for rewritten history.
- Push plan aligned to force-with-lease policy.
Workflow
- Confirm rebase eligibility using
assets/rebase-readiness-checklist.md. - Fetch latest base and inspect commit divergence.
- Rebase commits in logical sequence.
- Record conflict resolutions in
assets/rebase-conflict-log-template.md. - Verify behavior and push per
references/rebase-safety-rules.md.
Quality Standard
- Rebased commits preserve original behavioral intent.
- Rewrite policy is followed without exceptions.
- Conflict decisions are documented and test-verified.
- Resulting history is easier to review without hiding risk.
Failure Conditions
- Stop when branch is shared or already under open PR policy constraints.
- Stop when rebase would rewrite protected/shared history.
- Escalate when rewrite exceptions are requested without approval.
Weekly Installs
4
Repository
kentoshimizu/sw…t-skillsGitHub Stars
4
First Seen
Feb 28, 2026
Security Audits
Installed on
opencode4
gemini-cli4
codebuddy4
github-copilot4
codex4
kimi-cli4