一键导入
overlay-reconcile-debug
Diagnose dotfiles overlay issues involving local overrides, symlinks, skip-worktree drift, pure mode, and .git/info/exclude consistency.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Diagnose dotfiles overlay issues involving local overrides, symlinks, skip-worktree drift, pure mode, and .git/info/exclude consistency.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use whenever creating or managing git worktrees.
Control Herdr from inside it. Use when running inside Herdr (`HERDR_ENV=1`) to inspect workspaces, tabs, panes, sibling agents, run commands in panes, read output, or wait for state changes via the `herdr` CLI.
use when leaving an automated comment on a GitHub PR or issue
Use when debugging, investigating root causes, ambiguous failures, predictions, risk/confidence estimates, or recommendations under uncertainty. Triggers are debug, troubleshoot, root cause, likely, confidence, predict, path forward, next step.
Use when an agent needs to author or reply to crit inline comments programmatically (including multi-agent workflows commenting on shared code/plans/docs/proposals), publish or unpublish a crit review with crit share, sync a crit review to or from a GitHub PR, or read/interpret a crit review JSON file. Covers crit comment, crit share, crit unpublish, crit pull, crit push, review file format, and resolution workflow. Not for invoking an interactive review loop — that's the `/crit` command.
Review code changes, a plan, a live page (running dev server), or a local HTML file with crit inline comments
| name | overlay-reconcile-debug |
| description | Diagnose dotfiles overlay issues involving local overrides, symlinks, skip-worktree drift, pure mode, and .git/info/exclude consistency. |
Use this skill to debug the boundary between the tracked ~/dotfiles repo and one or more local overlay directories such as ~/.local-dotfiles.
The goal is to identify whether the source of truth lives in the repo, an overlay, or the live working tree, then reconcile symlinks, skip-worktree, and .git/info/exclude together.
Invoke this skill when the user mentions any of the following:
overlay, local-dotfiles, override, pure mode, or dotfiles --pure$HOMEskip-worktree, .git/info/exclude, or overlay symlink driftbin/dotfiles-install-overlay.zsh or bin/dotfiles-overlay-doctorStrong trigger phrases include:
why is my overlay not applyingwhy did this become untrackedwhy did --pure remove thiswhy is this symlink brokenwhy is git status noisy after overlay changes~/dotfiles, ~/.local-dotfiles, or another overlay directory.bin/dotfiles-install-overlay.zshbin/dotfiles-overlay-doctorbin/dotfiles-overlay-doctor
git ls-files -v
git status --short
.git/info/exclude handling if untracked-file noise is part of the bug.skip-worktree bit for tracked files.git/info/exclude entries for overlay-only filesskip-worktree bit..git/info/exclude behavior.DOTFILES_PURE=1 mode, expect the desired overlay set to be empty and active overrides to be cleaned up.Return findings in this order:
Boundary - where the source of truth appears to liveObserved State - the concrete broken or unexpected behaviorMismatch - which of symlink, skip-worktree, exclude, or pure-mode expectations are out of syncFix - the smallest safe change or command sequenceVerify - the exact narrow checks to confirm the fixskip-worktree without checking the symlink target.git/info/exclude was ignoreddotfiles --pure cleanup as a regression when it matches pure-mode intentBefore finishing, check:
skip-worktree, and .git/info/exclude together?