← ClaudeAtlas

commitlore-setuplisted

Use when a git repository needs CommitLore wired up for the first time, or when its hook/notes configuration looks broken. Runs the diagnostic, installs the commit-msg validation hook, fixes the notes fetch refspec so records survive a clone or fetch, and builds the local record index. Trigger phrases include "set up commitlore in this repo", "install the commitlore hook", "commitlore doctor is warning", "why isn't commitlore capturing commits here", "wire up commit trailers", "commitlore 저장소에 붙여줘", "commitlore 훅 설치해줘".
MongLong0214/commitlore · ★ 0 · Code & Development · score 68
Install: claude install-skill MongLong0214/commitlore
# CommitLore setup **Shortcut for a repository that just needs wiring up, nothing broken to diagnose:** `commitlore init` runs steps 2-4 below (`hooks install`, `index --rebuild`, then `doctor --fix` as a final check) in one command, reports what it did and what it could not, and is safe to re-run. Use the four steps below one at a time when something specific looks broken and you want to isolate which piece. Four checks, in order. Each one is independent and re-runnable — running any of them twice on an already-configured repo is a no-op, not an error. ## 1. Diagnose ``` commitlore doctor ``` Reports `ok`, `warn`, or `skipped` for: whether the `origin` remote fetches `refs/notes/commitlore` (records that live only in the notes mirror never reach a teammate whose fetch config omits that ref), whether there is a local notes mirror to push, whether the commit-msg hook is installed, and whether the local `git` build parses trailers the way the spec expects. `warn` lines carry their own fix directly underneath — read that before doing anything else. Example, run against a repo that has a remote but nothing else set up: ``` warn notes fetch refspec — origin does not fetch refs/notes/commitlore, so records pushed by others stay invisible here fix: git config --add remote.origin.fetch '+refs/notes/commitlore:refs/notes/commitlore' ok notes push — no local mirror yet — nothing to push (git push origin refs/notes/commitlore, once there is) warn commit-msg hook