一键导入
rebase-main
Safely rebase the current branch onto the latest origin/main. Stashes uncommitted work, fetches, rebases, and restores.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Safely rebase the current branch onto the latest origin/main. Stashes uncommitted work, fetches, rebases, and restores.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Reorganize messy git commit history on a feature branch into clean, reviewer-friendly commits. Use when: user says "コミットを整理", "organize commits", "squash commits", "clean up history", "rewrite commits", or wants to prepare a branch for PR review by removing trial-and-error noise. Handles soft reset, logical grouping, and recommitting with clear messages.
Reviews changed code for reuse, quality, and efficiency, then fixes issues found. Preserves all functionality.
Create an HTML report to review the current session's changes. Include screenshots when changes affect UI/visuals. Use when the user asks for a review report, session summary as HTML, or visual diff of changes.
Capture screenshots of the current work-in-progress UI via agent-browser against a running local dev server, then open them with google-chrome-stable. For UI changes, capture before/after pairs (and Figma reference shots when a design URL is provided) so visual diffs can be reviewed at a glance.
Fetch and display comments from the current GitHub pull request. Use when asked to show PR comments, review comments, or check PR feedback.
Create a branch, commit changes, push to remote, and create a pull request. Use when asked to create a PR or pull request.
基于 SOC 职业分类
| name | rebase-main |
| description | Safely rebase the current branch onto the latest origin/main. Stashes uncommitted work, fetches, rebases, and restores. |
Stash any uncommitted changes (including untracked files):
git stash -u -m "rebase-main: auto-stash"
Record whether the stash was created (exit code 0 and stash list changed).
Fetch latest:
git fetch origin main
Rebase:
git rebase origin/main
If conflicts occur, report them and stop — do not auto-resolve.
Restore stash if one was created:
git stash pop
Print the result: new base commit, number of replayed commits, whether stash was restored.