From flow
Fetch the current pull request's details, CI status, and review state. Use when you need to understand the PR status, check CI/build results, see review comments, understand what reviewers requested, or when the user mentions "the PR", "pull request", "checks", "CI", "build status", or "reviews".
How this skill is triggered — by the user, by Claude, or both
Slash command
/flow:pr-contextThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill retrieves the current pull request's details to provide context about the PR state.
This skill retrieves the current pull request's details to provide context about the PR state.
Get PR details for current branch:
gh pr view --json title,body,state,isDraft,url,number,headRefName,baseRefName,mergeable,reviewDecision,additions,deletions,changedFiles
This returns:
Get status of all checks:
gh pr checks
This shows:
Get review comments if needed:
gh pr view --json reviews --jq '.reviews[] | {author: .author.login, state: .state, body: .body}'
After fetching, summarize based on what the user needs:
PR #123: Implement user authentication
Status: Open (Draft)
Reviews: Awaiting review
CI: 3/4 checks passed, 1 pending
Mergeable: Yes
PR #123 - CI Status:
✓ lint (passed)
✓ typecheck (passed)
✗ test (failed) - https://github.com/...
◯ build (pending)
The test check failed. View details at the link above.
PR #123 - Reviews:
@reviewer1 - Changes Requested:
"Please add error handling for the edge case when..."
@reviewer2 - Approved:
"LGTM!"
PR #123: Implement user authentication
URL: https://github.com/org/repo/pull/123
Status: Open
Branch: feature/auth → main
Changes: +245 -32 across 8 files
Reviews: Changes Requested
- @alice requested changes: "Add tests for token expiry"
CI Status:
✓ lint
✓ typecheck
✓ test
✓ build
Mergeable: Blocked (needs approval)
npx claudepluginhub artu-ai/flow --plugin flowLoads GitHub PR context for a branch: title, description, file changes, CI status, reviews via MCP tools. Manual /load-pr-context or auto on feature branches.
Triage PR CI checks: inspect failing/pending checks, mergeability, review feedback, reproduce failures locally, and summarize next steps.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.