debug-agent

Diagnose software bugs and implement targeted code fixes with regression tests.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/SUN-Underwriting/SunFlowCRM_DB --skill debug-agent-sun-underwriting
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: debug-agent
Source: https://github.com/SUN-Underwriting/SunFlowCRM_DB/tree/main/.agent/skills/debug-agent
Command: npx skills add https://github.com/SUN-Underwriting/SunFlowCRM_DB --skill debug-agent-sun-underwriting

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill tackles bugs, errors, and performance issues by diagnosing the root cause, providing precise fixes, and ensuring stability with regression tests.

Core Features & Use Cases

  • Bug Diagnosis: Analyzes error messages, stack traces, and reproduction steps to pinpoint the exact cause of a bug.
  • Automated Fixing: Implements minimal, targeted code changes to resolve identified issues.
  • Regression Testing: Writes new tests to prevent the bug from recurring.
  • Use Case: When a user reports a critical error message in the application, this Skill can automatically investigate, fix the underlying code, and add a test to ensure it never happens again.

Quick Start

Use the debug agent to fix the reported bug in the user authentication flow.

Frequently Asked Questions about debug-agent

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

FAQPage Schema
How do I diagnose the root cause of a runtime exception from a stack trace?

Diagnosing a runtime exception from a stack trace involves analyzing error messages and reproduction steps to pinpoint the exact cause. This process identifies underlying logic errors and performance regressions across various codebases for targeted resolution.

What is the best way to fix software bugs without introducing new issues?

The best way to fix software bugs without introducing new issues is implementing minimal, targeted code changes. Ensuring stability requires writing new automated regression tests to prevent the exact bug from recurring in the codebase.

Can I use an automated debugging agent to resolve performance regressions in my codebase?

Yes, you can use an automated debugging agent to resolve performance regressions. It diagnoses the issue by reproducing it, identifies the root cause, and implements targeted code fixes to address the degradation across your codebase.

Does automated bug fixing work with my existing error handling and reproduction steps?

Automated bug fixing works with existing error handling by analyzing your provided error messages and reproduction steps. It leverages these inputs to investigate the underlying code, implement fixes, and add tests ensuring stability.

Why should I use automated regression testing after resolving logic errors?

You should use automated regression testing after resolving logic errors to ensure long-term stability. Writing new tests prevents the specific bug from recurring and validates that the targeted code fixes function correctly across the codebase.