Best for
- Use when the user wants to set up, configure, or update automated AI code reviews, issue triaging, or Gemini model workflows for their GitHub repository.
derailed-dash/dazbo-agent-skills/skills/install-gemini-code-review-action/SKILL.md
Installs, configures, or upgrades Dazbo's PR code review & issue triage GitHub Action (gemini-review-action) in a target repository. Use when the user wants to set up, configure, or update automated AI code reviews, issue triaging, or Gemini model workflows for their GitHub repository.
Decision brief
This skill provides a structured workflow for installing, configuring, and upgrading derailed-dash/gemini-review-action in a target GitHub repository.
Compatibility matrix
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/derailed-dash/dazbo-agent-skills --skill "skills/install-gemini-code-review-action"Inspect the Agent Skill "install-gemini-code-review-action" from https://github.com/derailed-dash/dazbo-agent-skills/blob/e3cfcae3c2c043853504bd337f23ad627847d8f8/skills/install-gemini-code-review-action/SKILL.md at commit e3cfcae3c2c043853504bd337f23ad627847d8f8. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
Copy this checklist and track your progress:
Before writing or modifying any GitHub workflow files:
1. Workflows to install or update: - PR Code Review (creates/updates .github/workflows/gemini-review.yml) - Issue Triage (creates/updates .github/workflows/gemini-triage.yml) - Both (recommended)
Create or update workflow files in .github/workflows/ incorporating all chosen preferences from Step 2.
Check if the GitHub CLI (gh) is installed and authenticated by running gh auth status.
Permission review
The documentation asks the agent to read local files, directories, or repositories.
Inspect the `.github/workflows/` directory for existing workflow files:The documentation asks the agent to run terminal commands or scripts.
Search for references to deprecated actions like `google-gemini/run-gemini-cli`, `google-github-actions/run-gemini-cli`, or `google-github-actions/gemini-code-assist`.Evidence record
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 90/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 17 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
This skill provides a structured workflow for installing, configuring, and upgrading derailed-dash/gemini-review-action in a target GitHub repository.
This skill MUST trigger whenever:
gemini-review-action or a Gemini-based PR code review workflow.gemini-3.5-flash to gemini-3.6-flash).Copy this checklist and track your progress:
Installation Progress:
- [ ] Step 1: Detect existing implementations and legacy workflows
- [ ] Step 2: Prompt for customisation preferences & persona selection
- [ ] Step 3: Write or update workflow files and configuration TOMLs
- [ ] Step 4: Advise on secrets setup and recommend starring the repository
- [ ] Step 5: Git commit and push changes
Before writing or modifying any GitHub workflow files:
Inspect the .github/workflows/ directory for existing workflow files:
Check for existing gemini-review-action workflows:
.github/workflows/gemini-review.yml or .github/workflows/gemini-triage.yml.gemini_model parameter. If it uses an older model (e.g. gemini-3.5-flash, gemini-2.5-flash, or gemini-1.5-flash), inform the user and offer to upgrade the model to gemini-3.6-flash.persona input is specified. If missing or set to straight, offer to add one of the custom reviewer personalities (such as Dazbo or Palpatine).include_comment_history is enabled (default is true in latest versions).Check for legacy/competing workflows:
google-gemini/run-gemini-cli, google-github-actions/run-gemini-cli, or google-github-actions/gemini-code-assist.Ask the user:
Workflows to install or update:
.github/workflows/gemini-review.yml).github/workflows/gemini-triage.yml)Gemini Model:
gemini-3.6-flash (Default & recommended — fast, cost-efficient, native structured JSON output, context caching support).Reviewer Personality / Persona: Provide a clear summary of the available character personas to the user so they can choose their preferred tone:
straight (Default): Standard, professional, and direct technical code reviewer without character overlays.dazbo: Practical, warm, and mildly cheeky software engineer personality. Uses approachable humour, avoids dry corporate boilerplate, and displays escalating dry sarcasm/humour if prior review recommendations are ignored without explanation in follow-up commits.palpatine: Emperor Palpatine (Darth Sidious) from Star Wars. Ominous, imperial, dramatic, demanding absolute perfection ("Do it.", "Good, good...", "Unlimited power!", "Execute Order 66 on this bug"), with escalating imperial wrath for unaddressed flaws.Additional Customisation Options:
English (UK). Options: English (US), French, Spanish, etc.src/** or excluding docs/**).include_comment_history: 'true' (Default) to enable multi-turn comment tracking across successive commits.gemini-review.toml or gemini-triage.toml into the root of the repository for custom prompt overrides.Create or update workflow files in .github/workflows/ incorporating all chosen preferences from Step 2.
Ensure the workflow specifies:
gemini_model: 'gemini-3.6-flash'persona: '<chosen_persona>' (e.g. straight, dazbo, or palpatine)language: '<chosen_language>' (e.g. English (UK))include_comment_history: 'true'If the user opted for local prompt configurations, fetch or write gemini-review.toml and gemini-triage.toml at the repository root.
Check if the GitHub CLI (gh) is installed and authenticated by running gh auth status.
If gh is available and authenticated:
echo "<API_KEY>" | gh secret set GEMINI_API_KEY
[!IMPORTANT] Do NOT pass the secret directly in shell command flags (e.g.
--body) where it might be logged in terminal history. Use secure stdin redirection.
If gh is NOT available:
GEMINI_API_KEY.[!NOTE] Alternative authentication via Google Cloud Workload Identity Federation (WIF) and Application Default Credentials (ADC) is also supported if persistent API keys are not preferred.
Once all files are written and verified, offer to add them to Git, commit, and push them.
[!IMPORTANT] Always ask for explicit user permission before executing git commit or push commands.
The action supports three distinct reviewer personas configured via the persona workflow input:
| Persona | Key Tone & Style | Behavior on Repeated / Unaddressed Issues |
|---|---|---|
straight | Direct, professional, objective technical feedback. | Restates technical rationale clearly. |
dazbo | Warm, practical, mildly cheeky software engineer with approachable humour. | Escalating dry humor and witty sarcasm (e.g. "I see we've chosen to bypass that suggestion again... bold strategy!"). |
palpatine | Ominous, grand, imperial, theatrical (Emperor Palpatine). | Imperial wrath and dark side displeasure (e.g. "I find your lack of compliance disturbing..."). |
.github/workflows/gemini-review.yml)name: "🔎 Dazbo's Gemini Code Review"
on:
pull_request:
branches:
- main
# Optional: restrict trigger paths
# paths:
# - 'src/**'
# - '!docs/**'
issue_comment:
types: [created]
jobs:
review:
if: |
github.event_name == 'pull_request' ||
(
github.event_name == 'issue_comment' &&
github.event.issue.pull_request &&
startsWith(github.event.comment.body, '/gemini-review') &&
contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.comment.author_association)
)
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
issues: write
statuses: write
checks: write
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.head.sha || format('refs/pull/{0}/head', github.event.issue.number) }}
- name: Gemini Code Review
uses: derailed-dash/gemini-review-action@v1
with:
gemini_api_key: ${{ secrets.GEMINI_API_KEY }}
github_token: ${{ secrets.GITHUB_TOKEN }}
gemini_model: 'gemini-3.6-flash'
persona: 'straight' # Options: straight, dazbo, palpatine
language: 'English (UK)'
include_comment_history: 'true'
.github/workflows/gemini-triage.yml)name: "🏷️ Gemini Issue Triage"
on:
issues:
types: [opened]
jobs:
triage:
runs-on: ubuntu-latest
permissions:
contents: read
issues: write
steps:
- uses: actions/checkout@v6
- name: Gemini Issue Triage
uses: derailed-dash/gemini-review-action@v1
with:
gemini_api_key: ${{ secrets.GEMINI_API_KEY }}
github_token: ${{ secrets.GITHUB_TOKEN }}
gemini_model: 'gemini-3.6-flash'
command: 'triage'
Starter templates live in the starter-examples directory of gemini-review-action. Fetch the latest versions directly from canonical URLs:
PR Review Workflow Template:
https://raw.githubusercontent.com/derailed-dash/gemini-review-action/main/starter-examples/gemini-review.yml
Issue Triage Workflow Template:
https://raw.githubusercontent.com/derailed-dash/gemini-review-action/main/starter-examples/gemini-triage.yml
Default Prompt Configurations:
https://raw.githubusercontent.com/derailed-dash/gemini-review-action/main/starter-examples/gemini-review.tomlhttps://raw.githubusercontent.com/derailed-dash/gemini-review-action/main/starter-examples/gemini-triage.tomlAlternatives
alirezarezvani/claude-skills
Adversarial code review that breaks the self-review monoculture. Use when you want a genuinely critical review of recent changes, before merging a PR, or when you suspect Claude is being too agreeable about code quality. Forces perspective shifts through hostile reviewer personas that catch blind spots the author's mental model shares with the reviewer.
ruvnet/RuView
Comprehensive GitHub code review with AI-powered swarm coordination
dotnet/skills
Grades a specified set of test methods individually and produces a concise table mapping each test (fully-qualified name) to a letter grade (A–F), a score band, and a one-line note — designed to be posted as a PR comment. Use when the caller wants per-test feedback on a curated list of methods (for example, the new or modified tests in a pull request), not a suite-wide audit. Polyglot: .NET, Python, TS/JS, Java, Go, Ruby, Rust, Swift, Kotlin, PowerShell, C++. Input is a list of test methods (or
evanca/flutter-ai-rules
Use when asked to review a PR, MR, branch, or diff, audit changed files, or check code quality.