One-click install
npx skills add https://github.com/noni2she/agent-fix --skill bugfix-analyze
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bugfix-analyze
Source: https://github.com/noni2she/agent-fix/tree/main/skills/bugfix-analyze
Command: npx skills add https://github.com/noni2she/agent-fix --skill bugfix-analyze

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Helps you precisely locate the root cause of a bug (including file/line), understand the impact scope, and choose the safest repair strategy without actually implementing the fix.

Core Features & Use Cases

  • Root Cause Analysis (RCA) Report Generation: Produces a structured analysis covering root cause file/line, root cause description, impacted files, and final status routing (confirmed / need_more_info / already_fixed).
  • Browser-First Reproduction Evidence: Forces Step 0 reproduction using browser operations to collect objective signals (console errors, failed network requests, DOM issues) and compute reproduce_confidence.
  • Tactical vs Direct Fix Strategy Selection: Recommends DIRECT or TACTICAL repair approach based on shared/core component risk heuristics and project context rules.

Quick Start

Use the bugfix-analyze skill when you have an issue JSON or an issue ID to generate a root-cause and impact analysis report for an engineer.

Frequently Asked Questions about bugfix-analyze

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

FAQPage Schema
How do I find the root cause of a bug from reproduction steps?

Root cause analysis for a reported bug combines browser reproduction evidence with static code inspection to pinpoint the exact file and line. It generates a structured RCA report explaining the failure and computing a confidence score.

What is the best way to assess the impact scope of a code bug?

Assessing the impact scope of a code bug involves analyzing shared and core component risks within the project context. This identifies impacted files and recommends whether a direct or tactical repair strategy is safest.

How do I generate a bug reproduction evidence package?

Generating a bug reproduction evidence package requires strict browser operations to collect objective signals like console errors, failed network requests, and DOM issues. This computes a reproduce confidence score for the RCA report.

Can I use issue JSON for automated bug fixing and impact assessment?

Yes, standardized issue JSON containing expected and actual outcomes, reproduction steps, and module context supports automated impact assessment. The analysis outputs a structured RCA report with root cause location and fix-strategy recommendations.

When should I choose a tactical repair over a direct fix for a bug?

Choose a tactical repair over a direct fix when the bug resides in shared or core components where direct changes carry high risk. The routing logic uses project context heuristics to recommend the safest repair approach.

Why does my root cause analysis return a need_more_info status?

A root cause analysis returns a need_more_info status when browser reproduction lacks objective signals or the issue JSON provides insufficient context. The final report requires enough evidence to confidently pinpoint the file and line.