Skip to content

fix(review-pr): pipe --slurp output to jq instead of --jq#10

Merged
rlorenzo merged 1 commit into
mainfrom
fix/review-pr-slurp-jq
Jul 2, 2026
Merged

fix(review-pr): pipe --slurp output to jq instead of --jq#10
rlorenzo merged 1 commit into
mainfrom
fix/review-pr-slurp-jq

Conversation

@rlorenzo

@rlorenzo rlorenzo commented Jul 2, 2026

Copy link
Copy Markdown
Owner

What

The /review-pr skill's step-2 fetch uses gh api graphql --paginate --slurp … --jq, which fails on gh 2.9x:

the --slurp option is not supported with --jq or --template

This pipes the slurped pages to external jq instead, and adds an inline note that --slurp can't be combined with --jq so it isn't reintroduced.

Scope

  • All 4 surviving skill variants updated (2 lines each): .codex/.copilot/.antigravity SKILL.md, .claude .md.
  • The 3 REST --jq calls in step 5 are unchanged — only the GraphQL --slurp combo was broken.

Rebased onto main after #8 (Remove Gemini CLI support) merged; the Gemini .toml variant no longer exists, so it's dropped from this change.

Verification

https://claude.ai/code/session_019x6ReGXvRWpC7sF8aum6LR

`gh api graphql --paginate --slurp` combined with `--jq` fails on gh 2.9x:
"the --slurp option is not supported with --jq or --template". Pipe the
slurped pages to external `jq` instead, and note the incompatibility inline
so it isn't reintroduced. Applied to all four variants (codex/copilot/
antigravity SKILL.md, claude .md). The REST `--jq` calls in step 5 are
unaffected and left unchanged.

Claude-Session: https://claude.ai/code/session_019x6ReGXvRWpC7sF8aum6LR
@rlorenzo rlorenzo force-pushed the fix/review-pr-slurp-jq branch from 2c8f83c to 97cacb2 Compare July 2, 2026 04:52
@rlorenzo rlorenzo merged commit 3a11b99 into main Jul 2, 2026
4 checks passed
@rlorenzo rlorenzo deleted the fix/review-pr-slurp-jq branch July 2, 2026 04:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant