一键导入
git-reword-commits
Rewrite in-scope commit messages to single-line git-workflow messages with git history reword.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Rewrite in-scope commit messages to single-line git-workflow messages with git history reword.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Restore claude/codex agents from a tmux-reboot snapshot after tmux-resurrect reopens their windows.
Snapshot running tmux claude/codex agents immediately before a reboot so their sessions can be restored afterward.
Commit changes, run git-test precommit checks, and fix failures. Use when asked to fix build, test, lint, typecheck, or precommit failures.
Running precommit checks and build validation. ALWAYS use after ANY code changes.
This skill should be used after completing any task, before returning control to the user. Always run this skill — it handles the case where there's nothing to do.
Coordination guidelines for leading a team of task-executing agents
| name | git-reword-commits |
| description | Rewrite in-scope commit messages to single-line git-workflow messages with git history reword. |
Use the code:cli and git-workflow skills.
Use git history reword only. Do not use interactive rebase, amend, filter-branch, filter-repo, or replay. Do not change commit content, authors, dates, parents, or trees.
Default scope is commits on the current branch not on upstream, or not on main/master when no upstream exists. If the user asks for all branches, collect every local branch's unique commits not on its upstream or fallback base.
Read full messages:
git log --format='%H%n%B%n--END-COMMIT--' <range>
Draft a replacement one-line message for every commit. Show before/after for every commit and ask for confirmation.
Apply approved rewrites oldest first:
MSG="<new single-line message>" GIT_EDITOR='sh -c "printf %s\\n \"$MSG\" > \"$1\"" --' git history reword <sha>
If any rewrite fails, stop and report the SHA and error. Do not push.