gemini-peer-review
БесплатноБез исполняемых скриптовНе проверенGet a second opinion from Gemini on code, architecture, debugging, or security. Uses gemini-coach CLI with AI-to-AI prompting for clear, actionable analysis…
от majiayu000★ 31 звезда на GitHubОб этом скилле
Gemini Peer Review
Consult Gemini as a coding peer for a second opinion on code quality, architecture decisions, debugging, or security reviews.
Prerequisites
gemini-coachCLI installed (wraps Gemini CLI with AI-to-AI prompting)- Gemini CLI authenticated (
geminito test)
Modes
Code Review
gemini-coach review src/auth.ts src/api.ts
Review specific files for bugs, logic errors, security vulnerabilities, performance issues, and best practice violations.
Architecture Advice
gemini-coach architect "Should I use D1 or KV for session storage?" .
Get feedback on design decisions with trade-off analysis. Passing . includes project context.
Debugging Help
gemini-coach debug src/problematic-file.ts
Analyse errors when stuck after 2+ failed fix attempts. Gemini sees the code fresh without your debugging context bias.
Security Scan
gemini-coach security-scan ./src/api/
Scan code for security vulnerabilities (injection, auth bypass, data exposure).
Quick Question
gemini-coach quick "Best way to handle WebSockets in Workers?"
Fast question without file context.
Project Review
gemini-coach project-review "Analyse architecture and suggest improvements" /path/to/project
Full project analysis using Gemini's 1M token context.
When to Use
Good use cases:
- Before committing major changes (final review)
- When stuck debugging after multiple attempts
- Architecture decisions with multiple valid options
- Security-sensitive code review
- "What am I missing?" moments
Avoid using for:
- Simple syntax checks (Claude handles these faster)
- Every single edit (too slow, unnecessary)
- Questions with obvious answers
Model Selection
gemini-coach automatically selects the right model:
| Mode | Model | Typical Time |
|---|---|---|
| review, debug, quick | gemini-2.5-flash | 5-15s |
| architect, security-scan | gemini-2.5-pro | 15-30s |
Override: GEMINI_MODEL=gemini-2.5-pro gemini-coach review ...
Synthesizing Results
After receiving Gemini's analysis:
- Present Gemini's findings to the user
- Add your own perspective — agree/disagree with specific points
- Let the user decide which recommendations to implement
Reference Files
| When | Read |
|---|---|
| AI-to-AI prompt templates, model details | references/prompt-templates.md |
Установить gemini-peer-review в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл gemini-peer-review?
Get a second opinion from Gemini on code, architecture, debugging, or security. Uses gemini-coach CLI with AI-to-AI prompting for clear, actionable analysis. Trigger with 'ask gemini', 'gemini review', 'second opinion', 'peer review', or 'consult gemini'.
Как установить скилл gemini-peer-review?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл gemini-peer-review запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic