rebase-assistant
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 "rebase-assistant" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-c25f0941ff08e8246d46cf40b789ec410825b2daba8172581f718bbcecdeb7b3. Verify the upstream source and version against https://github.com/jMerta/codex-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
Use this when a user requests to rebase a Git branch or update it onto another ref. Handles rebase conflicts or verifies rewritten history. Protects uncommitted changes in the working directory, resolves conflicts according to intent, and treats force-push as a separately authorized action.
Introduction source: third_party · jMerta · 0.0.1 Reference
SkillPi interpretation
- Tasks
- Use when the user asks to rebase or update a Git branch onto another ref, handle rebase conflicts, or verify rewritten history. Protects dirty worktrees, resolves conflicts by intent, and keeps force-push as a separate authorized action.
- Testing
- Not tested
Browse files
Frontmatter
name: rebase-assistant
description: Use when the user asks to rebase or update a Git branch onto another ref, handle rebase conflicts, or verify rewritten history. Protects dirty worktrees, resolves conflicts by intent, and keeps force-push as a separate authorized action.Rebase assistant
Workflow
- Resolve the current branch, remote, and target. Preserve an explicitly requested target. Otherwise query the current remote default with hosting metadata or
git ls-remote --symref <remote> HEAD, derive<remote>/<default-branch>, and stop if it cannot be verified. Do not trust a cachedrefs/remotes/<remote>/HEADunless it was just refreshed from the remote. - Record the current HEAD and inspect
git status -sb. Stop on a detached HEAD or dirty worktree rather than stashing or discarding changes automatically. - Fetch and prune the target remote, confirm the target ref exists, and record the old series base with
git merge-base <target> <old-head>. - Run
git rebase <target>. A direct rebase request authorizes this command; do not add an extra confirmation when the target is unambiguous. - For conflicts:
- list unresolved paths with
git diff --name-only --diff-filter=U; - inspect the conflict, the replayed commit, and stages
:1:,:2:, and:3:when useful; - remember that during rebase, ours is the target/upstream side and theirs is the commit being replayed;
- resolve content by intended behavior, not by blanket side selection;
- make delete/modify, rename, generated-file, and binary choices explicit;
- stage resolved paths and continue with
git rebase --continue.
- list unresolved paths with
- If intent cannot be established safely, stop in the conflict state and report the exact decision needed. Do not abort or discard resolutions automatically.
- Verify:
- clean
git status -sband no rebase state; - target ancestry with
git merge-base --is-ancestor <target> HEAD; - commit equivalence with
git range-diff <old-base>..<old-head> <target>..HEADwhen the branch had commits to replay; - changed-file scope and the smallest relevant tests.
- clean
- Do not push unless requested. Rewritten published history requires separate explicit approval for
git push --force-with-lease.
Safety
- Never use
git reset --hard,git clean, automatic stash, or blanket ours/theirs resolution. - Preserve unrelated worktrees and user changes.
- Treat generated files according to repository instructions and regenerate them when required.
Deliverable
Report the exact target and command, old and new HEAD, conflicts and resolutions, verification results, and whether a force-push would be required.
Version history
-
3.0.0
GitHub ↗
Original release notes
# Codex skills 3.0.0 (2026-08-18) This release publishes a focused catalog of 20 maintained engineering, product, documentation, review, and operations skills for current Codex and GitHub usage. ## Highlights - Add nine reusable workflows for focused TDD, visual PR explanations, product-idea management, Polish and English UI copy, and architecture, backend, frontend, security/privacy, and test-coverage reviews ([#11](https://github.com/jMerta/codex-skills/pull/11)). - Modernize Git, GitHub Actions, debugging, documentation, release, regex, dependency, and VPS workflows ([#10](https://github.com/jMerta/codex-skills/pull/10)). - Rewrite every skill description around concrete user requests and invocation triggers. - Refresh commit and pull request templates with exact PR creation and visual-evidence guidance. - Add `agents/openai.yaml` discovery metadata to every published skill. - Strengthen catalog validation for skill names, frontmatter, referenced files, body size, UI metadata, malformed YAML keys, and exact skill-token prompts. - Reject stale `skills.json`, run CLI tests in CI, and refresh GitHub Actions to current major versions. ## Breaking changes - Remove `agents-md`, `coding-guidelines-gen`, `coding-guidelines-verify`, `create-cli`, `plan-work`, `sessions-to-blog`, `ui-ux-pro-max`, and `video-transcript-downloader` from the published catalog. - Existing local installations are not deleted automatically. The `init-ledger` CLI command remains available; only the `agents-md` skill is removed. - Require Node.js 18 or newer for the npm CLI. ## Security - Upgrade the CLI archive extractor from `tar` 6.2.1 to 7.5.22 after npm and OSV reported twelve path traversal, overwrite, parser, and denial-of-service advisories against the resolved version. - Prefer GitHub connector context with explicit fallbacks and mutation gates in GitHub-related workflows. - Add direct and transitive CVE/advisory auditing, dependency-path verification, patched-version selection, and time-bounded override guidance. - Add dependency release-age, lockfile, provenance, integrity, lifecycle-script, and dependency-review checks. - Detect the active VPS firewall and keep package refreshes, restarts, pruning, and configuration changes behind explicit approval. ## Upgrade notes - Review locally installed removed skills before deleting them; upgrading the catalog does not modify an existing skills directory. - Skill contributors must add valid `agents/openai.yaml` metadata and install PyYAML before running the local validator. ## Verification - `python scripts/build_skills_json.py --check` - `python -m unittest discover -s scripts -p "test_*.py"` - `python scripts/validate_skills.py` - `python scripts/check_invisible_chars.py --all` - `npm ci --ignore-scripts --prefix cli` - `npm audit --omit=dev --prefix cli` - `npm test --prefix cli`
-
2.0.0
GitHub ↗
Original release notes
# Codex skills 2.0.0 (2026-02-06) ## Highlights - Standardize skill installs to the new `.agents/skills` catalog (`~/.agents/skills` by default, or `--dir .agents/skills` for repo-local installs). - Simplify the CLI: remove multi-agent installs and replace `--agent` with `--dir`. - Update the skill catalog: add `ui-ux-pro-max`; remove `frontend-design`, `brave-search`, and `oracle`. ## Breaking changes - CLI: removed `--agent` / multi-agent install targets. Use `--dir <dir>` instead. - CLI: default install dir changed from `~/.codex/skills/` to `~/.agents/skills/`. - Skills removed from the catalog: `frontend-design`, `brave-search`, `oracle`. ## Upgrade notes - If you previously installed skills into `~/.codex/skills/`, reinstall into the new default: - `npx codex-skills install-all` - To install into a repo (portable), use: - `npx codex-skills install-all --dir .agents/skills` - If you added scripts to PATH, update it to the new location: - macOS/Linux: `export PATH="$PATH:$HOME/.agents/skills/agent-scripts"` - Windows (PowerShell): add `$HOME\\.agents\\skills\\agent-scripts` to PATH ## Deprecations - None. ## Features - Skills: add `ui-ux-pro-max`. - CLI: add `--dir <dir>` and make installs more robust on Windows (retry deletes for transient file locks). ## Fixes - `python3 scripts/validate_skills.py` no longer requires `PyYAML`. ## Performance - None. ## Security - None. ## Dependencies - None. ## Operations / infrastructure - None. ## Database / migrations - None. ## Known issues - None. ## Verification - `python3 scripts/build_skills_json.py` - `python3 scripts/validate_skills.py` - `npm test` (cli) ## Risk / notes - Users must reinstall skills if they relied on the legacy `~/.codex/skills/` location or the removed skills.
-
1.6.0
GitHub ↗
Original release notes
# Codex skills 1.6.0 (2026-01-02) ## Highlights - Add new skills sourced from agent-scripts: brave-search, create-cli, frontend-design, oracle, and video-transcript-downloader. - Add a CLI command to install shared agent-scripts. - Document Brave Search API key setup in the README. ## Breaking changes - None. ## Upgrade notes - Optional: run `npx codex-skills install-agent-scripts` to install shared scripts alongside skills. ## Deprecations - None. ## Features - CLI: add `install-agent-scripts` to install shared scripts. - Skills: add brave-search, create-cli, frontend-design, oracle, and video-transcript-downloader. - Docs: add Brave Search API key setup instructions. ## Fixes - None. ## Performance - None. ## Security - None. ## Dependencies - None. ## Operations / infrastructure - None. ## Database / migrations - None. ## Known issues - None. ## Verification - `python scripts/build_skills_json.py` - `npm test` (cli) ## Risk / notes - No migrations or config changes required.
-
1.5.0
GitHub ↗
Original release notes
# Codex skills 1.5.0 (2025-12-23) ## Highlights - Add a global AGENTS.MD ledger template and CLI init-ledger command to generate it. - Introduce a new verify command plus a richer CLI test suite for local installs. - Add new skills: branch-cleaner, regex-builder, and rebase-assistant. ## Breaking changes - None. ## Upgrade notes - Optional: run `npx codex-skills init-ledger` to create the global ledger at `~/.codex/AGENTS.MD`. - Optional: use `npx codex-skills verify <skill-name>` to validate local skill installs. ## Deprecations - None. ## Features - CLI: add init-ledger for the global AGENTS.MD template. - CLI: add verify for local skill validation and add test coverage for CLI flows. - Skills: add branch-cleaner, regex-builder, and rebase-assistant. - Docs: highlight install-all and document the global ledger workflow. ## Fixes - Pages: ensure the release workflow dispatches the pages deploy. ## Performance - None. ## Security - None. ## Dependencies - None. ## Operations / infrastructure - Add a release workflow dispatch for pages builds. ## Database / migrations - None. ## Known issues - None. ## Verification - `npm test` ## Risk / notes - No migrations or config changes required.
-
1.4.0
GitHub ↗
Original release notes
# codex-skills 1.4.0 (2025-12-19) ## Highlights - Added `install-all` to install every skill in the catalog with one command. ## Breaking changes - None. ## Upgrade notes - None. ## Deprecations - None. ## Features - New `install-all` / `install-everything` CLI command for bulk installs. ## Fixes - None. ## Performance - None. ## Security - None. ## Dependencies - None. ## Operations / infrastructure - None. ## Database / migrations - None. ## Known issues - None. ## Verification - `python scripts/validate_skills.py` - `node cli/bin/codex-skills.js --help` ## Risk / notes - None.
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
- 触发描述精准覆盖变基、更新分支、冲突处理等场景
- 边界清晰,不易与其他 Git 工具混淆
Areas to improve
-
缺少 When to Use 显式章节 Reported severity: Minor
虽然有 description 字段描述用途,但文档中缺少独立的 When to Use 章节
Recommendation: 建议添加显式的 When to Use 章节,提升文档可读性
Highlights
- 8个主要步骤逻辑清晰,覆盖完整工作流
- 包含明确的出口条件和端到端示例
- frontmatter 完整,文档结构规范
Highlights
- 使用标准 Git 命令,参数正确且安全
- 覆盖主要异常场景,具备完善的错误处理
- 不可逆操作有确认机制,安全规范完善
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.
-
Overwrite or clean a working tree
May replace uncommitted files or remove untracked files. Check git status, commit or back up changes, and confirm target files first.
Mentioned in main document · lines 31
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
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.