मुख्य सामग्री पर जाएँ
Skillpedia
सामान्य कोडिंग33k · #8561

gemini

यह क्या करती है

यह स्किल कोड, योजनाओं या बड़ी फ़ाइलों के सेट की समीक्षा के लिए Gemini कमांड-लाइन टूल चलाती है। यह उन डेवलपर्स के लिए है जो काम की समीक्षा के लिए दूसरा मॉडल चाहते हैं, या ऐसे इनपुट का विश्लेषण करना चाहते हैं जो सामान्य चैट के लिए बहुत बड़े हों।

कब इस्तेमाल करें

  • ✓जब कोई Gemini से कई फ़ाइलों में कोड की समीक्षा करवाना चाहे।
  • ✓जब किसी आर्किटेक्चर योजना या विनिर्देश पर दूसरी समीक्षा चाहिए।
  • ✓जब काम में 2,00,000 टोकन से ज़्यादा संदर्भ लगे, जैसे पूरा दस्तावेज़ सेट।

Skill का लिंक

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/ai-research/gemini/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/ai-research/gemini/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“Gemini से इन फ़ाइलों में हुए बदलावों की समीक्षा करवाइए और कोई जोखिम भरा लॉजिक हो तो बताइए।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

स्किल पूछती है कि कौन-सा Gemini मॉडल इस्तेमाल करना है, फिर चुनी हुई फ़ाइलों या प्रॉम्प्ट पर कमांड-लाइन टूल चलाती है। वह चेतावनी देती है कि इंटरैक्टिव मंज़ूरी के प्रॉम्प्ट बैकग्राउंड रन को अटका सकते हैं, इसलिए स्वचालित रन के लिए गैर-इंटरैक्टिव सेटिंग या टाइमआउट चाहिए।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Gemini Skill Guide

When to Use Gemini

  • WHEN ASKED TO BE ACTIVATED
  • Code Review: Comprehensive code reviews across multiple files
  • Plan Review: Analyzing architectural plans, technical specifications, or project roadmaps
  • Big Context Processing: Tasks requiring >200k tokens of context (entire codebases, documentation sets)
  • Multi-file Analysis: Understanding relationships and patterns across many files

⚠️ Critical: Background/Non-Interactive Mode Warning

NEVER use --approval-mode default in background or non-interactive shells (like Claude Code tool calls). It will hang indefinitely waiting for approval prompts that cannot be provided.

For automated/background reviews:

  • ✅ Use --approval-mode yolo for fully automated execution
  • ✅ OR wrap with timeout: timeout 300 gemini ...
  • ❌ NEVER use --approval-mode default without interactive terminal

Symptoms of hung Gemini:

  • Process running 20+ minutes with 0% CPU usage
  • No network activity
  • Process state shows 'S' (sleeping)

Fix hung process:

# Check if hung
ps aux | grep gemini | grep -v grep

# Kill if necessary
pkill -9 -f "gemini.*gemini-3-pro-preview"

Running a Task

  1. Ask the user (via AskUserQuestion) which model to use in a single prompt. Available models:

    • gemini-3-pro-preview ⭐ (flagship model, best for coding & complex reasoning, 35% better at software engineering than 2.5 Pro)
    • gemini-3-flash (sub-second latency, distilled from 3 Pro, best for speed-critical tasks)
    • gemini-2.5-pro (legacy option, strong all-around performance)
    • gemini-2.5-flash (legacy option, cost-efficient with thinking capabilities)
    • gemini-2.5-flash-lite (legacy option, fastest processing)
  2. Select the approval mode based on the task:

    • default: Prompt for approval (⚠️ ONLY for interactive terminal sessions)
    • auto_edit: Auto-approve edit tools only (for code reviews with suggestions)
    • yolo: Auto-approve all tools (✅ REQUIRED for background/automated tasks)
  3. Assemble the command with appropriate options:

    • -m, --model <MODEL> - Model selection
    • --approval-mode <default|auto_edit|yolo> - Control tool approval
    • -y, --yolo - Alternative to --approval-mode yolo
    • -i, --prompt-interactive "prompt" - Execute prompt and continue interactively
    • --include-directories <DIR> - Additional directories to include in workspace
    • -s, --sandbox - Run in sandbox mode for isolation
  4. For background/automated tasks, ALWAYS use --approval-mode yolo or add timeout wrapper. NEVER use default in non-interactive shells.

  5. Run the command and capture the output. For background/automated mode:

    # Recommended: Use yolo for background tasks
    gemini -m gemini-3-pro-preview --approval-mode yolo "Review this codebase for security issues"
    
    # Or with timeout (5 min limit)
    timeout 300 gemini -m gemini-3-pro-preview --approval-mode yolo "Review this codebase"
    
  6. For interactive sessions with an initial prompt:

    gemini -m gemini-3-pro-preview -i "Review the authentication system" --approval-mode auto_edit
    
  7. After Gemini completes, inform the user: "The Gemini analysis is complete. You can start a new Gemini session for follow-up analysis or continue exploring the findings."

Quick Reference

Use case Approval mode Key flags
Background code review yolo ✅ -m gemini-3-pro-preview --approval-mode yolo
Background analysis yolo ✅ -m gemini-3-pro-preview --approval-mode yolo
Background with timeout yolo ✅ timeout 300 gemini -m gemini-3-pro-preview --approval-mode yolo
Interactive code review default -m gemini-3-pro-preview --approval-mode default (interactive terminal only)
Code review with auto-edits auto_edit -m gemini-3-pro-preview --approval-mode auto_edit
Automated refactoring yolo -m gemini-3-pro-preview --approval-mode yolo
Speed-critical background yolo ✅ -m gemini-3-flash --approval-mode yolo
Cost-optimized background yolo ✅ -m gemini-2.5-flash --approval-mode yolo
Multi-directory analysis yolo (if background) --include-directories <DIR1> --include-directories <DIR2>
Interactive with prompt auto_edit or default -i "prompt" --approval-mode <mode>

Model Selection Guide

| Model | Best for | Context window | Key features | | --- | --- | ---

अक्सर पूछे जाने वाले सवाल

रन क्यों अटक सकता है?

स्किल चेतावनी देती है कि डिफ़ॉल्ट मंज़ूरी मोड इनपुट का इंतज़ार करता है, इसलिए टाइमआउट या auto-approve सेटिंग के बिना बैकग्राउंड रन रुक सकते हैं।

बड़े context का क्या उपयोग है?

यह पूरी कोडबेस या कई दस्तावेज़ों जैसे बहुत बड़े इनपुट के विश्लेषण के लिए है।

क्या इसके लिए Gemini CLI इंस्टॉल होना चाहिए?

हाँ। स्किल Gemini कमांड-लाइन टूल चलाती है, जिसे पहले सेट करना होगा।

जानकारी

लेखक का मूल विवरण

Use when the user asks to run Gemini CLI for code review, plan review, or big context (>200k) processing. Ideal for comprehensive analysis requiring large context windows. Uses Gemini 3 Pro by default for state-of-the-art reasoning and coding.

repo: davila7/claude-code-templates

लोकप्रियता

GitHub स्टार
33k
रैंकिंग में स्थान
#8561
लाइसेंस
MIT
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

owasp-security

33k

आपके एजेंट को वेब ऐप, API, मोबाइल, कंटेनर और AI एजेंट्स के लिए OWASP सुरक्षा मार्गदर्शन सिखाती है, ताकि वह आम कमज़ोरियाँ पहचान सके और सुधार सुझा सके।

कोडिंगसिक्योरिटी

agent-management

33k

आपके एजेंट को AI Maestro कमांड-लाइन से AI एजेंट बनाने, सूची देखने, hibernate और wake करने, नाम बदलने और हटाने देती है, हर एजेंट के जीवन-चक्र को संभालते हुए।

AI और एजेंटएजेंट

agent-messaging

33k

Agent Messaging Protocol का उपयोग करके AI एजेंट्स के बीच हस्ताक्षरित संदेश भेजने, प्राप्त करने और उनका जवाब देने देती है, ज़्यादातर आपकी अपनी मशीन पर।

AI और एजेंटएजेंट

docs-search

33k

आपके एजेंट को फ़ंक्शन सिग्नेचर, क्लास परिभाषा और कमेंट के लिए ऑटो-जनरेटेड कोड डॉक्यूमेंटेशन खोजने देती है, ताकि कोड बदलने से पहले वह असली API जाँच सके।

कोडिंगसामान्य कोडिंग

मिलती-जुलती skills