rmyz/dotfiles/review-pr

Claude Code and agent skill by rmyz/dotfiles

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Review a Kibana pull request and verify it in a local worktree, Elasticsearch, and Kibana environment. Invoke explicitly with a GitHub PR URL.

Install

npx vskill@latest install rmyz/dotfiles/review-pr

SKILL.md

The same SKILL.md was published earlier as rmyz/dotfiles/review-pr.

Review PR

Checks the PR out in a local worktree, moves the session into it, then runs cross-review on it while the test environment starts and kibana-verify checks the PR in the running app. It reports findings, copy-ready comments, and the verification result.

Input

Require one https://github.com/elastic/kibana/pull/<number> URL. Ask for it when missing. Reject non-Kibana PRs because the local stack instructions are Kibana-specific.

cross-review asks for confirmation above 50 changed files.

Workflow

1. Create the worktree

Read ~/.agents/skills/init-worktree/SKILL.md and follow it for the supplied PR URL. It creates the worktree on the PR's branch and starts bootstrap, the dev config copy, and CodeGraph indexing. Pass the tag [REVIEW-PR] and this caller instruction: read ~/.agents/skills/review-pr/SKILL.md and follow it from step 2. PR: <PR_URL>. init-worktree then moves the session into the worktree. End this session after the handoff.

2. Run review and environment setup with verification together

A session that starts with the [REVIEW-PR] tag skips step 1. Run pwd -P first. It must equal the worktree path in the prompt. Stop if it does not.

Start both at the same time:

  • The review: load ~/.agents/skills/cross-review/SKILL.md and follow it in local

mode from the worktree, against upstream/main. The checked-out branch is the PR head, so the local diff is the PR diff. Review the committed diff (upstream/main...HEAD), not the working tree, because verification may touch the working tree. Give it the PR description as the intent and ask for paste-ready PR comments. Run it from the worktree and use its output as the review.

  • The environment and verification: one general-purpose subagent with the prompt

below. It may edit files in the worktree for verification only.

Replace <PR_URL>, <worktree-path>, and <bootstrap-handle>:

text
Prepare the local Kibana test environment for <PR_URL> in the worktree at
<worktree-path>.
Load the orca-cli skill. Confirm bootstrap (terminal <bootstrap-handle>) as
`~/.agents/skills/init-worktree/SKILL.md` describes under "Bootstrap". Use the
worktree as the working directory for every following command.
Read `~/.agents/skills/kibana-dev-stack/SKILL.md` and follow it for Elasticsearch and
Kibana; skip Storybook.
When Kibana answers `available`, verify the PR:
1. Run `gh pr view <PR_URL> --json body,closingIssuesReferences`. The issues come
from `closingIssuesReferences` (the Development field) and from issue links in the
PR body. Read each with `gh api repos/<owner>/<repo>/issues/<number>`.
2. Take the acceptance criteria from the issues, word for word, in order, as `AC1..n`.
When several issues exist, keep the source issue number beside each criterion.
3. When no issue has criteria, derive one testable criterion per behavior the PR
description claims. Add nothing the description does not say. Mark each
`derived from PR description`.
4. When the description states no runtime behavior either (pure refactor, docs,
tests only), skip verification and return `Verification: skipped, no runtime
behavior described`.
5. Write the criteria under `## Acceptance criteria` in
`~/Code/ai-generated/<branch with / replaced by ->/plans/verify-plan.md`.
6. Load `~/.agents/skills/kibana-verify/SKILL.md` and follow it with that plan file.
7. Before you return, revert every worktree edit that verification made, so
`git status` matches its state before step 6.
Return the PR branch and commit, worktree path, bootstrap status, Elasticsearch
status, Kibana URL, which Orca terminals hold the logs, the path of `verify.json`,
the verdict, and the source of each criterion (`issue #<n>` or `PR description`).
Report failures with the command and output that failed. Leave
successful processes and the worktree running for manual testing.
3. Report

Return cross-review's report, including its copy-ready conventional comments.

Append:

markdown
## Verification
-Verdict: <pass | fail | partial | blocked | skipped>
-Summary: <summary from verify.json, or the skip reason>
-Criteria: <ID, source (issue #<n> or PR description), status, one per line>
-Evidence: <absolute path of verify.json>
-Reviewer note: <reviewerNote, when the verdict is not pass>
## Local test environment
-Worktree: <absolute path>
-Branch and commit: <branch> at <sha>
-Elasticsearch: <status and URL>
-Kibana: <status and URL>
-Logs: <Orca terminal titles>

When a failed check matches a review finding, link them in both sections. Report every feature file that kibana-verify changed in the dotfiles repo.

If environment setup failed, still return the complete review report, put the failure under Local test environment, and set the verdict to blocked.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/rmyz/dotfiles/review-pr/badge)](https://verified-skill.com/skills/rmyz/dotfiles/review-pr)

Something wrong with this skill or its page? Tell us.