fix

Trace runtime exceptions and failing tests to their root-cause code lines.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/CuongTran69/tramthientra --skill fix-cuongtran69
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fix
Source: https://github.com/CuongTran69/tramthientra/tree/main/.augment/skills/fix
Command: npx skills add https://github.com/CuongTran69/tramthientra --skill fix-cuongtran69

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps engineers locate and fix bugs by guiding the investigation from observable symptom to the exact line of code that causes the failure, reducing time spent on guesswork and preventing superficial fixes.

Core Features & Use Cases

  • Structured Debugging Methods: Backward Reasoning, Wolf Fence (binary search), Five Whys, Rubber Duck Narration, Scientific Method, Mental Mutation, Delta Debugging, and Suspiciousness Ranking to trace causal chains to the exact line.
  • Tool Priority Chain: Use semantic codebase-retrieval first for understanding and locating code, grep second for exact pattern matches, and read third for line-by-line inspection; execute scripts only when deterministic automation is needed.
  • Use Case: Triage a regression introduced by a recent commit, identify the corrupt assignment or logic error, propose a minimal patch, and produce a verifier-friendly test plan.

Quick Start

Use the fix skill to investigate a failing test by invoking explore first, run a semantic search for the error or affected function, grep for suspect assignments or error strings, read the candidate files to find the exact offending line, and propose a targeted fix with test suggestions.

Frequently Asked Questions about fix

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

FAQPage Schema
How do I trace a runtime exception to the exact line of code causing the failure?

To trace a runtime exception to its root-cause line, apply structured debugging methods like backward reasoning and semantic codebase retrieval to locate suspect assignments, then use grep for exact pattern matching and read files for line-by-line inspection.

What is the best way to triage a regression introduced by a recent commit?

The best way to triage a regression is to use delta debugging and suspiciousness ranking to isolate the corrupt assignment or logic error, propose a minimal patch, and generate a verifier-friendly test plan to confirm the fix.

How do I find the root cause of a failing test using semantic search and grep?

Find the root cause of a failing test by running semantic codebase retrieval to locate the affected function, grep for suspect assignments or error strings, and read candidate files to identify the exact offending line.

Can I use this debugging approach for logic errors across multiple repositories?

Yes, you can use this approach for logic errors across multiple repositories where semantic codebase retrieval, grep, and targeted file reads are available to trace causal chains and deliver reliable fixes.

What structured debugging methods help identify the exact offending line in code?

Structured debugging methods include backward reasoning, wolf fence, five whys, rubber duck narration, the scientific method, mental mutation, delta debugging, and suspiciousness ranking to trace causal chains to the exact line.

When should I execute scripts instead of using semantic search for bug diagnostics?

You should execute scripts during bug diagnostics only when deterministic automation is needed, prioritizing semantic codebase retrieval first, grep for exact pattern matches second, and file reads third.