跳到正文
cccskills
免费在 GitHub 公开

review-pr

Use when asked to review a PR, run a code review loop, or invoke the ralph reviewer against a pull request number or GitHub URL

中文简介正在准备中。当前显示原文说明。

集成工具GitHub
查看安装方法

包含的文件(1)

  • SKILL.md2.3 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Review PR

Run the ralph.reviewer.yml orchestration loop against a pull request. The loop checks out the PR in an isolated worktree, runs tests, reviews the diff, and produces a structured report.

Usage

/review-pr <PR number or URL>

Accepts: 207, #207, or https://github.com/.../pull/207

Execution

1. Parse the PR argument

Extract the PR number from the argument. Strip # prefix or extract from URL path.

2. Run the reviewer loop

ralph run -H ralph.reviewer.yml -p "Review PR #<N>"

Bash tool settings:

  • timeout: 600000 (10 minutes)
  • run_in_background: true

Use TaskOutput with block: true to wait for completion.

3. Display the report

Read and print .ralph/REVIEW-REPORT.md to the conversation.

If the report file doesn't exist (loop failed before the synthesizer hat), check for and display whatever intermediate files exist:

  1. .ralph/review-scope.md — what was scoped
  2. .ralph/review-verification.md — test results
  3. .ralph/review-findings.md — review findings

4. Verify cleanup

Check that the review worktree was removed:

ls -d .worktrees/review-<N> 2>/dev/null
  • If gone: cleanup succeeded, no action needed.
  • If still present: warn the user but do NOT force-remove. Say what's there and let them decide.

Also note the presence of intermediate files (.ralph/review-scope.md, etc.) — they're useful for debugging but the user may want to clean them up later.

Error Handling

SituationAction
Ralph exits non-zeroDisplay error output. Suggest re-running with RALPH_DIAGNOSTICS=1
Report file missingDisplay intermediate files that do exist (scope, verification, findings)
PR argument missingAsk the user for the PR number
PR argument unparseableAsk the user to provide a bare number, #N, or full GitHub URL

What This Skill Does NOT Do

  • Does NOT validate the PR exists (the scoper hat handles that)
  • Does NOT modify any source code (read-only review)
  • Does NOT post comments to GitHub
  • Does NOT own worktree cleanup (verifies only)
  • Does NOT enable diagnostics by default

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Guides implementation of code tasks using test-driven development in an Explore, Plan, Code, Commit workflow. Acts as a Technical Implementation Partner and TDD Coach — following existing patterns, avoiding over-engineering, and producing idiomatic, modern code.

中文简介正在准备中。当前显示原文说明。

mikeyobrien/ralph-orchestrator31802026年10月16日 更新

Generates structured .code-task.md files from descriptions or PDD implementation plans. Auto-detects input type, creates properly formatted tasks with Given-When-Then acceptance criteria.

中文简介正在准备中。当前显示原文说明。

mikeyobrien/ralph-orchestrator31802026年10月16日 更新

Use when testing Ralph's hat collection presets, validating preset configurations, or auditing the preset library for bugs and UX issues.

中文简介正在准备中。当前显示原文说明。

mikeyobrien/ralph-orchestrator31802026年10月16日 更新

Lists all code tasks in the repository with their status, dates, and metadata. Useful for getting an overview of pending work or finding specific tasks.

中文简介正在准备中。当前显示原文说明。

mikeyobrien/ralph-orchestrator31802026年10月16日 更新

pdd

免费

Transforms a rough idea into a detailed design document with implementation plan. Follows Prompt-Driven Development — iterative requirements clarification, research, design, and planning.

中文简介正在准备中。当前显示原文说明。

mikeyobrien/ralph-orchestrator31802026年10月16日 更新

Browser automation via Playwriter (remorses) using persistent Chrome sessions and the full Playwright Page API.

中文简介正在准备中。当前显示原文说明。

mikeyobrien/ralph-orchestrator31802026年10月16日 更新

查看 mikeyobrien 的全部技能

报告此技能的问题