git-master
仓库创建 2025年12月3日最近提交 3 小时前SkillHot 收录 20 天前
▸ 精选理由
覆盖从提交到回溯的全套 git 操作,适合代码库维护。
▸ 风险提示
会执行变更历史操作(如 rebase、merge),请确保备份或在临时分支使用。
这个 Skill 做什么
针对 Git 操作与历史调查的保守且以证据为准的技能。
能帮你做精确、可追溯的 Git 历史操作和取证调查,比如原子提交、rebase/squash、blame、bisect,回答谁在什么时候加了某段代码等。遇到需要对 commit 或 git-history 调查或改写历史时用,普通代码改动不必要触发。特点是保守且以证据为准:会先读取仓库状态再推断,尽量不乱改历史并产出可核验的证据链。
▸ 展开 SKILL.md 英文原文
MUST USE whenever a task needs a commit or git-history investigation. Covers atomic commits, staging, commit-message style, rebase, squash, fixup/autosquash, blame, bisect, reflog, git log -S/-G, and questions like who wrote this or when was this added. Do not use for ordinary code edits unless the user asks for git work.
6.7w
Stars
5.4k
Forks
40
仓库内 Skill
+1.6k
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/code-yeongyu/oh-my-openagent/dev/packages/shared-skills/skills/git-master/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/code-yeongyu/oh-my-openagent/dev/packages/shared-skills/skills/git-master/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# Git Master Use this skill when the user asks you to operate on Git history or answer a Git-history question. Be exact, conservative, and evidence-led. Read the repository state before you infer anything. ## Mode Gate Classify the request first: - `COMMIT`: stage and commit local changes. - `REBASE`: rebase, squash, fixup, autosquash, reorder, split, or otherwise rewrite branch history. - `HISTORY`: answer when, where, who, why, or which commit changed something. - `STATUS`: inspect branch, diff, or working-tree state without changing it. Do not commit, rebase, push, force-push, reset, stash-pop, or delete anything unless the user explicitly asked for that operation. If the request is
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有