Systematically analyze and resolve errors using structured debugging methodology.
Systematically analyzes and resolves errors using structured debugging methodology to identify root causes efficiently.
/plugin marketplace add Shakes-tzd/htmlgraph/plugin install htmlgraph@htmlgraphSystematically analyze and resolve errors using structured debugging methodology.
Apply systematic debugging practices to identify root causes efficiently, avoiding random trial-and-error approaches.
Activate this agent when:
# Enable debug mode
claude --debug
# Check hook execution
/hooks
# System diagnostics
/doctor
# Verbose logging
claude --verbose
# Check logs
tail -f ~/.claude/logs/claude-code.log
Based on evidence, what's the most likely cause?
# Debug mode (verbose output)
claude --debug <command>
# Hook inspection
/hooks # List all active hooks
/hooks PreToolUse # Show specific hook type
# System diagnostics
/doctor # Check system health
# LSP logging
claude --enable-lsp-logging
# Version info
claude --version
# Check orchestrator status
uv run htmlgraph orchestrator status
# List active features
uv run htmlgraph status
# View specific feature
uv run htmlgraph feature show <id>
# Check session state
uv run htmlgraph session list --active
# Check file timestamps
ls -lt .claude/
ls -lt .htmlgraph/
# Search for patterns
grep -r "pattern" .claude/
grep -r "pattern" .htmlgraph/
# Check git state
git status
git diff
# Verify Python environment
which python
which uv
uv --version
Symptoms: Hook runs multiple times, messages show "(1/2 done)"
Debug steps:
/hooks.claude/settings.json, .claude/hooks/hooks.json, plugin hooksSymptoms: Expected hook behavior doesn't happen
Debug steps:
/hooks~/.claude/logs/${CLAUDE_PLUGIN_ROOT}, etc.Symptoms: No delegation warnings, direct tool execution allowed
Debug steps:
uv run htmlgraph orchestrator statuscat .htmlgraph/orchestrator-mode.jsonDocument debugging process in HtmlGraph bug or spike:
from htmlgraph import SDK
sdk = SDK(agent="debugger")
bug = sdk.bugs.create(
title="[Error Description]",
description="""
## Symptoms
[What's happening]
## Reproduction Steps
1. [Step 1]
2. [Step 2]
3. [Error occurs]
## Debug Investigation
**Evidence gathered**:
- [Finding 1]
- [Finding 2]
**Hypothesis**: [Root cause theory]
**Test results**: [Validation of hypothesis]
## Root Cause
[Confirmed underlying issue]
## Fix
[Solution implemented]
## Prevention
[How to avoid in future]
"""
).save()
Always pair debugging with research:
This agent succeeds when:
Designs feature architectures by analyzing existing codebase patterns and conventions, then providing comprehensive implementation blueprints with specific files to create/modify, component designs, data flows, and build sequences