本文へ移動
cccskills
無料GitHub で公開

review-pr

Reviews a PR or diff with multi-angle finders and adversarial verification, then reports a findings table, a merge/no-merge recommendation, required followups, and offers to create a follow-up PR. Use when the user types /review-pr [PR# | branch | path].

インストール方法を見る

含まれるファイル(1)

  • SKILL.md4.6 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

PR Review (bifrost custom)

Scope

If a PR number is given: gh pr view <N> --json title,body,author,baseRefName,headRefName,state,additions,deletions,changedFiles and gh pr diff <N> define the scope. Otherwise use git diff @{upstream}...HEAD (fall back to git diff dev...HEAD, then git diff HEAD for uncommitted work).

The diff is the only review scope. When an angle needs surrounding code, Read files in this checkout if it matches the PR branch, otherwise fetch via gh.

Process

  1. Find - launch independent finder agents in parallel (Agent tool), each returning up to 6 candidates {file, line, summary, failure_scenario}:
    • Correctness angles: line-by-line diff scan (read the enclosing function of every hunk); removed-behavior audit (what invariant did deleted/replaced code enforce, and where is it re-established?); cross-file caller/callee trace (grep for changed symbols, check every call site).
    • Cleanup angles: reuse (does new code re-implement an existing helper? name it); simplification (redundant state, copy-paste variation, dead code); efficiency (wasted work, repeated I/O, hot-path cost); altitude (is the fix at the right layer, or a bandaid on shared infrastructure?); conventions (check AGENTS.md rules - only flag when you can quote the exact rule and the exact violating line).
    • Finders must pass through every candidate with a nameable failure scenario; do not self-censor half-believed ones.
  2. Verify - dedup candidates that share a mechanism (keep the most concrete scenario), then run one verifier agent per candidate. Each returns exactly one of CONFIRMED (quote the triggering inputs and the wrong output), PLAUSIBLE (mechanism real, trigger uncertain - state what would confirm it), or REFUTED (quote the line that proves it wrong). Drop REFUTED.

Output format (required)

  1. 2-3 sentence overview of what the PR does and its overall quality.
  2. Findings table: columns # | Severity | Location | Finding | Verdict, ranked most-severe first, max 8 rows. Location is a clickable file:line. If nothing survived verification, say so plainly.
  3. Merge recommendation: exactly one of Merge, Merge after nits, or Not yet - request changes, with a 1-2 sentence reason tied to specific finding numbers. Only CONFIRMED correctness findings may block a merge; PLAUSIBLE and cleanup findings are nits or followups.
  4. Followups required: numbered list, each tagged "in this PR (blocking)" or "follow-up PR", with concrete file:line targets and a one-line fix description.
  5. Follow-up PR offer: if any follow-up items exist, offer to prepare them on a new branch. NEVER commit or push - leave changes staged for the user (standing user rule), unless the user explicitly authorizes committing and opening the PR with gh pr create.
  6. Briefly list refuted candidates with the one-line reason, so the user knows what was checked and cleared.

Post the review to GitHub (after user approval)

When reviewing a GitHub PR, after presenting the output above, offer to publish it on the PR. Only post after the user approves (posting is outward-facing). When approved:

  1. Build a single review payload as JSON in the scratchpad and submit it with gh api repos/{owner}/{repo}/pulls/<N>/reviews --input <file>.json (get owner/repo via gh repo view --json nameWithOwner).
  2. event: use REQUEST_CHANGES when the merge recommendation is "Not yet", COMMENT for "Merge after nits", APPROVE for "Merge".
  3. body: the overview, findings table, merge recommendation, suggested followups (tagged blocking vs follow-up PR), and the refuted-candidates list.
  4. comments: one inline comment per finding whose file is part of the PR diff, anchored with path, line (new-file line number, computed from the diff hunk headers), and side: "RIGHT". Include the concrete failure scenario and a suggested fix as a code block. Findings in files NOT touched by the diff cannot be inline - keep them in the review body (GitHub rejects comments on unchanged files).
  5. Report the resulting review URL back to the user.

House rules

  • Never dismiss a finding as "out of scope" - address it or give a concrete design reason.
  • No em dashes anywhere in the output.
  • Diagrams, if any, are mermaid blocks, never ASCII art.
  • Capability claims about providers must cite fetched upstream docs.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Wire a new model-pricing field (a datasheet cost key like `cost_per_request`, `output_cost_per_video_per_second_720p`, etc.) end-to-end through Bifrost's pricing engine - Options struct, DB table + migration, datasheet sync upsert columns, cost calculation, custom pricing overrides, public API, OpenAPI docs, MDX docs, and the UI override form. Ends with a repo-wide probe to confirm nothing was missed. Invoked with /add-pricing-field <field_name> or /add-pricing-field (asks for the field).

日本語の概要は準備中です。原文の説明を表示しています。

maximhq/bifrost8,7502026年10月13日 更新

Scan Bifrost HTTP controllers/handlers/integrations and validate OpenAPI API coverage, route methods/paths, parameters, request/response docs, and auth/security information. Use when asked to audit missing or incorrect APIs, compare controllers against docs/openapi, validate auth information, or fix API documentation drift. Invoked with /api-validator [scope] [--fix].

日本語の概要は準備中です。原文の説明を表示しています。

maximhq/bifrost8,7502026年10月13日 更新

Write changelogs for Bifrost releases. Reads git history, bumps module versions following the core→framework→plugins→transport hierarchy, writes transports/changelog.md (enterprise-style) and per-module changelog.md files, and updates version files. Invoked with /changelog-writer or /changelog-writer <transport-version>.

日本語の概要は準備中です。原文の説明を表示しています。

maximhq/bifrost8,7502026年10月13日 更新

Write, update, and review Mintlify MDX documentation for Bifrost features. Explores the full codebase (UI, Go backend, config schema), validates config.json examples, places screenshot placeholders, and presents outlines for approval before writing. Invoked with /docs-writer <feature-name>, /docs-writer update <doc-path>, or /docs-writer review <doc-path>.

日本語の概要は準備中です。原文の説明を表示しています。

maximhq/bifrost8,7502026年10月13日 更新

Add regression test cases to the Bifrost provider harness (the Postman collection run via `make run-provider-harness-test`) based on a merged PR or a GitHub issue. Fetches the PR/issue, traces the affected wire path in the codebase, checks existing harness coverage, designs cases following harness conventions, inserts them into tests/e2e/api/collections/provider-harness.json without reformatting the file, and validates via the augment and filter scripts. Invoked with /harness-test-writer <PR# | issue# | URL> or /harness-test-writer (prompts for a reference).

日本語の概要は準備中です。原文の説明を表示しています。

maximhq/bifrost8,7502026年10月13日 更新

Apply helm chart updates for Bifrost. Detects config.schema.json changes since the last helm release, applies user-requested changes, updates values.yaml / values.schema.json / _helpers.tpl, bumps Chart.yaml version, updates helm README (Latest Version + Upcoming section), creates a docs MDX changelog, and updates docs.json navigation. Ends with a diff review to verify every helm field maps back to a config.schema.json counterpart. Invoked with /helm-update.

日本語の概要は準備中です。原文の説明を表示しています。

maximhq/bifrost8,7502026年10月13日 更新

maximhq のスキルをすべて見る

このスキルの問題を報告する