gemini-peer-review

Generate an AI-to-AI code review prompt and call the Gemini generateContent API.

Updated Mar 26, 2026
One-click install
npx skills add https://github.com/moughamir/justwaitit-review --skill gemini-peer-review-moughamir
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gemini-peer-review
Source: https://github.com/moughamir/justwaitit-review/tree/main/.agents/skills/gemini-peer-review
Command: npx skills add https://github.com/moughamir/justwaitit-review --skill gemini-peer-review-moughamir

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It helps you reduce risk and improve quality by getting an independent technical review of your code, architecture, debugging situation, or security posture.

Core Features & Use Cases

  • Code Quality & Bug Review: Identifies logic errors, performance issues, and best-practice violations in targeted files.
  • Architecture Trade-off Advice: Reviews design decisions with context and recommends safer or clearer options.
  • Debugging & Security Insight: Offers error-focused analysis (with prior attempts) and scans for common security vulnerabilities.
  • Use Case: You are preparing a major change to a Next.js/Supabase project and want a second opinion before merging, including potential security concerns.

Quick Start

Ask the AI to run gemini-peer-review on the files you want checked and include any relevant error messages or context if debugging.

Frequently Asked Questions about gemini-peer-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get a second opinion on code and architecture before merging changes?

To get a second opinion on code and architecture, you run a peer review on targeted files or directories. The Skill reads your code into context, constructs an AI-to-AI prompt, and calls the Gemini generateContent API using GEMINI_API_KEY to return independent analysis.

What is the best way to debug logic errors and scan for security vulnerabilities?

To debug logic errors and scan for security vulnerabilities, you provide the target files along with relevant error messages or prior attempts. The process generates an error-focused analysis prompt and sends it to Gemini to identify issues and common security flaws.

Do I need a GEMINI_API_KEY to run an independent code review?

Yes, you need a GEMINI_API_KEY to run an independent code review. The Skill requires this API key to authenticate and call the Gemini generateContent API, which processes the constructed AI-to-AI prompt and returns the technical feedback.

Can I use this approach for quick architecture questions without providing file context?

Yes, you can use this approach for quick architecture questions without file context. The process supports rapid “quick question” analysis, allowing you to get design trade-off advice and recommendations directly from Gemini without reading a specific directory.

How does an AI-to-AI prompt work for reviewing design trade-offs?

An AI-to-AI prompt for reviewing design trade-offs works by reading your target files into context, building a templated request, and writing it to .claude/artifacts/gemini-prompt.txt. Gemini then independently evaluates your design decisions and recommends safer options.