code-debugging

Categorize, analyze, and fix experiment code errors with targeted repairs.

Updated Apr 23, 2026
One-click install
npx skills add https://github.com/Embers-of-the-Fire/agent-research-skills-opencode --skill code-debugging-embers-of-the-fire
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-debugging
Source: https://github.com/Embers-of-the-Fire/agent-research-skills-opencode/tree/main/.opencode/skills/code-debugging
Command: npx skills add https://github.com/Embers-of-the-Fire/agent-research-skills-opencode --skill code-debugging-embers-of-the-fire

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Debug experiment code with structured error analysis and targeted fixes. This approach helps identify whether issues are due to syntax, runtime, or logical errors, and guides evidence-based repairs.

Core Features & Use Cases

  • Error category taxonomy and severity assessment to orient debugging effort.
  • Root-cause analysis steps that pinpoint exact lines and variables causing failures.
  • Fix strategy with staged retries and minimal, verifiable edits plus reflection to prevent recurrence.
  • Real-world use cases such as model-training failures, data-pipeline errors, and flaky experiments.

Quick Start

Provide the failing code snippet and the error message to begin structured debugging.

Frequently Asked Questions about code-debugging

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

FAQPage Schema
How do I debug experiment code failures with structured error analysis?

Structured error analysis helps debug experiment code by categorizing failure types, assessing severity, and guiding evidence-based repairs to pinpoint exact lines and variables. It clarifies whether issues are syntax, runtime, or logical errors.

What is the best way to find the root cause of data pipeline errors?

The best way to find the root cause of data pipeline errors is applying root-cause analysis steps that pinpoint exact lines and variables causing failures. This targeted approach identifies failure scope and determines repair strategy.

How do I fix flaky experiment code and prevent future recurrence?

Fix flaky experiment code and prevent recurrence by applying a fix strategy with staged retries and minimal verifiable edits, followed by reflection. This structured workflow ensures targeted repairs and safeguards against future failures.

Can I use this structured debugging workflow for model-training failures?

Yes, structured debugging handles model-training failures by categorizing the error type and assessing its severity to orient debugging effort. This workflow performs root-cause analysis and applies targeted fixes for training code.

What do I need to start debugging code using this error analysis workflow?

To start debugging code using this error analysis workflow, you need to provide the failing code snippet and the corresponding error message. This input begins the structured process of categorizing, analyzing, and fixing failures.