[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C5Z3QYMHM8MQCVN2HQEKA0":3,"skill-same:01M6C5Z3QYMHM8MQCVN2HQEKA0":138},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":51,"linkOnly":52,"markdownContent":53,"markdownBody":54,"frontMatter":55,"refName":60,"commitSha":61,"skillDirectory":62,"forksCount":63,"repositoryHtmlUrl":64,"repositoryHomepageUrl":17,"ownerHtmlUrl":65,"ownerBlogUrl":17,"ownerDescription":66,"updatedAt":67,"install":68,"resources":81},"01M6C5Z3QYMHM8MQCVN2HQEKA0","git-merge-hazards","GitHub 合并陷阱排查","Traps in GitHub's merge machinery. Use when merging a PR, merging a stacked or serial PR chain, auditing whether a branch really landed, or merging over red CI.","GitHub 合并机制中的陷阱。当合并 PR、合并堆叠或串行的 PR 链、审查某个分支是否真正落地，或在 CI 失败（红灯）的情况下强行合并时使用。","laurigates\u002Fclaude-plugins","laurigates","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F13014001?v=4","01M6C59YHWS9C7KMXKSRX1YXNP","Lauri Gates","01M6C59YP2APG9YAM4DWYQYGFJ",60,"MIT",null,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fgit-plugin\u002Fskills\u002Fgit-merge-hazards\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BR5V701HCN066VEP7H4812","代码仓库协作管理","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50],"git merge hazards","merge","git","git merge","when","parse","worktree","git worktree","sleep","log","api","awk","chain","checkout","commit","Bash","ci","gh pr","branch","fetch","2026-11-10 10:12:30",false,"---\nname: git-merge-hazards\ndescription: Traps in GitHub's merge machinery. Use when merging a PR, merging a stacked or serial PR chain, auditing whether a branch really landed, or merging over red CI.\nallowed-tools: Read, Grep, Glob, Bash(gh pr *), Bash(gh issue *), Bash(gh api *), Bash(git cherry *), Bash(git merge-tree *), Bash(git rev-parse *), Bash(git rev-list *), Bash(git log *), Bash(git reflog *), Bash(git rebase *), Bash(git merge *), Bash(git checkout *), Bash(git worktree *), Bash(git diff *), Bash(git add *), Bash(git commit *), Bash(git -C *), Bash(git merge-base *), Bash(grep *), Bash(awk *), Bash(jq *), Bash(git push *), Bash(git fetch *), Bash(git cat-file *), Bash(sleep *), Bash(just *), Bash(bash *), TodoWrite\ncreated: 2026-08-19\nmodified: 2026-11-12\nreviewed: 2026-08-21\n---\n\n# Git Merge Hazards\n\n## When to Use This Skill\n\n| Use this skill when... | Use something else when... |\n|---|---|\n| Merging a PR, or proving a branch landed | The PR's green CI ran against an older `main` → `git-plugin:worktree-stale-base-merge` |\n| Deciding whether a red PR can merge (§4) | Deciding whether a red AI-review check is a real finding → `github-actions-plugin:ai-review-max-turns` |\n| Merging an ad-hoc stacked chain (§2, §3) | Release-please PRs are piling up or conflicting → `git-plugin:release-please-pr-workflow` |\n\nThe numbered sections mirror the `~\u002F.claude\u002Frules\u002Fpr-merge-hazards.md` rule;\ndifferences: [references\u002Fsync-notes.md](references\u002Fsync-notes.md).\n\nSix traps in GitHub's merge machinery, one law: \"PR merged\" says nothing about\n*content* — and a red check is not proof of failure. Sibling: `git-plugin:git-local-hazards` (local git).\n\n## 1. `--merged` misses squash-merged branches\n\nA squash-merge collapses a branch into one fresh-SHA commit on `main`, so the\nbranch's own commits are never ancestors — `git branch --merged` (and any\nancestry check) reports it **unmerged**. \"Files identical to main\" also fails\nonce `main` drifts the same files.\n\n- **Check**, in order of authority:\n  - `gh pr list --state all --head \u003Cbranch> --json state` → a MERGED PR is\n    **authoritative**. Reach for this first; the git-side checks below are all\n    one-way.\n  - `git cherry main \u003Cbranch>` → marks a commit `-` when a patch-equivalent\n    commit is already upstream, `+` when it is not. Survives squash **and**\n    cherry-pick, and does not care that `main` drifted.\n  - `git merge-tree --write-tree main \u003Cbranch>` equals `git rev-parse main^{tree}`\n    → contained. **A match proves containment; a non-match proves nothing.**\n- **Not immune to drift** (corrected 2026-07): once `main` moves on over the same\n  files, merging an already-merged branch back would re-introduce its older\n  versions, so the trees differ and merge-tree reports **not contained** for work\n  that fully landed. Observed reporting three merged branches as unmerged. Same\n  trap as \"files identical to main\". Use the PR state or `git cherry` to decide;\n  keep merge-tree only as a positive-containment shortcut.\n- **Fix**: `just -g branch-audit`\n  (in `private_dot_config\u002Fjust\u002Fgit.just`) prints MERGED vs REVIEW + a paste-ready delete.\n  Its REVIEW bucket measured ~90% false positives (#2268), so a REVIEW line is a\n  question to settle with `gh pr list --state all --head \u003Cbranch>`, not a verdict.\n- A non-match is \"review\", **not** proof of unmerged — don't force the count to zero.\n\n## 2. Merging a stacked base auto-CLOSES the child PR\n\nWhen PR B is based on PR A's branch, merging A and deleting its branch\nauto-closes B (GitHub does **not** retarget it), and a closed PR whose base\nbranch is gone **cannot be reopened**.\n\n- **Check the base first** (skill-only): `gh pr view \u003Cbase> --json state,mergeStateStatus,mergeable` before retargeting. Proceed only when `state` is `OPEN` and `mergeable` is `MERGEABLE`; the `mergeStateStatus` values and the `UNKNOWN` wait are in [references\u002Fno-force-push-stack.md](references\u002Fno-force-push-stack.md#check-the-base-first).\n- **Fix — order matters**: retarget the child **first**, while the base PR is open:\n  1. `gh pr edit \u003Cchild> --base main`\n  2. `gh pr merge \u003Cbase> --\u003Cmethod> --delete-branch` (method: `pr-merge-method.py`)\n  3. `git rebase --onto origin\u002Fmain \u003Cold-base-tip> \u003Cchild-branch>` (drops the\n     base's commits) + `git push --force-with-lease`\n  4. merge the child.\n- **No-force alternative (skill-only, preferred when the child builds only on its base)**: merge `main` into the child with no force-push, after a classification that decides whether `-X ours` is lossless. Recipe: [references\u002Fno-force-push-stack.md](references\u002Fno-force-push-stack.md). The rebase path in the Fix steps is the fallback.\n- **Delta-apply (skill-only)** when the child forked from an older base head, or an independent PR shares its files: [references\u002Fdelta-apply-stack.md](references\u002Fdelta-apply-stack.md).\n- **Fork PR on an open upstream PR's head (skill-only)**: merging pushes into that PR too: [references\u002Ffork-upstream-base.md](references\u002Ffork-upstream-base.md).\n- **If already auto-closed**: the head branch survives — rebase as above,\n  `gh pr create` fresh, comment \"Superseded by #new\" on the closed one.\n- **Nothing tells you this happened.** The auto-close is silent: no failed\n  check, no notification, and the PR list just looks one shorter. claude-plugins\n  #2049 sat stranded for a day; a sweep then found 26 dead branches, two carrying\n  work that had **never had a PR opened at all** (so no event ever fired for\n  them either). A scheduled sweep is the only thing that finds this class —\n  an event handler on `pull_request: closed` is too late by construction (the\n  base ref is already deleted, so the reopen window is gone) and is blind to\n  never-PR'd branches. `claude-plugins scripts\u002Fcheck-stranded-work.sh` is the\n  encoded audit; it takes `--repo`, so one run sweeps the portfolio.\n- **Telling an accident from a decision**: a closed-unmerged PR whose base ref\n  **404s** was auto-closed; one whose base ref is still **alive** was closed by a\n  human (duplicate\u002Fsuperseded). That single check is the discriminator — 11 of\n  those 26 branches were deliberate closes and must not be resurrected.\n\n## 3. Stacked-chain merges: push by SHA, never `HEAD:` — and expect auto-close races\n\nRead [references\u002Fstacked-chain-push.md](references\u002Fstacked-chain-push.md) before any force-push or merge in a stacked-PR chain. It carries the push-by-SHA refspec form (braced variable, full `refs\u002Fheads\u002F` refname, the zsh word-modifier table), the empty-diff auto-close, the mergeability and CI-registration races, the pre-push check, and auto-close recovery.\n\n## 4. A red PR may still be mergeable — `UNSTABLE` is not `BLOCKED`\n\n`mergeStateStatus` separates **required** failing checks (`BLOCKED` — merge\nrefused) from merely-present ones (`UNSTABLE` — plain `gh pr merge` works), so\n`--admin` on an `UNSTABLE` PR takes a privilege you didn't need. Read it first.\n\nMerging over red needs **two** checks: `--json files` (config\u002Fdocs can't break\na compile) **and** the same check already failing on `main`. Either alone is a\nguess — and a stale-green `main` lies, so check `createdAt` (2026-07: a \"green\"\nrun was 21 days old; main hadn't compiled for three weeks).\n\nA `500` from the merge call may be GitHub, not the PR: run the stale-SHA control in\n[references\u002Fmerge-endpoint-failures.md](references\u002Fmerge-endpoint-failures.md) before changing the PR.\n\nSeveral PRs, ruleset requiring branches up to date: run `scripts\u002Fmerge-chain.sh`\n(§6); a plain merge leaves the rest `BEHIND`.\n\n## 5. A **negated** closing keyword still closes the issue\n\nGitHub matches `close|fixes|resolves|…` + an issue reference without parsing the\nsentence around it, so the natural way to *disclaim* closure closes the issue.\nMarkdown emphasis between verb and number doesn't break the match either:\n\n```\nDoes **not** close #162   →   GitHub reads `close #162`, and closes it\n```\n\n- **Check**: `gh issue view \u003Cn> --json closedByPullRequestsReferences` names the\n  closer; a `closedAt` one second after a merge is automation, not a decision.\n- **Fix**: never let a closing verb precede an issue number you don't mean to\n  close — `Related: #162`, `Unblocks #162`, or `#162 stays open — it needs …`.\n- **Recovery**: `gh issue reopen` works (nothing was deleted, unlike #2), then\n  comment so the next reader doesn't re-derive it.\n\nThe trap is wider than negation: plain past tense, a markdown-linked cross-repo reference, and a keyword you are only *quoting* all match too. Before merging a PR whose body mentions issue numbers, read [references\u002Fclosing-keyword-cases.md](references\u002Fclosing-keyword-cases.md) for those cases, the audit-with-a-control procedure, and the incidents.\n\n## 6. A serial merge chain merges commits nobody verified\n\n`gh pr update-branch` and `gh pr edit --base` rerun `pull_request` workflows,\nso a branch-writing bot's post-review commits land unread. Before each merge,\nrefuse post-review commits but GitHub's update-branch merge (2+ parents,\ncommitter `noreply@github.com`); your own `main` merge is an unreviewed\nresolution. Run `git rev-parse \u003Cref>` as its own call; paste the\nfull 40-character SHA into `--match-head-commit`\n(the merge guard refuses `$(…)`). A PR changing that bot goes last. See [references\u002Fserial-merge-chain.md](references\u002Fserial-merge-chain.md).\n\n## Merge shepherd\n\nFor an ordered PR list run `scripts\u002Fmerge-chain.sh`. An agent's `CONFLICT`\u002F`CI_RED`\nfix is unreviewed: pass it through\n`workflow-orchestration-plugin:workflow-implement-verify`'s `repair-round`:\n[references\u002Fmerge-shepherd.md](references\u002Fmerge-shepherd.md).\n\n## Agentic Optimizations\n\n| Context | Command |\n|---|---|\n| Did the branch land? (§1, authoritative) | `gh pr list --state all --head \u003Cbranch> --json number,state,mergedAt` |\n| Can a red PR merge? (§4) | `gh pr view \u003Cn> --json mergeStateStatus,mergeable` — `UNSTABLE` merges, `BLOCKED` refuses |\n| Before a force-push (§3) | `git log --oneline origin\u002Fmain..\u003Csha>` — exactly the child's commits |","# Git Merge Hazards\n\n## When to Use This Skill\n\n| Use this skill when... | Use something else when... |\n|---|---|\n| Merging a PR, or proving a branch landed | The PR's green CI ran against an older `main` → `git-plugin:worktree-stale-base-merge` |\n| Deciding whether a red PR can merge (§4) | Deciding whether a red AI-review check is a real finding → `github-actions-plugin:ai-review-max-turns` |\n| Merging an ad-hoc stacked chain (§2, §3) | Release-please PRs are piling up or conflicting → `git-plugin:release-please-pr-workflow` |\n\nThe numbered sections mirror the `~\u002F.claude\u002Frules\u002Fpr-merge-hazards.md` rule;\ndifferences: [references\u002Fsync-notes.md](references\u002Fsync-notes.md).\n\nSix traps in GitHub's merge machinery, one law: \"PR merged\" says nothing about\n*content* — and a red check is not proof of failure. Sibling: `git-plugin:git-local-hazards` (local git).\n\n## 1. `--merged` misses squash-merged branches\n\nA squash-merge collapses a branch into one fresh-SHA commit on `main`, so the\nbranch's own commits are never ancestors — `git branch --merged` (and any\nancestry check) reports it **unmerged**. \"Files identical to main\" also fails\nonce `main` drifts the same files.\n\n- **Check**, in order of authority:\n  - `gh pr list --state all --head \u003Cbranch> --json state` → a MERGED PR is\n    **authoritative**. Reach for this first; the git-side checks below are all\n    one-way.\n  - `git cherry main \u003Cbranch>` → marks a commit `-` when a patch-equivalent\n    commit is already upstream, `+` when it is not. Survives squash **and**\n    cherry-pick, and does not care that `main` drifted.\n  - `git merge-tree --write-tree main \u003Cbranch>` equals `git rev-parse main^{tree}`\n    → contained. **A match proves containment; a non-match proves nothing.**\n- **Not immune to drift** (corrected 2026-07): once `main` moves on over the same\n  files, merging an already-merged branch back would re-introduce its older\n  versions, so the trees differ and merge-tree reports **not contained** for work\n  that fully landed. Observed reporting three merged branches as unmerged. Same\n  trap as \"files identical to main\". Use the PR state or `git cherry` to decide;\n  keep merge-tree only as a positive-containment shortcut.\n- **Fix**: `just -g branch-audit`\n  (in `private_dot_config\u002Fjust\u002Fgit.just`) prints MERGED vs REVIEW + a paste-ready delete.\n  Its REVIEW bucket measured ~90% false positives (#2268), so a REVIEW line is a\n  question to settle with `gh pr list --state all --head \u003Cbranch>`, not a verdict.\n- A non-match is \"review\", **not** proof of unmerged — don't force the count to zero.\n\n## 2. Merging a stacked base auto-CLOSES the child PR\n\nWhen PR B is based on PR A's branch, merging A and deleting its branch\nauto-closes B (GitHub does **not** retarget it), and a closed PR whose base\nbranch is gone **cannot be reopened**.\n\n- **Check the base first** (skill-only): `gh pr view \u003Cbase> --json state,mergeStateStatus,mergeable` before retargeting. Proceed only when `state` is `OPEN` and `mergeable` is `MERGEABLE`; the `mergeStateStatus` values and the `UNKNOWN` wait are in [references\u002Fno-force-push-stack.md](references\u002Fno-force-push-stack.md#check-the-base-first).\n- **Fix — order matters**: retarget the child **first**, while the base PR is open:\n  1. `gh pr edit \u003Cchild> --base main`\n  2. `gh pr merge \u003Cbase> --\u003Cmethod> --delete-branch` (method: `pr-merge-method.py`)\n  3. `git rebase --onto origin\u002Fmain \u003Cold-base-tip> \u003Cchild-branch>` (drops the\n     base's commits) + `git push --force-with-lease`\n  4. merge the child.\n- **No-force alternative (skill-only, preferred when the child builds only on its base)**: merge `main` into the child with no force-push, after a classification that decides whether `-X ours` is lossless. Recipe: [references\u002Fno-force-push-stack.md](references\u002Fno-force-push-stack.md). The rebase path in the Fix steps is the fallback.\n- **Delta-apply (skill-only)** when the child forked from an older base head, or an independent PR shares its files: [references\u002Fdelta-apply-stack.md](references\u002Fdelta-apply-stack.md).\n- **Fork PR on an open upstream PR's head (skill-only)**: merging pushes into that PR too: [references\u002Ffork-upstream-base.md](references\u002Ffork-upstream-base.md).\n- **If already auto-closed**: the head branch survives — rebase as above,\n  `gh pr create` fresh, comment \"Superseded by #new\" on the closed one.\n- **Nothing tells you this happened.** The auto-close is silent: no failed\n  check, no notification, and the PR list just looks one shorter. claude-plugins\n  #2049 sat stranded for a day; a sweep then found 26 dead branches, two carrying\n  work that had **never had a PR opened at all** (so no event ever fired for\n  them either). A scheduled sweep is the only thing that finds this class —\n  an event handler on `pull_request: closed` is too late by construction (the\n  base ref is already deleted, so the reopen window is gone) and is blind to\n  never-PR'd branches. `claude-plugins scripts\u002Fcheck-stranded-work.sh` is the\n  encoded audit; it takes `--repo`, so one run sweeps the portfolio.\n- **Telling an accident from a decision**: a closed-unmerged PR whose base ref\n  **404s** was auto-closed; one whose base ref is still **alive** was closed by a\n  human (duplicate\u002Fsuperseded). That single check is the discriminator — 11 of\n  those 26 branches were deliberate closes and must not be resurrected.\n\n## 3. Stacked-chain merges: push by SHA, never `HEAD:` — and expect auto-close races\n\nRead [references\u002Fstacked-chain-push.md](references\u002Fstacked-chain-push.md) before any force-push or merge in a stacked-PR chain. It carries the push-by-SHA refspec form (braced variable, full `refs\u002Fheads\u002F` refname, the zsh word-modifier table), the empty-diff auto-close, the mergeability and CI-registration races, the pre-push check, and auto-close recovery.\n\n## 4. A red PR may still be mergeable — `UNSTABLE` is not `BLOCKED`\n\n`mergeStateStatus` separates **required** failing checks (`BLOCKED` — merge\nrefused) from merely-present ones (`UNSTABLE` — plain `gh pr merge` works), so\n`--admin` on an `UNSTABLE` PR takes a privilege you didn't need. Read it first.\n\nMerging over red needs **two** checks: `--json files` (config\u002Fdocs can't break\na compile) **and** the same check already failing on `main`. Either alone is a\nguess — and a stale-green `main` lies, so check `createdAt` (2026-07: a \"green\"\nrun was 21 days old; main hadn't compiled for three weeks).\n\nA `500` from the merge call may be GitHub, not the PR: run the stale-SHA control in\n[references\u002Fmerge-endpoint-failures.md](references\u002Fmerge-endpoint-failures.md) before changing the PR.\n\nSeveral PRs, ruleset requiring branches up to date: run `scripts\u002Fmerge-chain.sh`\n(§6); a plain merge leaves the rest `BEHIND`.\n\n## 5. A **negated** closing keyword still closes the issue\n\nGitHub matches `close|fixes|resolves|…` + an issue reference without parsing the\nsentence around it, so the natural way to *disclaim* closure closes the issue.\nMarkdown emphasis between verb and number doesn't break the match either:\n\n```\nDoes **not** close #162   →   GitHub reads `close #162`, and closes it\n```\n\n- **Check**: `gh issue view \u003Cn> --json closedByPullRequestsReferences` names the\n  closer; a `closedAt` one second after a merge is automation, not a decision.\n- **Fix**: never let a closing verb precede an issue number you don't mean to\n  close — `Related: #162`, `Unblocks #162`, or `#162 stays open — it needs …`.\n- **Recovery**: `gh issue reopen` works (nothing was deleted, unlike #2), then\n  comment so the next reader doesn't re-derive it.\n\nThe trap is wider than negation: plain past tense, a markdown-linked cross-repo reference, and a keyword you are only *quoting* all match too. Before merging a PR whose body mentions issue numbers, read [references\u002Fclosing-keyword-cases.md](references\u002Fclosing-keyword-cases.md) for those cases, the audit-with-a-control procedure, and the incidents.\n\n## 6. A serial merge chain merges commits nobody verified\n\n`gh pr update-branch` and `gh pr edit --base` rerun `pull_request` workflows,\nso a branch-writing bot's post-review commits land unread. Before each merge,\nrefuse post-review commits but GitHub's update-branch merge (2+ parents,\ncommitter `noreply@github.com`); your own `main` merge is an unreviewed\nresolution. Run `git rev-parse \u003Cref>` as its own call; paste the\nfull 40-character SHA into `--match-head-commit`\n(the merge guard refuses `$(…)`). A PR changing that bot goes last. See [references\u002Fserial-merge-chain.md](references\u002Fserial-merge-chain.md).\n\n## Merge shepherd\n\nFor an ordered PR list run `scripts\u002Fmerge-chain.sh`. An agent's `CONFLICT`\u002F`CI_RED`\nfix is unreviewed: pass it through\n`workflow-orchestration-plugin:workflow-implement-verify`'s `repair-round`:\n[references\u002Fmerge-shepherd.md](references\u002Fmerge-shepherd.md).\n\n## Agentic Optimizations\n\n| Context | Command |\n|---|---|\n| Did the branch land? (§1, authoritative) | `gh pr list --state all --head \u003Cbranch> --json number,state,mergedAt` |\n| Can a red PR merge? (§4) | `gh pr view \u003Cn> --json mergeStateStatus,mergeable` — `UNSTABLE` merges, `BLOCKED` refuses |\n| Before a force-push (§3) | `git log --oneline origin\u002Fmain..\u003Csha>` — exactly the child's commits |",{"name":5,"created":56,"modified":57,"reviewed":58,"description":7,"allowed-tools":59},1787097600000,1794441600000,1787270400000,"Read, Grep, Glob, Bash(gh pr *), Bash(gh issue *), Bash(gh api *), Bash(git cherry *), Bash(git merge-tree *), Bash(git rev-parse *), Bash(git rev-list *), Bash(git log *), Bash(git reflog *), Bash(git rebase *), Bash(git merge *), Bash(git checkout *), Bash(git worktree *), Bash(git diff *), Bash(git add *), Bash(git commit *), Bash(git -C *), Bash(git merge-base *), Bash(grep *), Bash(awk *), Bash(jq *), Bash(git push *), Bash(git fetch *), Bash(git cat-file *), Bash(sleep *), Bash(just *), Bash(bash *), TodoWrite","main","99a8dc405f43573539bd2356c3fe7a9d4136737c","git-plugin\u002Fskills\u002Fgit-merge-hazards",6,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins","https:\u002F\u002Fgithub.com\u002Flaurigates","Linux enthusiast, cloud engineer, neovim addict, electronics hobbyist.","2026-11-15 03:36:11",{"source":9,"skillName":5,"commands":69,"prompt":79,"zipAvailable":80},[70,73,76],{"tool":71,"command":72},"npx","npx skills add laurigates\u002Fclaude-plugins --skill git-merge-hazards",{"tool":74,"command":75},"bunx","bunx skills add laurigates\u002Fclaude-plugins --skill git-merge-hazards",{"tool":77,"command":78},"pnpm","pnpm dlx skills add laurigates\u002Fclaude-plugins --skill git-merge-hazards","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fgit-plugin\u002Fskills\u002Fgit-merge-hazards\u002FSKILL.md",true,[82,88,92,96,100,104,108,112,116,120,126,130,134],{"path":83,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":86,"sourceHtmlUrl":87},"references\u002Fclosing-keyword-cases.md","REFERENCE","参考文档",5144,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fgit-plugin\u002Fskills\u002Fgit-merge-hazards\u002Freferences\u002Fclosing-keyword-cases.md",{"path":89,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":90,"sourceHtmlUrl":91},"references\u002Fdelta-apply-stack.md",8924,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fgit-plugin\u002Fskills\u002Fgit-merge-hazards\u002Freferences\u002Fdelta-apply-stack.md",{"path":93,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":94,"sourceHtmlUrl":95},"references\u002Ffork-upstream-base.md",2526,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fgit-plugin\u002Fskills\u002Fgit-merge-hazards\u002Freferences\u002Ffork-upstream-base.md",{"path":97,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":98,"sourceHtmlUrl":99},"references\u002Fmerge-endpoint-failures.md",5308,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fgit-plugin\u002Fskills\u002Fgit-merge-hazards\u002Freferences\u002Fmerge-endpoint-failures.md",{"path":101,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":102,"sourceHtmlUrl":103},"references\u002Fmerge-shepherd.md",7455,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fgit-plugin\u002Fskills\u002Fgit-merge-hazards\u002Freferences\u002Fmerge-shepherd.md",{"path":105,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":106,"sourceHtmlUrl":107},"references\u002Fno-force-push-stack.md",22615,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fgit-plugin\u002Fskills\u002Fgit-merge-hazards\u002Freferences\u002Fno-force-push-stack.md",{"path":109,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":110,"sourceHtmlUrl":111},"references\u002Fserial-merge-chain.md",7829,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fgit-plugin\u002Fskills\u002Fgit-merge-hazards\u002Freferences\u002Fserial-merge-chain.md",{"path":113,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":114,"sourceHtmlUrl":115},"references\u002Fstacked-chain-push.md",9334,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fgit-plugin\u002Fskills\u002Fgit-merge-hazards\u002Freferences\u002Fstacked-chain-push.md",{"path":117,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":118,"sourceHtmlUrl":119},"references\u002Fsync-notes.md",4000,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fgit-plugin\u002Fskills\u002Fgit-merge-hazards\u002Freferences\u002Fsync-notes.md",{"path":121,"resourceType":122,"resourceTypeDesc":123,"sizeBytes":124,"sourceHtmlUrl":125},"scripts\u002Fmerge-chain.sh","SCRIPT","脚本",25782,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fgit-plugin\u002Fskills\u002Fgit-merge-hazards\u002Fscripts\u002Fmerge-chain.sh",{"path":127,"resourceType":122,"resourceTypeDesc":123,"sizeBytes":128,"sourceHtmlUrl":129},"scripts\u002Ftests\u002Ftest-merge-chain.sh",42341,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fgit-plugin\u002Fskills\u002Fgit-merge-hazards\u002Fscripts\u002Ftests\u002Ftest-merge-chain.sh",{"path":131,"resourceType":122,"resourceTypeDesc":123,"sizeBytes":132,"sourceHtmlUrl":133},"scripts\u002Ftests\u002Ftest-no-force-stack.sh",117457,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fgit-plugin\u002Fskills\u002Fgit-merge-hazards\u002Fscripts\u002Ftests\u002Ftest-no-force-stack.sh",{"path":135,"resourceType":122,"resourceTypeDesc":123,"sizeBytes":136,"sourceHtmlUrl":137},"scripts\u002Ftests\u002Ftest-push-refspec.sh",14211,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fgit-plugin\u002Fskills\u002Fgit-merge-hazards\u002Fscripts\u002Ftests\u002Ftest-push-refspec.sh",[139,147,172,193,209,232],{"skillNo":140,"name":141,"nameZh":17,"description":142,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":143,"categories":144,"keywords":145,"publishedAt":146},"01M7DS1CAJ1ESDX08PENF01J0S","session-workflow-capture","Workflow-tool scripts and workflow friction from this session, filed as issues here or in the plugins repo. Use when a session ran Workflow scripts.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fsession-plugin\u002Fskills\u002Fsession-workflow-capture\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":148,"name":149,"nameZh":17,"description":150,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":151,"categories":152,"keywords":153,"publishedAt":51},"01M70PFHMH9ADY0CRE6047Y4B2","kitty-show-image","Show the user an image with a note on what to judge, via a file send or a labelled kitty tab. Use when the user must see an image, or icat fails with no \u002Fdev\u002Ftty.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fkitty-plugin\u002Fskills\u002Fkitty-show-image\u002FSKILL.md",[],[154,155,156,157,158,159,160,161,162,163,164,35,46,165,166,167,168,169,170,171],"show","kitty show image","image","kitty","show image","ls","get","send","open","dev","use","file","text","with","xdg","via","2026","read",{"skillNo":173,"name":174,"nameZh":17,"description":175,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":176,"categories":177,"keywords":178,"publishedAt":51},"01M70PFEN18HKQ4RCQ1VPGMPTB","kitty-session-persistence","Snapshot and restore kitty terminal sessions on macOS. Use when surviving WindowServer hangs without losing tabs, configuring snapshots, or restoring after a force-reboot.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fkitty-plugin\u002Fskills\u002Fkitty-session-persistence\u002FSKILL.md",[],[157,179,180,181,182,183,35,46,184,185,186,170,171,187,188,189,190,191,192,164],"kitty session persistence","session","persistence","false","snapshots","uname","reboot","terminal","write","edit","snapshot","macos","sessions","restore",{"skillNo":194,"name":195,"nameZh":17,"description":196,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":197,"categories":198,"keywords":199,"publishedAt":51},"01M70PFC77XGXCVQ1543VGZHYR","kitty-remote-control","Safe kitty remote control from an agent — read panes with kitty @ ls\u002Fget-text, notify, and never mutate the live terminal unasked. Use when running inside kitty.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fkitty-plugin\u002Fskills\u002Fkitty-remote-control\u002FSKILL.md",[],[200,201,157,202,203,159,204,205,160,206,207,164,35,208,46,166,167,186,170,171],"kitty remote control","remote","control","remote control","running","never","panes","notify","query",{"skillNo":210,"name":211,"nameZh":17,"description":212,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":213,"categories":214,"keywords":215,"publishedAt":51},"01M70P6WVMCT5JG4SACTM69AF9","docs-reference-check","Dangling doc-reference gate: flag markdown naming repo paths or relative links that no longer exist. Use when docs cite moved\u002Fdeleted files, or wiring a doc-drift lint.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fdocumentation-plugin\u002Fskills\u002Fdocs-reference-check\u002FSKILL.md",[],[216,217,218,219,220,221,222,223,224,225,164,35,46,226,165,227,228,229,230,231],"docs reference check","check","reference check","reference","docs","links","python3","repo","files","auto","drift","lint","wiring","chezmoi","references","cp",{"skillNo":233,"name":234,"nameZh":235,"description":236,"descriptionZh":237,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":238,"categories":239,"keywords":246,"publishedAt":51},"01M6C6NDE7DAQGNWSF22J5CJ0Z","youtube-upload","YouTube 视频上传与编辑","Upload a video to YouTube via the Data API v3 and edit its title, description, tags or thumbnail afterwards. Use when publishing or retitling a YouTube video.","通过 Data API v3 将视频上传到 YouTube，并在之后编辑其标题、描述、标签或缩略图。适用于发布 YouTube 视频或修改其标题。","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fyoutube-plugin\u002Fskills\u002Fyoutube-upload\u002FSKILL.md",[240,243],{"categoryNo":241,"categoryName":242,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQV98WRP4APE9VKKKKJ6FV","社交媒体与内容平台管理",{"categoryNo":244,"categoryName":245,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8C55A3R2M9C8CAKG3W16HTA","内容创作者",[247,248,249,250,222,251,171,252,188,253,254,255,164,46,165,41,256,35,257,258,259,169,170],"youtube upload","upload","youtube","Video","run","uv run","publishing","data","uv","v3","tags","id","title"]