OpenRuna
Sign in
SKILL.md

name: review-bugbot description: Review code changes with Bugbot subagent.

Review Bugbot

Use this skill when the user asks to run /review-bugbot.

Launch exactly one bugbot subagent with:

  • readonly: true
  • run_in_background: false unless explicitly asked to run in background
  • description: "Bugbot"
  • subagent_type: "bugbot"

The review subagent computes the local diff from the repository path, so do not compute the diff yourself before launching it. The repository path should be the active workspace or repository root for the code the user wants reviewed.

By default, the review subagent infers the repository's actual base branch, such as main, when computing branch changes. In most cases, do not provide Base Branch. Only provide it if you know the current branch or PR should be compared against a specific branch other than the repository's default base branch, such as when you created the current branch from another branch.

Special case: if the user explicitly asks to review a specific PR or branch, make sure that target is checked out before launching the subagent:

  • Examples include github.com/... /review, review {link}, or review {branch-name}.
  • Resolve the provided PR link, PR number, or branch name to the PR head branch or named branch.
  • Check whether the target branch is already the currently checked out local branch. If it is, continue.
  • If a different branch is currently checked out, try to switch to the target branch.
  • If Git refuses to switch because local files would be overwritten, conflicts need resolution, or another checkout blocker occurs, explain the blocker and ask whether the user wants to stash local changes before retrying.
  • Only stash after the user confirms. If the stash succeeds, retry switching to the target branch.
  • Launch the review subagent only after the target branch is checked out locally.

Use this exact prompt shape:

Full Repository Path: <absolute repository path>
Diff: <one of: "branch changes", "uncommitted changes", "natural language">
Base Branch: <only include this line when reviewing branch changes against a known specific base branch>
Change Description: <required only when Diff is "natural language"; list each changed file and what changed in it>
Custom Instructions: <only include this line when the user gave specific review instructions>

Default to branch changes, which reviews branch changes against the merge-base with the default/base branch, including committed, staged, and unstaged changes. If the user asks to review only uncommitted, local working tree, dirty, or not-yet-committed changes, use uncommitted changes.

If the review subagent fails before producing findings, inspect the failure text.

  • If the failure is caused by calling the subagent incorrectly, such as a missing Full Repository Path, missing Diff, wrong prompt shape, or wrong subagent type, correct the invocation and retry it once immediately.

  • If the subagent reports it could not compute the diff (for example an empty diff, missing diff metadata, or that it could not compute the diff), retry once with Diff: natural language, omitting Base Branch and providing a Change Description. The subagent will read those files directly. Only use this as a last resort, after the regular diff-based review has failed because the diff could not be computed.

    Write the Change Description as one block per changed file: a <path> (added|modified|deleted|renamed) header followed by bullet points of what changed. Mention line numbers or ranges inline where they help and you know them (for example (L40-58) or around L120); they are optional, not required on every bullet. Example:

    src/auth/login.ts (modified):
    - rewrote validateSession (L40-58) to check token expiry before the DB lookup
    - removed the fallback that accepted empty tokens
    
    src/auth/legacy.ts (deleted)
    
    src/auth/mfa.ts (added):
    - new verifyMfaCode() (L1-30) that calls the TOTP service and rate-limits attempts
    
  • For any other subagent failure, retry once with the same prompt shape.

  • If the same failure persists after the retry, stop. Briefly tell the user that the review subagent could not complete and include the short error or blocker. Do not keep retrying.

After the subagent finishes, summarize the result:

  • If it reports that no diff was found or the diff is empty, tell the user in one sentence that there was no diff to review.
  • If it found no issues, give a one-line status such as "Bugbot found 2 findings / Bugbot found no bugs".
  • If it found issues, print a compact markdown table with one row per finding, sorted by severity (highest first), using exactly these columns: Severity, Location (file:line), Finding. Put the file and line in the location column as file:line.

Do not fix findings or rerun review unless the user explicitly asks for that next step.

Overview

review-bugbot: a free, copy-ready skill on OpenRuna. Review code changes with Bugbot subagent.

What this skill does

Reach for "review-bugbot" whenever you need a reliable skill for real work across ChatGPT, Claude, Gemini, and Cursor. Review code changes with Bugbot subagent. It is catalogued next to similar resources on OpenRuna, so the rest of the toolkit you need is close by. Open a new conversation and paste it in, wire it into an agent, or keep it in your team's prompt library.

Use cases

  • Combine it with related tools and prompts in the same OpenRuna category to build an end-to-end workflow.
  • Reach for it during planning or review sessions when you want consistent, AI-assisted structure.
  • Use "review-bugbot" when you need a repeatable skill for professional work without rewriting instructions every time.
  • Hand "review-bugbot" to a new teammate so their skill output matches your team's quality bar from day one.

Example output

Running this skill produces output shaped like the source material below:

# Review Bugbot

Use this skill when the user asks to run `/review-bugbot`.

Launch exactly one `bugbot` subagent with:

- `readonly: true`
- `run_in_background: false` unless explicitly asked to run in background
- `description: "Bugbot"`
- `subagent_type: "bugbot"`

The review subagent computes the local diff from the repository path, so do not compute the diff yourself before launching it. The repository path should be the active workspace or repository root for the code the user wants reviewed.

By default, the review subagent infers the repository's actual base branch, such as `main`, whe…

Results vary by model and temperature; treat the first response as a draft and refine it with follow-up prompts.

Tips by platform

Claude

Claude works best when you paste this skill up front and ask it to outline its plan before writing. Use the artifact panel to refine structured output turn by turn.

ChatGPT

ChatGPT responds well when you paste this skill and immediately give one concrete example of your input. Use a reasoning-capable model for multi-step work.

Cursor

In Cursor, lift the key instructions from this skill into .cursorrules or a SKILL.md file, then reference it in Agent mode with @ mentions. Keep the title in a comment so teammates can find it on OpenRuna.

Frequently asked questions

What is "review-bugbot"?
It is a skill listed on OpenRuna — Review code changes with Bugbot subagent. You can copy and adapt it for ChatGPT, Claude, Cursor, or any other AI assistant.
Is "review-bugbot" free to use?
Most OpenRuna resources are open or CC0-licensed. Check the license shown on this page before commercial use; premium collections are clearly marked as such.
How do I get the best results from this skill?
Replace any placeholders, add your project context, and ask the model to confirm its assumptions first. Iterate over 2–3 follow-up turns rather than expecting a perfect first response.
Does "review-bugbot" work with both Claude and ChatGPT?
Yes — it is model-agnostic text, so it runs on Claude, ChatGPT, Gemini, and Cursor. The tips on this page cover each of those assistants specifically.
Where can I find resources related to "review-bugbot"?
Scroll to the Related resources section on this page, or open the matching category hub on OpenRuna to find connected prompts, tools, agents, and datasets in the same topic area.

Related resources