Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
google-gemini avatar

Async Pr Review

  • 307 installs
  • 106k repo stars
  • Updated August 5, 2026
  • google-gemini/gemini-cli

Trigger this skill when the user wants to start an asynchronous PR review, run background checks on a PR, or check the status of a previously started async PR review.

About

Trigger this skill when the user wants to start an asynchronous PR review, run background checks on a PR, or check the status of a previously started async PR review. This skill provides a set of tools to asynchronously review a Pull Request. It will create a background job to run the project's preflight checks, execute Gemini-powered test plans, and perform a comprehensive code review using custom prompts.

  • This skill is designed to showcase an advanced "Agentic Asynchronous Pattern":
  • **Dynamic Git Scoping**: The review scripts avoid hardcoded paths. They use `git rev-parse --show-toplevel` to automatic
  • **Determine Action**: Establish whether the user wants to start a new async review or check the status of an existing on
  • If the user says "start an async review for PR #123" or similar, proceed to **Start Review**.
  • If the user says "check the status of my async review for PR #123" or similar, proceed to **Check Status**.

Async Pr Review by the numbers

  • 307 all-time installs (skills.sh)
  • Ranked #699 of 2,153 Testing & QA skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

async-pr-review capabilities & compatibility

Capabilities
this skill is designed to showcase an advanced " · **dynamic git scoping**: the review scripts avoi · **determine action**: establish whether the user · if the user says "start an async review for pr #
Use cases
documentation
From the docs

What async-pr-review says it does

Trigger this skill when the user wants to start an asynchronous PR review, run background checks on a PR, or check the status of a previously started async PR review.
SKILL.md
npx skills add https://github.com/google-gemini/gemini-cli --skill async-pr-review

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs307
repo stars106k
Last updatedAugust 5, 2026
Repositorygoogle-gemini/gemini-cli

How do I apply async-pr-review using the workflow in its SKILL.md?

Trigger this skill when the user wants to start an asynchronous PR review, run background checks on a PR, or check the status of a previously started async PR review.

Who is it for?

Developers following the async-pr-review skill for the tasks it documents.

Skip if: Tasks outside the async-pr-review scope described in SKILL.md.

When should I use this skill?

User mentions async-pr-review or related triggers from the skill description.

What you get

Working async-pr-review setup aligned with the documented patterns and constraints.

  • final-assessment.md merge recommendation
  • review.md code findings
  • Test execution logs

By the numbers

  • Produces 5 review artifact files on completion
  • Uses 2 shell scripts: async-review.sh and check-async-review.sh
  • Checks out PRs in isolated git worktrees for non-blocking review

Files

SKILL.mdMarkdownGitHub ↗

Async PR Review

This skill provides a set of tools to asynchronously review a Pull Request. It will create a background job to run the project's preflight checks, execute Gemini-powered test plans, and perform a comprehensive code review using custom prompts.

This skill is designed to showcase an advanced "Agentic Asynchronous Pattern": 1. Native Background Shells vs Headless Inference: While Gemini CLI can natively spawn and detach background shell commands (using the run_shell_command tool with is_background: true), a standard bash background job cannot perform LLM inference. To conduct AI-driven code reviews and test generation in the background, the shell script must invoke the gemini executable headlessly using -p. This offloads the AI tasks to independent worker agents. 2. Dynamic Git Scoping: The review scripts avoid hardcoded paths. They use git rev-parse --show-toplevel to automatically resolve the root of the user's current project. 3. Ephemeral Worktrees: Instead of checking out branches in the user's main workspace, the skill provisions temporary git worktrees in .gemini/tmp/async-reviews/pr-<number>. This prevents git lock conflicts and namespace pollution. 4. Agentic Evaluation (`check-async-review.sh`): The check script outputs clean JSON/text statuses for the main agent to parse. The interactive agent itself synthesizes the final assessment dynamically from the generated log files.

Workflow

1. Determine Action: Establish whether the user wants to start a new async review or check the status of an existing one.

  • If the user says "start an async review for PR #123" or similar, proceed to Start Review.
  • If the user says "check the status of my async review for PR #123" or similar, proceed to Check Status.

Start Review

If the user wants to start a new async PR review:

1. Ask the user for the PR number if they haven't provided it. 2. Execute the async-review.sh script, passing the PR number as the first argument. Be sure to run it with the is_background flag set to true to ensure it immediately detaches.

    .gemini/skills/async-pr-review/scripts/async-review.sh <PR_NUMBER>

3. Inform the user that the tasks have started successfully and they can check the status later.

Check Status

If the user wants to check the status or view the final assessment of a previously started async review:

1. Ask the user for the PR number if they haven't provided it. 2. Execute the check-async-review.sh script, passing the PR number as the first argument:

    .gemini/skills/async-pr-review/scripts/check-async-review.sh <PR_NUMBER>

3. Evaluate Output: Read the output from the script.

  • If the output contains STATUS: IN_PROGRESS, tell the user which tasks are still running.
  • If the output contains STATUS: COMPLETE, use your file reading tools (read_file) to retrieve the contents of final-assessment.md, review.md, pr-diff.diff, npm-test.log, and test-execution.log files from the LOG_DIR specified in the output.
  • Final Assessment: Read those files, synthesize their results, and give the user a concise recommendation on whether the PR builds successfully, passes tests, and if you recommend they approve it based on the review.

Related skills

How it compares

Pick async-pr-review over synchronous PR review when you need deep test execution and LLM analysis on large PRs without blocking your Gemini CLI session.

FAQ

What does async-pr-review do?

Trigger this skill when the user wants to start an asynchronous PR review, run background checks on a PR, or check the status of a previously started async PR review.

When should I use async-pr-review?

Invoke when Trigger this skill when the user wants to start an asynchronous PR review, run background checks on a PR, or check the status of a previousl.

Is async-pr-review safe to install?

Review the Security Audits panel on this page before installing in production.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.