---
name: harness:debugging
description: Systematic debugging with harness validation and state tracking
---

<!-- Generated by harness generate-slash-commands. Do not edit. -->

<context>
Cognitive mode: diagnostic-investigator
Type: rigid
State: persistent (files: .harness/debug/)
</context>

<objective>
Systematic debugging with harness validation and state tracking

Phases:

- investigate: Entropy analysis and root cause search
- analyze: Pattern matching against codebase
- hypothesize: Form and test single hypothesis (optional)
- fix: TDD-style regression test and fix
  </objective>

<execution_context>
@agents/skills/claude-code/harness-debugging/SKILL.md
@agents/skills/claude-code/harness-debugging/skill.yaml
</execution_context>

<process>
1. Try: invoke mcp__harness__run_skill with skill: "harness-debugging"
2. If MCP unavailable: read SKILL.md and follow its workflow directly
3. Pass through any arguments provided by the user
</process>
