async-pr-review
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.
Install
git clone https://github.com/google-gemini/gemini-cli /tmp/gemini-cli && ln -s /tmp/gemini-cli/.gemini/skills/async-pr-review ~/.claude/skills/async-pr-review
From README
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": Native Background Shells vs Headless Inference: While Gemini CLI can natively spawn and detach background shell commands (using the runshellcommand tool with isbackground: 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. 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.
