Source profileQuality 90/100Review permissions

derailed-dash/dazbo-agent-skills/skills/install-gemini-code-review-action/SKILL.md

install-gemini-code-review-action

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.

Source repository stars
17
Declared platforms
0
Static risk flags
2
Last source update
2026-08-04
Source checked
2026-08-04

Decision brief

What it does—and where it fits

This skill provides a structured workflow for installing, configuring, and upgrading derailed-dash/gemini-review-action in a target GitHub repository.

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.

Not for

  • Tasks that require unconfirmed production actions or broad system permissions.
  • Environments where the pinned source and install steps cannot be inspected.

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexNot declaredNo explicit evidencePortability before use
Claude CodeNot declaredNo explicit evidencePortability before use
CursorNot declaredNo explicit evidencePortability before use
Gemini CLINot declaredNo explicit evidencePortability before use
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/derailed-dash/dazbo-agent-skills --skill "skills/install-gemini-code-review-action"
Safe inspection promptEditorial

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

What the source asks the agent to do

  1. 01

    Installation & Upgrade Workflow

    Copy this checklist and track your progress:

    Check for existing gemini-review-action workflows:Inspect .github/workflows/gemini-review.yml or .github/workflows/gemini-triage.yml.Check the configured geminimodel 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.
  2. 02

    Step 1: Pre-implementation environment check & legacy workflow detection

    Before writing or modifying any GitHub workflow files:

    Check for existing gemini-review-action workflows:Inspect .github/workflows/gemini-review.yml or .github/workflows/gemini-triage.yml.Check the configured geminimodel 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.
  3. 03

    Step 2: Prompt for customisation preferences & persona selection

    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)

    Workflows to install or update:PR Code Review (creates/updates .github/workflows/gemini-review.yml)Issue Triage (creates/updates .github/workflows/gemini-triage.yml)
  4. 04

    Step 3: Write or update workflow files and configuration TOMLs

    Create or update workflow files in .github/workflows/ incorporating all chosen preferences from Step 2.

    geminimodel: 'gemini-3.6-flash'persona: '' (e.g. straight, dazbo, or palpatine)language: '' (e.g. English (UK))
  5. 05

    Step 4: Secrets setup and repository recommendation

    Check if the GitHub CLI (gh) is installed and authenticated by running gh auth status.

    Ask the user for their Gemini API key (from Google AI Studio).Offer to set the GitHub repository secret automatically by running:Provide manual instructions for GitHub Settings:

Permission review

Static risk signals and limitations

Reads files

low · line 39

The documentation asks the agent to read local files, directories, or repositories.

Inspect the `.github/workflows/` directory for existing workflow files:

Runs scripts

medium · line 48

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

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score90/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars17SourceRepository attention, not individual Skill quality
Compatibility0 platformsSourceDeclared in the catalog source record
Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
derailed-dash/dazbo-agent-skills
Skill path
skills/install-gemini-code-review-action/SKILL.md
Commit
e3cfcae3c2c043853504bd337f23ad627847d8f8
License
MIT
Collected
2026-08-04
Default branch
main
View the original SKILL.md

Installing & Upgrading Gemini PR Review & Issue Triage Action

This skill provides a structured workflow for installing, configuring, and upgrading derailed-dash/gemini-review-action in a target GitHub repository.

Table of Contents

Triggers

This skill MUST trigger whenever:

  • The user requests to install, configure, or upgrade gemini-review-action or a Gemini-based PR code review workflow.
  • The user asks for automated code reviews or issue triaging on GitHub.
  • The user asks to upgrade model versions in existing review workflows (e.g. from gemini-3.5-flash to gemini-3.6-flash).
  • The user asks to add custom reviewer personalities (such as Dazbo or Emperor Palpatine) to their automated PR reviews.

Installation & Upgrade Workflow

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

Step 1: Pre-implementation environment check & legacy workflow detection

Before writing or modifying any GitHub workflow files:

Inspect the .github/workflows/ directory for existing workflow files:

  1. Check for existing gemini-review-action workflows:

    • Inspect .github/workflows/gemini-review.yml or .github/workflows/gemini-triage.yml.
    • Check the configured 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.
    • Check if a persona input is specified. If missing or set to straight, offer to add one of the custom reviewer personalities (such as Dazbo or Palpatine).
    • Check if include_comment_history is enabled (default is true in latest versions).
  2. Check for legacy/competing workflows:

    • 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.
    • If found, warn the user that legacy workflows will conflict with the new action and ask for permission to remove them.

Step 2: Prompt for customisation preferences & persona selection

Ask the user:

  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)
  2. Gemini Model:

    • gemini-3.6-flash (Default & recommended — fast, cost-efficient, native structured JSON output, context caching support).
    • Offer model upgrade if an older model was detected in Step 1.
  3. 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.
  4. Additional Customisation Options:

    • Preferred Language: Default English (UK). Options: English (US), French, Spanish, etc.
    • Path Inclusions / Exclusions: Restrict triggers to specific files (e.g. src/** or excluding docs/**).
    • PR Discussion Thread History: include_comment_history: 'true' (Default) to enable multi-turn comment tracking across successive commits.
    • Prompt Configuration TOMLs: Option to copy gemini-review.toml or gemini-triage.toml into the root of the repository for custom prompt overrides.

Step 3: Write or update workflow files and configuration TOMLs

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.

Step 4: Secrets setup and repository recommendation

Check if the GitHub CLI (gh) is installed and authenticated by running gh auth status.

If gh is available and authenticated:

  1. Ask the user for their Gemini API key (from Google AI Studio).
  2. Offer to set the GitHub repository secret automatically by running:
    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:

  1. Provide manual instructions for GitHub Settings:
    • Go to Settings > Secrets and variables > Actions -> New repository secret.
    • Name: GEMINI_API_KEY.
    • Value: The Gemini API key generated in Google AI Studio.

[!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.

  1. Share the link to the action repository: derailed-dash/gemini-review-action.
  2. Suggest starring the repository if they find the action useful.

Step 5: Git commit and push changes

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.

Reviewer Personas

The action supports three distinct reviewer personas configured via the persona workflow input:

PersonaKey Tone & StyleBehavior on Repeated / Unaddressed Issues
straightDirect, professional, objective technical feedback.Restates technical rationale clearly.
dazboWarm, 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!").
palpatineOminous, grand, imperial, theatrical (Emperor Palpatine).Imperial wrath and dark side displeasure (e.g. "I find your lack of compliance disturbing...").

Workflow Templates

PR Code Review Template (.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'

Issue Triage Template (.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'

Dynamic Template Fetching

Starter templates live in the starter-examples directory of gemini-review-action. Fetch the latest versions directly from canonical URLs:

  1. PR Review Workflow Template: https://raw.githubusercontent.com/derailed-dash/gemini-review-action/main/starter-examples/gemini-review.yml

  2. Issue Triage Workflow Template: https://raw.githubusercontent.com/derailed-dash/gemini-review-action/main/starter-examples/gemini-triage.yml

  3. Default Prompt Configurations:

    • Review configuration: https://raw.githubusercontent.com/derailed-dash/gemini-review-action/main/starter-examples/gemini-review.toml
    • Triage configuration: https://raw.githubusercontent.com/derailed-dash/gemini-review-action/main/starter-examples/gemini-triage.toml

Alternatives

Compare before choosing