github-researcher

Guía al agente sobre cómo leer y buscar issues de GitHub para entender los problemas del repositorio.

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.

Más skills de google-gemini

greeter
google-gemini
Una habilidad de saludo amigable
official
code-reviewer
google-gemini
Revisión automatizada de código para cambios locales y solicitudes de extracción remotas con análisis estructurado en corrección, mantenibilidad y seguridad. Admite cambios en el sistema de archivos local (preparados y no preparados) y PRs remotos (por número o URL) con verificación automática mediante GitHub CLI. Analiza el código en siete dimensiones: corrección, mantenibilidad, legibilidad, eficiencia, seguridad, manejo de casos límite y cobertura de pruebas. Ejecuta conjuntos de verificación previa opcionales (por ejemplo, npm run preflight) para detectar...
official
review-duplication
google-gemini
Usa esta habilidad durante las revisiones de código para investigar de manera proactiva el código base en busca de funcionalidades duplicadas, ruedas reinventadas o fallos en la reutilización de elementos existentes…
official
reconciliation
google-gemini
Conciliar los gastos cargados contra la base de datos de facturas preanalizadas, señalando discrepancias como diferencias de monto, facturas faltantes y desajustes de comerciante…
official
gemini-api-cli
google-gemini
Guía para usar la herramienta CLI de la API de Gemini. Úsala cuando necesites interactuar con la API de Gemini a través de la línea de comandos, gestionar agentes o generar contenido multimedia (imágenes,…
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
Activa esta habilidad cuando el usuario quiera iniciar una revisión asíncrona de PR, ejecutar verificaciones en segundo plano en un PR o consultar el estado de una revisión asíncrona de PR iniciada previamente…
official
behavioral-evals
google-gemini
Guía para crear, ejecutar, corregir y promover evaluaciones conductuales. Úsese al verificar la lógica de decisión del agente, depurar fallos, depurar indicaciones…
official