Local Review Skill (Gemini Edition)
Iterative local code review loop that leverages Gemini's long context window to perform "whole-project" reviews of uncommitted changes, identifying structural flaws and architectural drift.
Workflow
- Pre-Existing Scan: Gemini runs a baseline check for lint/type errors, committing fixes separately to avoid mixing with feature work.
- Diff Review: Gemini analyzes local changes against the base branch, classifying issues by keyword triggers (CRITICAL, MAJOR, MINOR, NIT).
- Fix Phase: Gemini dispatches surgical fixes for identified issues in a priority-first loop.
- Iterative Convergence: Continues reviewing and fixing until the codebase is clean or max iterations are reached.
- Commit Phase: Automatically stages and commits fixes with standardized commit messages.
Gemini Advantages
- Multi-File Contextual Review: Gemini sees all changed files in the context of the entire codebase, identifying breaking changes that local diff-based reviews miss.
- Superior Intent Matching: More accurately determines the severity of an issue by understanding its technical impact on the broader system architecture.
- Intelligent Fingerprinting: Better at deduplicating pre-existing issues against Linear tickets by analyzing the semantic meaning of the failure.
Arguments
--uncommitted: Only review uncommitted changes.--since: Base ref for diff (branch/commit).--max-iterations: Maximum review-fix cycles.--required-clean-runs: Consecutive clean runs required before passing.
Source: OmniNode-ai/omnigemini — distributed by TomeVault.