Prs Awaiting Author
List open pull requests where the ball is in the author's court: CI is failing, review...
Install
npx skills add dyoshikawa/rulesync --skill prs-awaiting-author -g -a claude-code -y- Repository
- dyoshikawa/rulesync1.6k
- Category
- Engineering
- Updated
- 3d ago
- License
- MIT
- Context cost
- Lightabout 810 tokens
- Runs scripts
- No, instructions only
What it does
List open pull requests where the ball is in the author's court: CI is failing, review comments are unaddressed, or a maintainer question is awaiting the author's reply. Use when the user wants to see PRs awaiting author action.
List PRs Awaiting Author Action
Identify open pull requests where the ball is in the author's court, the next action belongs to the PR author (fix CI, address review feedback, answer a question), not a maintainer.
Signals That the Ball Is on the Author's Side
- CI is failing or has not been made to pass (failing or stuck checks).
- The latest review is
CHANGES_REQUESTEDand the author has not pushed follow-up commits since. - There are review comments / inline threads the author has not yet replied to or resolved.
- A maintainer asked a question that is awaiting the author's reply.
- The PR is a draft (still work in progress on the author's side).
Exclude a PR when the next action clearly belongs to the maintainer (see the complementary prs-awaiting-maintainer skill): CI green, author has responded, and the PR is awaiting first review, re-review, or merge.
Step 1: List Open PRs
gh pr list --state open --limit 100 --json number,title,author,isDraft,createdAt,updatedAt,url,reviewDecision,reviewRequests
Include drafts here, a draft is, by definition, still on the author's side.
Step 2: Gather Per-PR Signals
For each PR, gather details (run in parallel across PRs where practical):
- CI status:
gh pr checks <number>, flag the PR if any check is failing. - Reviews and decision:
gh pr view <number> --json reviewDecision,reviews,latestReviews, flag if the decision isCHANGES_REQUESTED. - Discussion and who spoke last:
gh pr view <number> --comments, and if neededgh api repos/{owner}/{repo}/pulls/<number>/commentsfor inline review threads, flag if a maintainer's comment or question is the most recent and remains unanswered. - Commit timeline vs. last review time: to determine whether the author has pushed commits after a
CHANGES_REQUESTEDreview (if not, the ball is still with the author).
