← ClaudeAtlas

debuglisted

Persistent-state phase-cycle debug — hypothesis tracking + iterative reproduction. Use when bug needs multi-session memory or is non-deterministic.
produtoramaxvision/maxvision · ★ 1 · AI & Automation · score 67
Install: claude install-skill produtoramaxvision/maxvision
# Debug Workflow Invoked by `/maxvision-debug` (`commands/upstream/debug.md`). Systematic debugging using the scientific method with subagent isolation. Orchestrates symptom gathering, session creation, and delegation to `maxvision-debug-session-manager`. <available_agent_types> Valid MaxVision subagent types (use exact names — do not fall back to 'general-purpose'): - maxvision-debug-session-manager — manages debug checkpoint/continuation loop in isolated context - maxvision-debugger — investigates bugs using scientific method </available_agent_types> <process> ## 0. Initialize Context ```bash set -euo pipefail INIT=$(maxvision-sdk query state.load) if [[ "$INIT" == @file:* ]]; then INIT=$(cat "${INIT#@file:}"); fi ``` Extract `commit_docs` from init JSON. Resolve debugger model: ```bash set -euo pipefail debugger_model=$(maxvision-sdk query resolve-model maxvision-debugger 2>/dev/null | jq -r '.model' 2>/dev/null || true) ``` Read TDD mode from config: ```bash set -euo pipefail TDD_MODE=$(maxvision-sdk query config-get workflow.tdd_mode 2>/dev/null | jq -r 'if type == "boolean" then tostring else . end' 2>/dev/null || echo "false") ``` ## 1a. LIST subcommand When SUBCMD=list: ```bash set -euo pipefail ls .maxvision/debug/*.md 2>/dev/null | grep -v resolved ``` For each file found, parse frontmatter fields (`status`, `trigger`, `updated`) and the `Current Focus` block (`hypothesis`, `next_action`). Display a formatted table: ``` Active Debug Sessions ───────────