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.
64
76%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Low
Low-risk findings worth noting
Fix and improve this skill with Tessl
tessl review fix ./.gemini/skills/async-pr-review/SKILL.mdThis 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":
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.git rev-parse --show-toplevel to automatically resolve the root of the user's current project..gemini/tmp/async-reviews/pr-<number>. This prevents git lock conflicts and namespace pollution.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.If the user wants to start a new async PR review:
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>If the user wants to check the status or view the final assessment of a previously started async review:
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>STATUS: IN_PROGRESS, tell the user which tasks are still running.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.85aca16
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.