A Claude Code skill that verifies work is consistent, complete, and accurate; syncs the docs tree to reality; commits; and pushes (when on a feature branch with a remote).
End-of-step wrap-up. Reads CLAUDE.md for project conventions, walks a technical-verification checklist (code completeness, tests, lint, type safety, accuracy vs. spec), updates the docs tree, reviews the diff, and produces a single phase-scoped commit. Never bypasses git hooks; never pushes to main.
- Automatically — called by
ship-milestoneat every step boundary. - Manually — at the end of any TDD phase, or whenever the operator wants to wrap up in-flight work.
git clone https://github.com/ArtRichards/sync-and-commit \
~/.claude/skills/sync-and-commitClaude Code auto-discovers skills in ~/.claude/skills/. Restart Claude Code (or open a new session) and the skill is available.
- A
CLAUDE.mdat the project root (recommended) describing the docs-tree location, build/test/quality commands, commit convention, and branch convention. Fallback: the skill inspectsgit log --oneline,package.json/pyproject.toml/Makefile. docs-cliv1.2.0 (M7+) — optional. If the project uses docs-cli, the skill runsdocs touch,docs index, anddocs check --stale 14to keep the docs tree in lockstep. If not, the docs-side checks are skipped.
- Never uses
--no-verifyor bypasses git hooks (unless the operator explicitly asks). - Never pushes to
mainor any shared branch — only feature/milestone branches. - Never blanket-adds with
git add -AunlessCLAUDE.mdsays otherwise.
MIT — see LICENSE.