phx-pr-review
'Address feedback left on a GitHub pull request: fetch unresolved review
Install / Use
npx skills add oliver-kriska/claude-elixir-phoenix --skill phx-pr-reviewInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
OperationsSupported Platforms
Our assessment of phx-pr-review
phx-pr-review scores 84/100 on our quality scale, 548th of 739 Operations skills we index.
Its SKILL.md is 5.9 KB long, split into 5 sections with 3 code examples: a thorough specification that gives an agent plenty to work with.
It has 560 GitHub stars, a meaningful sign that others use it.
Maintenance, license and trust
- The repository was last updated 3 days ago, so phx-pr-review is actively maintained.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
phx-pr-review compared with similar skills
All 4 of these similar skills score higher than phx-pr-review; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| phx-pr-review (this skill)by oliver-kriska | 84 | 560 | 3d ago | SKILL.md |
| Agent-Reachby Panniantong | 100 | 91.6k | 20d ago | CLAUDE.md |
| algorithmic-artby anthropics | 100 | 177.9k | 13d ago | SKILL.md |
| pptxby anthropics | 100 | 177.9k | 13d ago | SKILL.md |
| designby nextlevelbuilder | 100 | 130.2k | 14d ago | SKILL.md |
Frequently asked questions
- How do I install phx-pr-review?
- Run
npx skills add oliver-kriska/claude-elixir-phoenix --skill phx-pr-review. The install tabs above show the steps for each supported agent. - Which AI agents does phx-pr-review work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is phx-pr-review safe to use?
- It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is phx-pr-review still maintained?
- The repository was last updated 3 days ago, so phx-pr-review is actively maintained.
Skill content
View source on GitHubname: phx-pr-review description: 'Address feedback left on a GitHub pull request: fetch unresolved review threads, make agreed Elixir/Phoenix code fixes, reply, and resolve. Use for a PR URL/number or reviewer comments. NOT for pre-PR review, findings triage, or CI monitoring.'
PR Review Response
Inspect unresolved pull-request review threads, triage them read-only by default, and apply only explicitly approved fixes. GitHub mutations are never implied.
Usage
phx-pr-review 42
phx-pr-review 42 --fix
phx-pr-review https://github.com/owner/repo/pull/42 --bots-only
phx-pr-review 42 --no-resolve
Workflow
- Resolve the PR number or URL. Prefer a runtime GitHub connector that returns
thread IDs and resolved state. Otherwise use this exact
gh2.94-compatible fallback (requirescommand -v ghandgh auth status):
PR_INPUT="${1:?PR number or URL}"
if [[ "$PR_INPUT" =~ ^https://github.com/([^/]+)/([^/]+)/pull/([0-9]+) ]]; then
OWNER="${BASH_REMATCH[1]}"; REPO="${BASH_REMATCH[2]}"; PR="${BASH_REMATCH[3]}"
else
OWNER=$(gh repo view --json owner --jq '.owner.login')
REPO=$(gh repo view --json name --jq '.name'); PR="$PR_INPUT"
fi
gh api graphql --paginate -F owner="$OWNER" -F repo="$REPO" -F pr="$PR" -f query='query($owner: String!, $repo: String!, $pr: Int!, $endCursor: String) { repository(owner: $owner, name: $repo) { pullRequest(number: $pr) { reviewThreads(first: 100, after: $endCursor) { nodes { id isResolved isOutdated path line originalLine comments(first: 100) { totalCount nodes { id databaseId body author { login __typename } replyTo { id } } } } pageInfo { hasNextPage endCursor } } } } }'
gh api graphql --paginate -F owner="$OWNER" -F repo="$REPO" -F pr="$PR" -f query='query($owner: String!, $repo: String!, $pr: Int!, $endCursor: String) { repository(owner: $owner, name: $repo) { pullRequest(number: $pr) { reviews(first: 100, after: $endCursor) { nodes { id state body submittedAt author { login __typename } } pageInfo { hasNextPage endCursor } } } } }'
--paginate binds each returned pageInfo.endCursor to $endCursor. Filter
isResolved == false after collecting pages. Preserve thread id, root
comment id/databaseId, and author.__typename (not login suffixes).
comments(first:100) is nested and is not paginated by the outer command:
if comments.totalCount > nodes.length, report the thread as TRUNCATED and
fetch every comment page with this exact query. The outer query intentionally
omits nested comments.pageInfo so gh --paginate follows only the outer
reviewThreads.pageInfo cursor:
gh api graphql --paginate -F threadId="$THREAD_ID" -f query='query($threadId: ID!, $endCursor: String) { node(id:$threadId) { ... on PullRequestReviewThread { comments(first:100, after:$endCursor) { totalCount nodes { id databaseId body author { login __typename } replyTo { id } } pageInfo { hasNextPage endCursor } } } } }'
Merge all comment pages in API order and deduplicate by GraphQL id (first
occurrence wins). Block triage until every truncated thread is complete. Do
not substitute issue comments for review threads.
2. Keep only unresolved threads, preserve API order, then group by path and line.
With --bots-only, use API actor type rather than a login suffix. Show one row
per thread with author, category, outdated state, and proposed action. Review
summaries are separate, non-resolvable context.
3. Gate 1 — read-only selection. Always stop after triage for an explicit list
of selected thread IDs. Selection authorizes inspection only. --fix permits
later edits but approves nothing and never selects every thread.
4. Gate 2 — edit approval. For each selected thread, read current code and
propose the exact patch. Obtain explicit edit approval before editing, or record
EDIT: NOT APPLICABLE with evidence. Then show the applied diff and run the
smallest relevant compile/test check after every code change.
5. Gate 3 — posting approval. Draft a reply only after verification. Outdated means location drift, not
addressed: require current code/diff evidence before that disposition. Show the
diff, evidence, and exact verified reply, then obtain a separate explicit posting
approval before posting. Use a connector
mutation when available, or gh api to reply to the root review comment. If
posting is unsupported or fails, report NOT POSTED with the reason.
6. Gate 4 — resolution approval. First confirm the post from the API response.
Only then request a separate resolution approval. --no-resolve always disables resolution, regardless of
any other flag or approval. Use the connector or resolveReviewThread mutation, then
confirm returned state. Never claim replied/resolved from a draft or intent.
7. Return thread | action | verification | reply | resolution, changed files,
and precise blockers. Paginated review summaries with CHANGES_REQUESTED or
an actionable non-empty body are findings even when there are zero inline
threads; report them as non-resolvable context and never call that state clean.
Do not commit or push.
Generic read-only workers may inspect independent threads when the runtime has them, but named custom agents are not required and sequential same-session processing is complete.
Iron Laws
- Triage always stops for explicit thread selection —
--fixpermits but does not approve edits. - Never post, resolve, dismiss, commit, or push without the required approval.
- Never resolve before a successful reply and never fabricate mutation state.
- Never claim a fix without a shown diff and successful focused verification.
- Scrutinize bot and human findings equally; Iron Laws override suggestions.
References
references/response-patterns.md— reply templates and tonereferences/gh-commands.md— GitHub CLI queries and mutationsreferences/bot-triage.md— bot review triage
Related Skills
Agent-Reach
91.6kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
pptx
177.9kUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an em…
design
130.2kComprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini, Atlas Cloud, or MuAPI AI), corporate identity program (50 deliverables, CIP mockups), HTML presentations (Chart.js), banner design (22 styles, social/ads/web/print), icon design (15 styles, SVG…
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
