bug-analyst

Diagnose software bugs by analyzing error messages, stack traces, and code context.

Updated Feb 11, 2026
One-click install
npx skills add https://github.com/blahami2/event-manager --skill bug-analyst
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bug-analyst
Source: https://github.com/blahami2/event-manager/tree/main/.codex/skills/agent-bug-analyst
Command: npx skills add https://github.com/blahami2/event-manager --skill bug-analyst

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers identify and resolve bugs in their code by systematically analyzing error messages, stack traces, and relevant code snippets.

Core Features & Use Cases

  • Root Cause Analysis: Pinpoints the exact source of bugs.
  • Minimal Fix Proposals: Suggests the smallest possible code changes to resolve issues.
  • Use Case: When encountering a runtime error, provide the error message and relevant code to the bug-analyst Skill to receive a precise explanation of the bug and a suggested code fix.

Quick Start

Use the bug-analyst skill to diagnose the bug in the provided code snippet.

Frequently Asked Questions about bug-analyst

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

FAQPage Schema
How do I find the root cause of a runtime error from a stack trace?

Root cause analysis identifies the exact source of runtime errors by examining stack traces, error messages, and code context. It pinpoints the underlying defect and proposes minimal, correct code fixes to resolve the issue.

What is the best way to fix code bugs with minimal changes?

Fixing code bugs with minimal changes involves analyzing the error context and proposing the smallest possible code modifications. This approach ensures the defect is resolved correctly without introducing unnecessary alterations to the surrounding codebase.

Can I use automated testing to verify a proposed bug fix?

Automated testing is prioritized to verify proposed bug fixes. The analysis process adheres to strict rules for precision and quality, ensuring that the suggested minimal code changes are validated through comprehensive code coverage.

How does code analysis diagnose software defects in error messages?

Code analysis diagnoses software defects by systematically evaluating error messages and relevant code snippets. It processes the context of the runtime error to explain the bug accurately and suggest a precise code correction.

What do I need to provide to diagnose a bug in my code?

To diagnose a bug, you need to provide the error message and the relevant code snippet experiencing the issue. Supplying the stack trace and surrounding code context allows the analysis to identify the root cause and suggest a fix.