Skip to content

Commit 56c4677

Browse files
nkoji21claude
andcommitted
fix(skills): use git diff --stat HEAD and remove duplicate worktree cleanup
- git-commit: change `git diff --stat` to `git diff --stat HEAD` so both staged and unstaged changes are shown in the injected context - pr-flow: remove duplicate `git worktree remove --force` block in the max-iterations path that would cause a spurious error on second removal Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 6696437 commit 56c4677

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

.agents/skills/git-commit/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Review current changes and autonomously commit following Conventional Commits.
1313

1414
**Diff stat:**
1515
```
16-
!`git diff --stat`
16+
!`git diff --stat HEAD`
1717
```
1818

1919
## Arguments

.agents/skills/pr-flow/SKILL.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,6 @@ Format findings as a markdown list. Each item: severity label (`must-fix` / `sug
110110
```
111111
git worktree remove --force $WORKTREE_PATH
112112
```
113-
- Clean up the worktree:
114-
```
115-
git worktree remove --force $WORKTREE_PATH
116-
```
117113
- Stop. Do NOT proceed to merge.
118114
119115
## Phase 5: LGTM + Merge

0 commit comments

Comments
 (0)