Check Pr check-pr
Waits for a PR's checks and reviews to finish, then reports the unresolved review threads, the failing checks and the gaps in the PR description.
Use it when the user asks to check a PR, whether a PR is ready, or what the Greptile review found.
Works in Claude, ChatGPT, Codex and more
- Our test
- 7/10✓ Verified
- tested Dec 6, 2026
- GitHub stars
- 92k
- storybookjs/storybook
- Added by
- 0
- members
- Updated
- Dec 6
- commit 925c7d7
- Content
- 2 files
- no scripts · 3 KB
- License
- MIT
- free to use
What our test found
Le skill décrit clairement un contrôle en lecture seule et un format de rapport utile, mais son périmètre est lié à un dépôt précis et l’attente des checks peut durer indéfiniment.
Request we tested it on“Can you check whether PR #1234 is ready to be merged?”
Limits spotted
- Hard-coded scope limited to storybookjs/storybook.
- No maximum timeout or stopping rule if checks remain pending.
- The skill assumes the assistant has gh and repository access.
name: check-pr description: Waits for a PR's checks and reviews to finish, then reports the unresolved review threads, the failing checks and the gaps in the PR description. Use when the user asks to check a PR, whether a PR is ready, or what the Greptile review found. metadata: internal: true
Check PR
Reports what is left on a pull request in storybookjs/storybook. It changes nothing. To act on the review threads, use .
has the commands and GraphQL queries for the steps below.
Steps
- Find the PR. Use the number the user gave, else the PR of the current branch:
gh pr view --json number -q .number.
- Wait for the checks. Poll
statusCheckRollupevery 30 seconds until no check is pending or in progress. Wait for "Greptile Review" too, when Greptile reviews the head commit. CI runs only when the PR has aci:*label (see ), so a PR without one has few checks.
- Collect. For each area, list what needs action:
- Checks: each failing check and the reason. Danger checks the title, the labels and the "Manual testing" section; see .
- Review threads: each unresolved thread, with its author, file and line. Use GraphQL, because only GraphQL gives a thread's id and whether it is resolved.
- PR comments: each comment on the PR itself (
commentsingh pr view) that asks for something and has no answer yet, from humans and bots. - Greptile summary: Greptile edits one summary comment on each review. Read its latest version (newest
updated_at), with the confidence score and the findings. - Description: placeholders, an empty "Manual testing" section, and "How to review" links to commits that are no longer on the branch.
- Report. One table with these columns: area, item, author, and status. The status is one of: needs action, for information, or already fixed by a later commit. Put human comments before bot comments. End with the Greptile confidence score and the number of items that need action.
Done when all checks are finished and each unresolved thread is in the table.