fix-my-code

Analyze incident files to construct causal chains and identify root causes.

Updated Mar 10, 2026
One-click install
npx skills add https://github.com/tcfialho/Herald.Ai.Skills --skill fix-my-code
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fix-my-code
Source: https://github.com/tcfialho/Herald.Ai.Skills/tree/main/skills/fix-my-code
Command: npx skills add https://github.com/tcfialho/Herald.Ai.Skills --skill fix-my-code

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires yaml, json, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps developers and engineers perform structured root cause analysis and systematic debugging of software problems, reducing the time spent on investigations.

Core Features & Use Cases

  • Incident Diagnostics: Activates on errors, failures, or unexpected behaviors to guide investigation.
  • Evidence Gathering & Rule Enforcement: Reads all relevant files and validates input against incident contracts to build strong evidence.
  • Root Cause Analysis: Constructs cause-and-effect trees and scores hypotheses to identify primary issues.
  • Quick Start: Provide the error log or failure description to trigger a guided diagnostic process for your code problem.

Quick Start

Use the fix-my-code skill to analyze the latest error log in the project directory.

Frequently Asked Questions about fix-my-code

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

FAQPage Schema
How do I perform structured root cause analysis for a software failure?

Root cause analysis for a software failure requires reading incident files, gathering evidence, and decomposing causal chains to identify primary root causes. This systematic process isolates the exact origin of code failures.

What is the best way to automate debugging from an error log?

Automating debugging from an error log involves providing the failure description to trigger a guided diagnostic process. It validates input against incident contracts and constructs a cause-and-effect tree to systematically pinpoint the failure.

How does evidence gathering work during incident diagnostics?

Evidence gathering during incident diagnostics works by reading relevant files and validating them against incident contracts. This builds strong evidence to accurately construct the cause-and-effect tree for system analysis.

Can I use this system analysis approach for any code investigation?

You can use this system analysis approach for any software engineering bug investigation or troubleshooting. It activates on unexpected behaviors, errors, or failures to guide a structured investigation and reduce diagnostic time.

Do I need to format my incident files in a specific way to trigger debugging?

Incident files should be readable as YAML or JSON to enable evidence gathering. The system reads these files and validates their input against incident contracts to start the root cause analysis and decompose causal chains.