with one click
git-snapshot-rollback
存档当前的失败尝试分支,并安全回退到特定历史提交
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
存档当前的失败尝试分支,并安全回退到特定历史提交
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
为 Agent 设计的自动化浏览器 CLI 工具,也能操作 Electron 桌面应用。当需要与网站交互(包括页面导航)时使用
定义了使用浏览器开发者工具进行端到端(E2E)测试的工作流,测试用例以 Markdown 文件形式记录。
Assists in writing high-quality content by conducting research, adding citations, improving hooks, iterating on outlines, and providing real-time feedback on each section. Transforms your writing process from solo effort to collaborative partnership.
此技能提供一个脚本,用于将 macOS 剪贴板中的图片直接粘贴到指定的 PNG 文件。
PMP 风格的结构化迭代开发流程,确保清晰、高效且有据可查。
此 Skill 指导 Gemini 将一个高阶的产品想法,通过结构化的分析与协作,转化为一份详尽、可执行的产品需求文档(PRD)。
| name | git-snapshot-rollback |
| description | 存档当前的失败尝试分支,并安全回退到特定历史提交 |
| license | Apache-2.0 |
| author | github/cafe3310 |
| depends_on_skill | [] |
| depends_on_binary | ["git","python3"] |
此技能通过自动化脚本确保在回退 Git 提交时,不仅保留了当前的尝试(Snapshot),还通过 ARCHIVE.md 构建了一个可追溯的决策链表。
run_shell_command 调用技能内置脚本:
python3 <path_to_skill>/scripts/rollback.py <Target_Commit> "<Reason>" --pushpython3 <path_to_skill>/scripts/rollback.py <Target_Commit> "<Reason>"archive/{current_branch}/YYYY-MM-DD-HH-mm 分支。ARCHIVE.md 记录。git reset --hard。ARCHIVE.md 并提交回退记录。ARCHIVE.md 是否已正确记录了本次回退的双向链接。ARCHIVE.md 的具体格式,请参考 references/log-format.md。git reset --hard 来放弃大量工作。ARCHIVE.md 中的历史记录。