원클릭으로
gemini-scan
Read-only code review via Gemini. Reports issues without fixing. Senior engineer style - no false praise.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Read-only code review via Gemini. Reports issues without fixing. Senior engineer style - no false praise.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | gemini-scan |
| description | Read-only code review via Gemini. Reports issues without fixing. Senior engineer style - no false praise. |
Read-only independent code review using Gemini. Reports issues without making any changes. Senior Google engineer style - no handholding, no false praise.
No arguments? Describe this skill and stop. Do not execute.
Code that a master craftsperson would be proud of.
This scan specifically looks for code that appears AI-generated rather than crafted by a skilled human engineer.
| Antipattern | Example | Why It's Wrong |
|---|---|---|
| Over-abstraction | Factory used once | Abstraction without justification |
| Defensive paranoia | if (x !== null) when x can't be null | Doesn't understand the code |
| Reimplementing stdlib | Custom deepClone when structuredClone exists | Ignorance or arrogance |
| Comment spam | // loop through users above for (user of users) | Insulting the reader |
| Speculative features | Config options with one possible value | Solving imaginary problems |
| Enterprise patterns | AbstractUserFactoryBean | Cargo-culting |
Goal: Report code that wouldn't survive a senior engineer's review.
If a path argument is provided, review that file/directory. If no argument, review recently modified files (git diff/log). Multiple paths can be provided to scan a set of components.
Read .claude/rubric/AUTO-DETECT.md for the detection table. Then:
.claude/rubric/base.md and .claude/rubric/product-quality.md.claude/rubric/web-api.md, .claude/rubric/data-persistence.md, .claude/rubric/cli.md, .claude/rubric/microservice.md).## Review Criteria. Combine into a single criteria list for the Gemini context.If a rubric file doesn't exist, skip it and continue.
Find target files:
If NO code exists, output "no code to review" and stop.
Read ALL files in scope completely. Do not skim.
For each file or logical group:
mcp__gemini-reviewer__gemini_review
code: <paste the source code>
focus: "general"
context: "PRODUCTION READINESS review. If you wouldn't deploy this to production today, flag it. Review against: {RUBRIC_CRITERIA}. For each finding cite file:line and severity (CRITICAL/HIGH/MEDIUM/LOW). CRITICAL = blocks production. HIGH = would cause incidents."
Replace {RUBRIC_CRITERIA} with the combined Review Criteria from all loaded rubric files, numbered sequentially.
Note: Test Coverage is handled by the testing phase — do not include it in the rubric criteria.
If tool unavailable, output: GEMINI_ERROR: tool not available
Collect all issues from Gemini and organize by severity.
DO NOT edit any files. Report only.
## Gemini Scan: [target]
### Summary
| Metric | Value |
|--------|-------|
| Files scanned | N |
| Total lines | N |
| Critical issues | N |
| High issues | N |
| Medium issues | N |
| Low issues | N |
### Critical Issues 🔴
Must fix before shipping:
1. **[file:line]** — [description]
- Problem: [what Gemini found]
- Impact: [why it matters]
- Suggested fix: [how to address]
### High Issues 🟠
Should fix:
1. **[file:line]** — [description]
- Problem: [what Gemini found]
- Suggested fix: [how to address]
### Medium Issues 🟡
Consider fixing:
1. **[file:line]** — [description]
- Concern: [what Gemini found]
### Low Issues 💭
Minor improvements:
1. **[file:line]** — [description]
### AI-Generated Antipatterns Detected
Patterns typical of AI-generated code that should be simplified:
- [ ] Over-abstraction (factories/wrappers used once)
- [ ] Features not requested
- [ ] Defensive checks for impossible cases
- [ ] Reimplementing stdlib
- [ ] Copy-paste that should be extracted
- [ ] Over-commenting obvious code
- [ ] Unnecessary config options
- [ ] Over-engineered types
### Files Reviewed
| File | Lines | Issues |
|------|-------|--------|
| path/to/file.ts | 245 | 2 🔴, 1 🟠 |
| ... | ... | ... |
---
GEMINI_RESULT: called - [N] total issues
SCAN_ONLY: no fixes applied
Audit a project against a canon's rules and checklist. Read-only — produces prioritized report without fixing. Works with any canon (nextjs, sql, typescript, etc.).
Lens home base - status, help, and setup
Plan and build a new feature with quality gates.
Simple changes done right. Make the change, clean up after yourself, report what happened.
Review against canons + quality gate, fix findings, verify. Claude-native — no external models.
Plan and improve existing code with quality gates.