flutter/reviewing-prs
General workflow for fetching, inspecting, reviewing GitHub Pull Requests using the gh CLI, drafting user-aligned review comments, and securing approval before posting. Use when asked to review a GitHub PR or pull request.
npx skills add https://github.com/flutter/devtools --skill reviewing-prs
This skill outlines the workflow for inspecting GitHub Pull Requests using the gh CLI, drafting review feedback, and securing user approval before posting review comments.
> [!IMPORTANT]
> NEVER post comments or reviews to GitHub without explicit prior user approval.
> Always present draft review comments to the user in natural language first. Only execute write commands (gh pr comment, gh pr review) after the user approves.
gh pr view <pr-number> --repo <owner/repo> --json title,body,author,state,headRefName,baseRefName,comments,reviews,files
gh pr diff <pr-number> --repo <owner/repo>
gh api repos/<owner/repo>/pulls/<pr-number>/comments
gh pr checks <pr-number> --repo <owner/repo>
LGTM or A couple comments but lgtm.). Avoid fluffy praise or re-summarizing the PR.> [!IMPORTANT]
> NEVER post comments or reviews to GitHub without explicit prior user approval.
gh pr review <pr-number> --repo <owner/repo> --comment --body "<approved review text>"
Take flutter/reviewing-prs from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.