Skip to content

Commit 52918e4

Browse files
iHiDclaude
andauthored
Extract issue number in /fix skill to support org/repo#number format (#8624)
The gh CLI doesn't accept "#8622" format directly. Parse the issue number from $ARGUMENTS before passing to gh issue view, matching the extraction already used elsewhere in the skill. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 2b4608e commit 52918e4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.claude/skills/fix/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ You are fixing a GitHub issue for the exercism/website repository.
1313
## Issue details
1414

1515
```json
16-
!`gh issue view $ARGUMENTS --json number,title,body,labels,comments`
16+
!`gh issue view $(echo "$ARGUMENTS" | grep -oE '[0-9]+$') --json number,title,body,labels,comments`
1717
```
1818

1919
Issue number: !`echo "$ARGUMENTS" | grep -oE '[0-9]+$'`

0 commit comments

Comments
 (0)