github-researcher

โดย google-gemini

แนะนำให้เอเจนต์ทราบวิธีการอ่านและค้นหา GitHub issues เพื่อทำความเข้าใจปัญหาของ repository

npx skills add https://github.com/google-gemini/gemini-managed-agents-templates --skill github-researcher

GitHub Researcher Skill

This skill helps the agent find and understand issues in a specified GitHub repository, and gain a deep understanding of the codebase.

[!WARNING] GitHub CLI (gh) is NOT installed in this environment. Do NOT attempt to run gh commands. Always use the provided fetch_issues.py script to batch fetch open issues, and use curl with the GitHub REST API to fetch specific issue details or comments.

Workflow

1. Fetching Issues

You can fetch issues using the provided Python script (works without auth for public repos):

python skills/github-researcher/scripts/fetch_issues.py --repo <owner>/<repo> --workspace ./workspace

Output: {workspace}/data/github-issues.md

If you need to fetch specific issue details or comments, you can query the GitHub REST API directly using curl (since api.github.com is in the network allowlist):

Fetch Specific Issue Details:

curl -s -H "User-Agent: Repo-Maintainer/1.0" https://api.github.com/repos/<owner>/<repo>/issues/<issue_number>

Fetch Comments on a Specific Issue:

curl -s -H "User-Agent: Repo-Maintainer/1.0" https://api.github.com/repos/<owner>/<repo>/issues/<issue_number>/comments

3. Understanding the Repo

To answer questions like "What are my biggest issues?" or understand the project deeply:

  1. Read the README: Check the top-level README.md in the cloned repo.
  2. Scan the directory tree: Use find . -maxdepth 2 to understand the structure.
  3. Summarize issues: Read the fetched issues and identify themes, recurring complaints, or critical bugs.

Output

Produce a summary of the top issues and codebase structure to answer the user's high-level questions.

Skills เพิ่มเติมจาก google-gemini

greeter
google-gemini
ทักษะการทักทายที่เป็นมิตร
official
code-reviewer
google-gemini
การตรวจสอบโค้ดอัตโนมัติสำหรับการเปลี่ยนแปลงในเครื่องและคำขอดึงข้อมูลระยะไกล พร้อมการวิเคราะห์เชิงโครงสร้างในด้านความถูกต้อง การบำรุงรักษา และความปลอดภัย รองรับทั้งการเปลี่ยนแปลงในระบบไฟล์ท้องถิ่น (ที่จัดเตรียมและไม่ได้จัดเตรียม) และ PR ระยะไกล (ตามหมายเลขหรือ URL) พร้อมการเช็คเอาต์อัตโนมัติผ่าน GitHub CLI วิเคราะห์โค้ดในเจ็ดมิติ: ความถูกต้อง การบำรุงรักษา ความสามารถในการอ่าน ประสิทธิภาพ ความปลอดภัย การจัดการกรณีขอบ และความครอบคลุมของการทดสอบ รันชุดตรวจสอบก่อนการทำงานแบบเลือกได้ (เช่น npm run preflight) เพื่อตรวจจับ...
official
review-duplication
google-gemini
ใช้ทักษะนี้ในระหว่างการตรวจสอบโค้ดเพื่อตรวจสอบฐานโค้ดอย่างเชิงรุกหาฟังก์ชันการทำงานที่ซ้ำซ้อน การสร้างล้อขึ้นมาใหม่ หรือการไม่นำสิ่งที่มีอยู่แล้วกลับมาใช้ใหม่…
official
reconciliation
google-gemini
กระทบยอดค่าใช้จ่ายที่โหลดแล้วกับฐานข้อมูลใบแจ้งหนี้ที่แยกวิเคราะห์ไว้ล่วงหน้า โดยระบุความไม่สอดคล้อง เช่น จำนวนเงินไม่ตรงกัน ใบแจ้งหนี้ที่ขาดหายไป และชื่อผู้ค้าไม่ตรงกัน…
official
agent-tui
google-gemini
Main Agents: Do NOT use this skill directly. If you need to test the TUI, invoke the `tui_tester` subagent. Drive terminal UI (TUI) applications…
official
async-pr-review
google-gemini
เรียกใช้ทักษะนี้เมื่อผู้ใช้ต้องการเริ่มการตรวจสอบ PR แบบอะซิงโครนัส เรียกใช้การตรวจสอบพื้นหลังบน PR หรือตรวจสอบสถานะของ async PR ที่เริ่มไว้ก่อนหน้านี้…
official
ci
google-gemini
ทักษะเฉพาะสำหรับ Gemini CLI ที่ให้ประสิทธิภาพสูงและล้มเหลวเร็ว
official
critique
google-gemini
ความเชี่ยวชาญในการตรวจสอบและแก้ไขสคริปต์ในคลังข้อมูลและเวิร์กโฟลว์ของ GitHub Actions เพื่อให้มั่นใจถึงความแข็งแกร่งทางเทคนิคและความปลอดภัย
official