agentsclimarketplace

Debug escalation

Skill tarangdeep-goel-by/claude-harness/claude/skills/debug-escalation

Dev-focused Claude Code harness — workflow-engine skills, in-repo memory, session continuity (/recall ↔ /vault-push), local telemetry, + a ready-to-fill vault scaffold. clone + ./install.sh and go.

Install
npx -y skills add tarangdeep-goel-by/claude-harness --skill debug-escalation

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Use when encountering any bug, test failure, unexpected behavior, or error during development, before proposing or attempting fixes.

SKILL.md

3.1 KB, as published. Nobody here has run it

Debugging with Escalation

Process

Phase 1: Understand Before Fixing

Do NOT propose a fix until you have:

  1. Read the complete error message (full stack trace, exit code, line numbers)
  2. Identified the failing line and the actual vs expected values
  3. Traced backward through the call stack to find the origin of the bad value
  4. Checked recent changes (git diff) that might have caused it

If the user reports an error: Ask for specific input/output before guessing.

Phase 2: Single Hypothesis

  1. Form ONE hypothesis: "I think X happens because Y"
  2. Test with the SMALLEST possible change
  3. Verify: did it work? Check the actual output.
  4. If it didn't work, form a NEW hypothesis — do NOT layer another fix on top

Phase 3: Escalation

Track your fix attempts. After each failed attempt, note what you tried and why it failed.

After 3 failed fix attempts: STOP.

This means your mental model is wrong. Do not attempt a 4th fix. Instead:

  1. Summarize what you've tried and why each failed
  2. State what this tells you about the actual problem
  3. Ask: "This might be an architectural issue rather than a simple fix. Here's what I've found — how do you want to proceed?"

Escalation Signals from User

If the user says any of these, change your approach IMMEDIATELY:

  • "Stop guessing"
  • "That's not it"
  • "Try something different"
  • "Why does this keep happening?"
  • Any sign of frustration with repeated attempts

When you hear these: stop, summarize findings, ask for direction.

Logging (MANDATORY)

When invoked, and on escalation (3rd failure), log via Bash:

echo '{"ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","skill":"debug-escalation","project":"<project>","attempt":<1|2|3>,"escalated":<true|false>,"task":"<brief description>"}' >> ~/vault/logs/workflow.jsonl

Example Walkthrough

Error: TypeError: Cannot read properties of undefined (reading 'map') at Dashboard.tsx:42

Phase 1 (Understand):

  • Line 42: data.items.map(...)data is defined but data.items is undefined
  • Check the API response shape — the endpoint returns { results: [...] }, not { items: [...] }
  • git diff shows the API was recently changed from items to results

Phase 2 (Hypothesis):

  • Hypothesis: "The frontend still expects items but the API now returns results"
  • Smallest fix: change data.items to data.results on line 42
  • Run the app → works

If instead the fix didn't work, form a NEW hypothesis — don't add a fallback on top.

Anti-Patterns

PatternFix
Stacking fixes without verifying eachOne change at a time, verify between each
"Let me try one more thing" after 3 failuresSTOP. Escalate.
Guessing without reading the errorRead the full error message first
Changing multiple things at onceIsolate: one variable at a time
Assuming the fix worked without running itRun the command. Read the output.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.