Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .antigravity/skills/review-pr/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Run `gh pr checks`. On failure: `gh run view <run_id> --log-failed`, fix, commit

### 2. Fetch unresolved threads

ALWAYS re-fetch fresh each iteration. Use `gh api graphql --paginate --slurp` with `$endCursor`:
ALWAYS re-fetch fresh each iteration. Use `gh api graphql --paginate --slurp` with `$endCursor`, then pipe to `jq` (`--slurp` can't be combined with `--jq`):

```bash
gh api graphql --paginate --slurp \
Expand All @@ -40,7 +40,7 @@ gh api graphql --paginate --slurp \
}
}' \
-f owner="{owner}" -f repo="{repo}" -F pr={PR_NUMBER} \
--jq '[.[].data.repository.pullRequest.reviewThreads.nodes[] | select(.isResolved==false)]'
| jq '[.[].data.repository.pullRequest.reviewThreads.nodes[] | select(.isResolved==false)]'
```

**Auto-resolve:** If a thread's first comment body matches any `$IGNORED_FILE` entry (`grep -qxF`), resolve via `resolveReviewThread` mutation without classifying.
Expand Down
4 changes: 2 additions & 2 deletions .claude/commands/review-pr.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Run `gh pr checks`. On failure: `gh run view <run_id> --log-failed`, fix, commit

### 2. Fetch unresolved threads

ALWAYS re-fetch fresh each iteration. Use `gh api graphql --paginate --slurp` with `$endCursor`:
ALWAYS re-fetch fresh each iteration. Use `gh api graphql --paginate --slurp` with `$endCursor`, then pipe to `jq` (`--slurp` can't be combined with `--jq`):

```bash
gh api graphql --paginate --slurp \
Expand All @@ -37,7 +37,7 @@ gh api graphql --paginate --slurp \
}
}' \
-f owner="{owner}" -f repo="{repo}" -F pr={PR_NUMBER} \
--jq '[.[].data.repository.pullRequest.reviewThreads.nodes[] | select(.isResolved==false)]'
| jq '[.[].data.repository.pullRequest.reviewThreads.nodes[] | select(.isResolved==false)]'
```

**Auto-resolve:** If a thread's first comment body matches any `$IGNORED_FILE` entry (`grep -qxF`), resolve via `resolveReviewThread` mutation without classifying.
Expand Down
4 changes: 2 additions & 2 deletions .codex/skills/review-pr/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Run `gh pr checks`. On failure: `gh run view <run_id> --log-failed`, fix, commit

### 2. Fetch unresolved threads

ALWAYS re-fetch fresh each iteration. Use `gh api graphql --paginate --slurp` with `$endCursor`:
ALWAYS re-fetch fresh each iteration. Use `gh api graphql --paginate --slurp` with `$endCursor`, then pipe to `jq` (`--slurp` can't be combined with `--jq`):

```bash
gh api graphql --paginate --slurp \
Expand All @@ -40,7 +40,7 @@ gh api graphql --paginate --slurp \
}
}' \
-f owner="{owner}" -f repo="{repo}" -F pr={PR_NUMBER} \
--jq '[.[].data.repository.pullRequest.reviewThreads.nodes[] | select(.isResolved==false)]'
| jq '[.[].data.repository.pullRequest.reviewThreads.nodes[] | select(.isResolved==false)]'
```

**Auto-resolve:** If a thread's first comment body matches any `$IGNORED_FILE` entry (`grep -qxF`), resolve via `resolveReviewThread` mutation without classifying.
Expand Down
4 changes: 2 additions & 2 deletions .copilot/skills/review-pr/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Run `gh pr checks`. On failure: `gh run view <run_id> --log-failed`, fix, commit

### 2. Fetch unresolved threads

ALWAYS re-fetch fresh each iteration. Use `gh api graphql --paginate --slurp` with `$endCursor`:
ALWAYS re-fetch fresh each iteration. Use `gh api graphql --paginate --slurp` with `$endCursor`, then pipe to `jq` (`--slurp` can't be combined with `--jq`):

```bash
gh api graphql --paginate --slurp \
Expand All @@ -40,7 +40,7 @@ gh api graphql --paginate --slurp \
}
}' \
-f owner="{owner}" -f repo="{repo}" -F pr={PR_NUMBER} \
--jq '[.[].data.repository.pullRequest.reviewThreads.nodes[] | select(.isResolved==false)]'
| jq '[.[].data.repository.pullRequest.reviewThreads.nodes[] | select(.isResolved==false)]'
```

**Auto-resolve:** If a thread's first comment body matches any `$IGNORED_FILE` entry (`grep -qxF`), resolve via `resolveReviewThread` mutation without classifying.
Expand Down
Loading