What problem does it solve? Committing changes across a monorepo is error-prone: partial staging misses files in sibling project folders, secrets slip into commits, and hooks or crashes leave the repository in an ambiguous state. This Skill performs one safe, whole-repository local commit with explicit authorization, staged validation, and exact recovery semantics. ## Core Features & Use Cases - Whole-repo staging: Always runs git add -A from the Git root so multi-project changes are committed together, never narrowed by the current directory. - Safety gates: Stops on detached HEAD, in-progress merge/rebase, unresolved conflicts, obvious secrets, and default-branch commits without explicit authorization. - Transactional execution: Uses a temporary-index preview, one-shot claim token, repository lock, and drift revalidation so interrupted or hook-modified commits become STALE or REVIEW_REQUIRED instead of corrupting state. - Use Case: After editing files across several services in a monorepo, invoke $commit Add retry logic to services to stage everything, validate the staged diff, and create one local commit with normal hooks enabled. ## Quick Start Ask the agent to run $commit with an optional commit message to stage and commit the entire current repository diff locally.