github-researcher

Направляет агента, как читать и искать задачи GitHub, чтобы понять проблемы репозитория.

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) с автоматическим checkout через 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 или проверить статус ранее запущенного асинхронного PR…
official
ci
google-gemini
Специализированный навык для Gemini CLI, обеспечивающий высокую производительность и быстрый отказ
official
critique
google-gemini
Экспертиза в аудите и исправлении скриптов репозитория и рабочих процессов GitHub Actions для обеспечения технической надежности и безопасности.
official