root-cause

Analyze GitHub issues to identify root causes and propose minimal code changes.

Updated May 31, 2026
One-click install
npx skills add https://github.com/zizzfizzix/agentic-engineering-framework --skill root-cause-zizzfizzix
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: root-cause
Source: https://github.com/zizzfizzix/agentic-engineering-framework/tree/main/core/ai/skills/root-cause
Command: npx skills add https://github.com/zizzfizzix/agentic-engineering-framework --skill root-cause-zizzfizzix

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a root-cause analysis for a GitHub issue, identifying the bug's location and the minimal change surface. It outputs a summary, the files that need to change, and the proposed approach to help the next agent implement the fix without re-exploring the repo.

Core Features & Use Cases

  • Read-only analysis: Offers an in-depth, yet non-intrusive examination of the issue's root cause.
  • Output guidance: Provides a structured message outlining the minimal change set and the fix approach.
  • Use Case: After confirming a real defect with the verify-in-repo step, the root-cause Skill is activated to pinpoint the bug's location and necessary changes.

Quick Start

Use the root-cause skill to analyze the root cause of GitHub issue #123.

Frequently Asked Questions about root-cause

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find the root cause of a GitHub issue in my codebase?

To find the root cause of a GitHub issue, you retrieve issue details via the GitHub API and analyze repository code using grep and git to pinpoint the bug location and determine the minimal change surface required for a fix.

Can I identify the exact files that need to change when fixing a GitHub bug?

Yes, you can identify the exact files needed to fix a GitHub bug through read-only code analysis, which outputs a structured summary, the specific files requiring modification, and the proposed fix approach.

What is the best way to analyze GitHub issues without modifying the repository?

The best way to analyze GitHub issues without modifying the repository is through a read-only examination, which uses the GitHub API for issue retrieval and git for code analysis to determine the root cause.

How does root cause analysis determine the minimal change surface for a bug fix?

Root cause analysis determines the minimal change surface by examining GitHub issue details and surrounding code, identifying the precise bug location and proposing the smallest set of changes needed to resolve the defect.

Do I need the GitHub API to pinpoint bug locations in my repository?

Yes, you need the GitHub API to retrieve initial issue information for bug location analysis. Once issue data is fetched, grep and git are utilized to search the codebase and identify the actual root cause and affected files.