cleanup-cache
Clean system caches (npm, Homebrew, Yarn, browsers, Python/ML) to free disk space
Transform Gemini Code Assist PR reviews into prioritized TodoLists with automated execution
$ npx -y skills add davila7/claude-code-templates --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/gemini-reviewContext preview
What this command does when you run it.
Transform Gemini Code Assist PR reviews into prioritized TodoLists with automated execution
allowed-tools: Bash(gh:*), Read, Grep, TodoWrite, Edit, MultiEdit argument-hint: [pr-number] | --analyze-only | --preview | --priority high|medium|low description: Transform Gemini Code Assist PR reviews into prioritized TodoLists with automated execution model: claude-sonnet-4-5-20250929
**The Problem**: Gemini Code Assist provides free, automated PR reviews on GitHub. But AI-generated reviews often get ignored because they lack the urgency of human feedback.
**The Pain Point**: Manually asking Claude Code to: 1. "Analyze PR #42's Gemini review" 2. "Prioritize the issues" 3. "Create a TodoList" 4. "Start working on them"
...gets tedious fast.
**The Solution**: One command that automatically fetches Gemini's review, analyzes severity, creates prioritized TodoLists, and optionally starts execution.
| | Code Analysis | Code Improvement | Gemini Review | |---|---|---|---| | **Trigger** | When you want analysis | When you want improvements | **When Gemini already reviewed** | | **Input** | Local codebase | Local codebase | **GitHub PR's Gemini comments** | | **Purpose** | General analysis | General improvements | **Convert AI review → actionable TODOs** | | **Output** | Analysis report | Applied improvements | **TodoList + Priority + Execution** |
/gemini-review [pr-number] [--analyze-only] [--preview] [--priority high|medium|low]
1. **Fetch**: Retrieve PR details and Gemini review comments using GitHub CLI 2. **Analyze**: Parse and categorize review comments by type and severity 3. **Prioritize**: Assess each comment for refactoring necessity and impact 4. **TodoList**: Generate structured TodoList with priority ordering 5. **Execute**: (Optional) Start working on high-priority items with user confirmation
Key behaviors:
/gemini-review # Automatically detects current branch's PR # Generates prioritized TodoList from Gemini review # Ready to execute after user confirmation
/gemini-review 42 # Analyzes Gemini review comments on PR #42 # Creates prioritized TodoList with effort estimates
/gemini-review --preview # Shows what would be fixed without applying changes # Creates TodoList for manual execution # Allows review before implementation
**Before (Manual, Tedious)**:
1. Open GitHub PR page 2. Read Gemini review (often skipped because "AI generated") 3. Tell Claude: "Analyze PR #42 Gemini review" 4. Tell Claude: "Prioritize these issues" 5. Tell Claude: "Create TodoList" 6. Tell Claude: "Start working on them"
**After (Automated)**:
/gemini-review 42 # → TodoList automatically created # → Priorities set based on severity # → Ready to execute immediately
For each review comment:
**Automatically creates TodoList with user confirmation before execution**
High Priority (Must-Fix): ✓ Fix SQL injection in auth.js:45 (15 min) ✓ Remove exposed API key in config.js:12 (5 min) Medium Priority (Should-Fix): ○ Refactor UserService complexity (45 min) ○ Add error handling to payment flow (30 min) Low Priority (Nice-to-Have): ○ Update JSDoc comments (20 min) ○ Rename variable for clarity (5 min) Skipped: - Style suggestion conflicts with project standards - Already addressed in different approach
*Note: User reviews and confirms TodoList before any code modifications are made*
Ready-to-use configurations for Anthropic's Claude Code. A comprehensive collection of AI agents, custom commands, settings, hooks, external integrations (MCPs), and project templates to enhance your development workflow.
Repo: davila7/claude-code-templates
Clean system caches (npm, Homebrew, Yarn, browsers, Python/ML) to free disk space
Create an SEO-optimized blog article for a Claude Code component with AI-generated cover image