← ClaudeAtlas

review-commitslisted

Run an AI code reviewer against the task's git diff, fix must_fix issues, and dismiss or spin off suggestions
gioe/tusk · ★ 1 · Code & Development · score 60
Install: claude install-skill gioe/tusk
# Review Commits Skill Orchestrates a single code review against the task's git diff (commits on the current branch vs the base branch). Spawns at most one background reviewer agent (or zero, if no reviewer is configured), monitors completion, fixes must_fix findings, and handles suggest findings interactively (fix now, spin off into a follow-up task, or dismiss). > Use `/create-task` for task creation — handles decomposition, deduplication, criteria, and deps. Use `tusk task-insert` only for bulk/automated inserts. ## Arguments Optional: `/review-commits <task_id>` — if omitted, task ID is inferred from the current branch name. --- ## Step 0: Start Cost Tracking First, resolve the task ID so the skill run can be attributed to it. Use the argument if one was passed, otherwise parse it from the current branch: ```bash tusk branch-parse ``` Returns `{"task_id": N}` on success. If it exits 1 (branch doesn't match pattern) and no argument was passed, ask the user to provide a task ID before continuing. Store the resolved ID as `TASK_ID`. Then record the start of this review run so cost can be captured at the end: ```bash tusk skill-run start review-commits --task-id $TASK_ID ``` This prints `{"run_id": N, "started_at": "...", "task_id": N}`. Capture `run_id` — you will need it in Step 11. > **Early-exit cleanup:** If any validity/mode check below causes the skill to stop before Step 11, first call `tusk skill-run cancel <run_id>` to close the open row, then stop. Oth