setup-matt-pocock-skills: `gh issue view --comments` returns the comments and not the issue body
skills/engineering/setup-matt-pocock-skills/issue-tracker-github.md tells agents to read an issue with gh issue view <number> --comments (lines 8 and 34, and gh pr view --comments at 22). That flag replaces the body with the comment thread; it does not add to it. So every repo set up from this template gets a read command that never returns the requirements, and /code-review's Spec axis in those repos reviews against nothing while looking normal (the sub-agent quietly fetches the issue itself, or doesn't).
Measured with gh 2.88.1 against a live repo:
| Command | Result |
|---|---|
gh issue view 98 --comments (0 comments) |
rc=0, 0 bytes |
gh issue view 78 --comments (3 comments) |
rc=0, comments only, no body |
gh issue view <ref> --json number,title,body,comments |
rc=0, body and comments, for 98, #98, a full URL, and a PR number |
Fix (four lines, one file), ready on a branch — PRs from outside collaborators appear to be disabled on this repo, so I couldn't open one:
- Read an issue →
gh issue view <ref> --json number,title,body,labels,comments, with one sentence saying why--commentsalone is wrong. - Read a PR → the same
--jsonform. - The
gh pr view→gh issue viewfallback for a bare#42is removed:gh issue viewresolves a PR number natively. - The second "Run
gh issue view --comments" under routing points at the corrected command instead of repeating it.
I have not measured glab, so issue-tracker-gitlab.md is untouched.
Source: mattpocock/skills