git-watch-commits
Review
Reviews, or fixes, every new commit on a branch against one checklist, and spends tokens only when a commit lands.
How to call it
/git-watch-commits <topic> [fix] | With a topic or the path of a checklist. “fix” makes it correct what it finds. |
|---|---|
acompanha esse branch pelo handoff | Asking to follow a branch against a handoff file. |
What it does, in order
Write the checklist from a template.
Offer the watcher, and start it only when accepted.
The watcher, a plain script, waits in the background for a commit.
Review each new commit, comparing its message with its diff.
Mark an item done only when its goal is met, and add the gaps found.
Close the round, start waiting again, and report.
The rules it keeps
- The watcher is offered, never started unasked.
- A design change goes to the out-of-scope list, never dropped.
- It is not a timer: no scheduled wake-ups, no cron.
- In fix mode it touches nothing when git status shows someone else’s work.
- In fix mode it commits only if HEAD has not moved.
What comes out
Each round says what is done, what is still open, what is new and which item matters most. The checklist file is updated.
Needs git and Bun.