From fb0a1e1c2c338d1d48d44790a9e937305e690b18 Mon Sep 17 00:00:00 2001 From: matt korwel Date: Wed, 11 Mar 2026 11:24:15 -0700 Subject: [PATCH] Update .gemini/skills/async-pr-review/SKILL.md --- .gemini/skills/async-pr-review/SKILL.md | 1 - 1 file changed, 1 deletion(-) diff --git a/.gemini/skills/async-pr-review/SKILL.md b/.gemini/skills/async-pr-review/SKILL.md index 4f1fc97234..5217defed3 100644 --- a/.gemini/skills/async-pr-review/SKILL.md +++ b/.gemini/skills/async-pr-review/SKILL.md @@ -7,7 +7,6 @@ description: Trigger this skill when the user wants to start an asynchronous PR 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 `--approval-mode=yolo`. 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-`. This prevents git lock conflicts and namespace pollution.