reconcilelisted
Install: claude install-skill naimkatiman/continuous-improvement
# Reconcile — Ground-Truth Git State Before You Touch It
Law 1 says research before executing. The most expensive skipped research is the state of your own repo: a branch that shifted under you, a push that silently did not land, a stash from a session you forgot. This skill establishes git ground truth first, acts only on a known state, and stops at every operation that is hard to reverse.
## When to Activate
- Before any branch/merge/rebase/push when more than one session, loop, or agent may be writing to the tree.
- When the working tree looks different from what you expect (unexpected branch, surprise modifications, a half-finished merge).
- Before cleaning up: consolidating branches, dropping stashes, removing worktrees.
- After a push, to confirm it actually landed on the remote.
## Establish Ground Truth First
Read before you write. Capture the full state in one pass:
```
git branch --show-current
git status --porcelain=v1
git rev-list --left-right --count @{u}...HEAD # behind / ahead of upstream
git stash list
git worktree list
ls .git/MERGE_HEAD .git/rebase-merge .git/rebase-apply 2>/dev/null # in-progress operation?
```
On Windows with `autocrlf=true`, `git status` reports phantom line-ending-only modifications. Trust `git diff --stat` (and `git diff --ignore-all-space`) for real content drift, not `git status`. Never stage with `git add -A` / `git add .` on such a tree — stage by explicit filename.
## Detect a Concurrent Writer
When another session/l