Github issue analyzer

From benmatselby/dotfiles · View interactive version

Github issue analyzer is an AI agent skill from the GitHub repository benmatselby/dotfiles. Analyzes a GitHub issue by fetching its details and exploring the relevant codebase to identify the root cause and suggest solutions. Use when given a GitHub issue URL to investigate.

How to use this skill

Skill file

GitHub Issue Analyzer

Analyze a GitHub issue to understand the problem and suggest solutions.

Instructions

1. Fetch the issue

Use the gh CLI to fetch the issue details (extract owner, repo, and number from the provided URL):

gh issue view <number> --repo <owner>/<repo> --json title,body,labels,state,comments

If the issue has comments, read through all of them as they often contain crucial debugging information, workarounds, or clarifications from the reporter.

2. Explore the codebase

Based on the issue description:

3. Provide analysis

Structure your response as follows:

Summary — A concise summary of what the reporter is experiencing.

Root Cause Analysis — Your assessment of what is likely causing the issue. List the most probable causes in order of likelihood. Reference specific code locations using the file_path:line_number format.

Relevant Code — The key files and code sections involved, with brief explanations of their role in the issue.

Suggested Solutions — Concrete, actionable suggestions to fix or work around the issue. Where possible, describe the specific code changes needed. If there are multiple approaches, list them with trade-offs.

Guidelines

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.