git-rebase-main
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "git-rebase-main" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-8a978c9ec9d79639ad6c2150f4f1fddfb5b6b7b714f15385a54f57f867f03bd5. Verify the upstream source and version against https://github.com/Dimon94/skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Merge a finished branch into the local main branch while preserving a linear history: commit in-progress work, commit main’s own changes, rebase the current branch onto main, then fast-forward main. Intended for scenarios where the user has finished work and requests rebasing/merging back into the local main. Local-only operations; never touches remote repositories.
Introduction source: third_party · Dimon94 · 0.0.1 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- Not specified in the source documentation.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: git-rebase-main
description: Land a finished branch on local main with linear history — commit pending work, commit main's own dirt first, rebase onto main, fast-forward main. Use when the user asks to rebase/merge/合回主分支 into local main after work is committed. Local only, never touches remotes.Git Rebase Main
Land the current branch on local main with linear history. Local only:
never push, never fetch, never delete the branch afterward.
1. Commit pending work here
If the current worktree is dirty, commit it per the git-commit skill.
2. Already on main → done
If the current branch is main, that commit was the landing. Report and stop.
3. Commit main's own dirt first
Locate main's worktree with git worktree list --porcelain. If main is
checked out somewhere and that worktree is dirty, commit it there per the
git-commit skill — before the rebase, because that commit advances main
and the branch must rebase onto the advanced head.
4. Rebase onto main
git rebase main. On conflict, apply the resolving-merge-conflicts skill;
never --abort.
5. Advance main to the rebased head
mainchecked out in a worktree → rungit merge --ff-only <branch>there.mainnot checked out anywhere → rungit branch -f main <branch>here.
If the merge is not fast-forward, stop and report. Do not force anything.
6. Report
New main head, commits landed, where dirt was committed (if any), and that
the source branch was left intact.
Version history
-
v5.0.0
GitHub ↗
Original release notes
Dverity v5.0.0 是从 cc-devflow 到 Dverity 的 breaking identity release。 ## Install ```bash npm install --global [email protected] ``` ## Provenance - Frozen source: `537c532191a3508725adf6349e92ceebed4de45f` - Exact artifact SHA-512: `d623851bf9d5c3cb1d8e01a5eb076d6ac4fd49b8cca72559b608323b31386ec22414375498e07085a97c011b099ad7a4af6f83babe952f74601362ff4804c4e6` - npm package: https://www.npmjs.com/package/dverity/v/5.0.0 - GitHub Actions provenance run: https://github.com/Dimon94/dverity/actions/runs/29312928338 ## Scope 本 release 完成 repo-first rename、exact `[email protected]` publication、npm provenance 与 GitHub tag/release。Downstream sync/deprecation(#80)不在本次执行范围。
- v4.1.5 GitHub ↗
-
v4.1.4
GitHub ↗
Original release notes
## [4.1.4] - 2026-02-08 ### 🧭 Workspace Worktree Session Recovery & Release Flow Clarity v4.1.4 strengthens workspace-to-worktree continuity so developers can resume a requirement reliably across sessions, and clarifies flow init/release semantics in command and skill docs. #### Added - **Workspace switch script** - Added `.claude/scripts/flow-workspace-switch.sh` - Supports `REQ/BUG` pointer updates, journal logging, `--print-cd`, and sourced `--cd` switching - **Scripts architecture map** - Added `.claude/scripts/CLAUDE.md` as L2 directory map for script responsibilities #### Changed - **Workspace start behavior** - `.claude/scripts/flow-workspace-start.sh` now accepts `REQ-XXX/BUG-XXX` override - Added `--switch` and sourced `--cd` behavior for faster worktree handoff - Added BUG status file compatibility (`devflow/bugs/*/status.json`) - **Requirement initialization linkage** - `.claude/scripts/create-requirement.sh` now syncs `devflow/workspace/{developer}/.current-req` when workspace exists - **Flow docs and skills alignment** - Updated flow init/release/workspace command docs and workflow skills to reflect: - default worktree naming semantics - merge semantics by release strategy - workspace continuity expectations #### Benefits - ✅ New session recovery can target the intended REQ/BUG directly - ✅ Worktree switching is faster and less error-prone via generated `cd` commands - ✅ Flow release semantics are clearer when deciding between PR-only vs merge paths
-
v4.1.3
GitHub ↗
Original release notes
## [4.1.3] - 2026-02-08 ### 🔧 Flow Quality Default Path + AGENTS.md Safe Emit v4.1.3 aligns release gates with `/flow-quality` as the default path and improves compiler emitters to preserve user-owned AGENTS memory content. #### Fixed - **Flow quality/release gate consistency** - `/flow-quality` quick mode now generates minimal `TEST_REPORT.md` and `SECURITY_REPORT.md` - Release entry gate accepts `quality_complete` (with `qa_complete` backward compatibility) - Flow docs/scripts updated to recommend `/flow-quality` by default, with `--full` as enhanced review mode - **AGENTS.md overwrite prevention in compiler emitters** - Added managed block upsert mechanism in base emitter - Codex/Antigravity emitters now write compact index blocks instead of appending full agent/rule bodies - Existing user memory content in `AGENTS.md` is preserved #### Added - **Regression coverage for managed blocks** - Tests for AGENTS managed block generation, idempotence, and preservation behavior #### Benefits - ✅ `flow-quality` becomes a true default path to `flow-release` without requiring `--full` - ✅ Compiler output no longer clobbers user-maintained AGENTS memory sections - ✅ Backward compatibility with legacy QA status remains intact
-
v4.1.0
GitHub ↗
Original release notes
## 🤖 Claude Team Integration: Multi-Agent Parallel Collaboration v4.1.0 introduces Claude Team functionality for multi-agent parallel development with automatic task scheduling and distributed quality verification. ### Added - **Team Mode for /flow:dev** - Multi-agent parallel execution - `--team` flag enables parallel agent collaboration - `--agents N` specifies agent count (2-5, default 3) - Automatic task dependency parsing and conflict detection - TeammateIdle Hook for automatic task assignment - TaskCompleted Hook for quality verification - **New Hooks** - `teammate-idle-hook.ts` - Task scheduling when teammate goes idle - `task-completed-hook.ts` - Quality verification on task completion - `types/team-types.d.ts` - TypeScript type definitions for Team state - **New Scripts** - `parse-task-dependencies.js` - TASKS.md dependency parser - `detect-file-conflicts.sh` - Parallel task file conflict detection - `team-dev-init.sh` - flow-dev Team mode initialization - **Enhanced orchestration_status.json** - `team` section for teammate tracking - `ralphLoop.teammates` for per-teammate iteration state - Task assignment tracking - **New common.sh Functions** - `is_team_mode_enabled()` - Check Team mode status - `init_team_state()` - Initialize Team state - `add_teammate()` / `update_teammate_status()` - Teammate management - `assign_task_to_teammate()` / `get_unassigned_tasks()` - Task assignment - `all_teammates_idle()` / `cleanup_team_state()` - Team lifecycle ### Changed - **quality-gates.yml** - New Team mode configuration - `teammate_idle` section for idle hook settings - `task_completed` section for completion verification - `ralph_loop.team_mode` for distributed Ralph Loop ### Quality Metrics | Metric | Before | After | Improvement | |--------|--------|-------|-------------| | Parallel agents | 1 | 3-5 | +400% | | Requirement completion time | 90 min | 50 min | -45% | | Task scheduling | Manual | Automatic | 100% | | Quality verification | Single-point | Distributed | 100% | --- **Full Changelog**: https://github.com/Dimon94/cc-devflow/blob/main/CHANGELOG.md **npm**: `npm install [email protected]`
Only the five most recent versions are shown. View full version history at the source ↗
Current listing version
0.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 解决 Git 分支合并的常见需求
- 具有广泛受众的实用能力
- 明确限定本地操作范围
Highlights
- 触发词精准完整
- 覆盖多种变体(rebase/merge/合回主分支)
- 边界清晰
Highlights
- Phase/步骤清晰
- 有出口条件
- frontmatter完整
Highlights
- 工具来源明确
- 参数正确
- 覆盖主要异常
- 不可逆操作有确认机制
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Not specified in the source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.