{
  "schemaVersion": "1.0",
  "item": {
    "slug": "debug-pro",
    "name": "Debug Pro",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/cmanfre7/debug-pro",
    "canonicalUrl": "https://clawhub.ai/cmanfre7/debug-pro",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/debug-pro",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=debug-pro",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "slug": "debug-pro",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-02T09:34:07.631Z",
      "expiresAt": "2026-05-09T09:34:07.631Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=debug-pro",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=debug-pro",
        "contentDisposition": "attachment; filename=\"debug-pro-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "debug-pro"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/debug-pro"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/debug-pro",
    "agentPageUrl": "https://openagent3.xyz/skills/debug-pro/agent",
    "manifestUrl": "https://openagent3.xyz/skills/debug-pro/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/debug-pro/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "debug-pro",
        "body": "Systematic debugging methodology and language-specific debugging commands."
      },
      {
        "title": "The 7-Step Debugging Protocol",
        "body": "Reproduce — Get it to fail consistently. Document exact steps, inputs, and environment.\nIsolate — Narrow scope. Comment out code, use binary search, check recent commits with git bisect.\nHypothesize — Form a specific, testable theory about the root cause.\nInstrument — Add targeted logging, breakpoints, or assertions.\nVerify — Confirm root cause. If hypothesis was wrong, return to step 3.\nFix — Apply the minimal correct fix. Resist the urge to refactor while debugging.\nRegression Test — Write a test that catches this bug. Verify it passes."
      },
      {
        "title": "JavaScript / TypeScript",
        "body": "# Node.js debugger\nnode --inspect-brk app.js\n# Chrome DevTools: chrome://inspect\n\n# Console debugging\nconsole.log(JSON.stringify(obj, null, 2))\nconsole.trace('Call stack here')\nconsole.time('perf'); /* code */ console.timeEnd('perf')\n\n# Memory leaks\nnode --expose-gc --max-old-space-size=4096 app.js"
      },
      {
        "title": "Python",
        "body": "# Built-in debugger\npython -m pdb script.py\n\n# Breakpoint in code\nbreakpoint()  # Python 3.7+\n\n# Verbose tracing\npython -X tracemalloc script.py\n\n# Profile\npython -m cProfile -s cumulative script.py"
      },
      {
        "title": "Swift",
        "body": "# LLDB debugging\nlldb ./MyApp\n(lldb) breakpoint set --name main\n(lldb) run\n(lldb) po myVariable\n\n# Xcode: Product → Profile (Instruments)"
      },
      {
        "title": "CSS / Layout",
        "body": "/* Outline all elements */\n* { outline: 1px solid red !important; }\n\n/* Debug specific element */\n.debug { background: rgba(255,0,0,0.1) !important; }"
      },
      {
        "title": "Network",
        "body": "# HTTP debugging\ncurl -v https://api.example.com/endpoint\ncurl -w \"@curl-format.txt\" -o /dev/null -s https://example.com\n\n# DNS\ndig example.com\nnslookup example.com\n\n# Ports\nlsof -i :3000\nnetstat -tlnp"
      },
      {
        "title": "Git Bisect",
        "body": "git bisect start\ngit bisect bad              # Current commit is broken\ngit bisect good abc1234     # Known good commit\n# Git checks out middle commit — test it, then:\ngit bisect good  # or  git bisect bad\n# Repeat until root cause commit is found\ngit bisect reset"
      },
      {
        "title": "Common Error Patterns",
        "body": "ErrorLikely CauseFixCannot read property of undefinedMissing null check or wrong data shapeAdd optional chaining (?.) or validate dataENOENTFile/directory doesn't existCheck path, create directory, use existsSyncCORS errorBackend missing CORS headersAdd CORS middleware with correct originsModule not foundMissing dependency or wrong import pathnpm install, check tsconfig pathsHydration mismatch (React)Server/client render different HTMLEnsure consistent rendering, use useEffect for client-onlySegmentation faultMemory corruption, null pointerCheck array bounds, pointer validityConnection refusedService not running on expected portCheck if service is up, verify port/hostPermission deniedFile/network permission issueCheck chmod, firewall, sudo"
      },
      {
        "title": "Quick Diagnostic Commands",
        "body": "# What's using this port?\nlsof -i :PORT\n\n# What's this process doing?\nps aux | grep PROCESS\n\n# Watch file changes\nfswatch -r ./src\n\n# Disk space\ndf -h\n\n# System resource usage\ntop -l 1 | head -10"
      }
    ],
    "body": "debug-pro\n\nSystematic debugging methodology and language-specific debugging commands.\n\nThe 7-Step Debugging Protocol\nReproduce — Get it to fail consistently. Document exact steps, inputs, and environment.\nIsolate — Narrow scope. Comment out code, use binary search, check recent commits with git bisect.\nHypothesize — Form a specific, testable theory about the root cause.\nInstrument — Add targeted logging, breakpoints, or assertions.\nVerify — Confirm root cause. If hypothesis was wrong, return to step 3.\nFix — Apply the minimal correct fix. Resist the urge to refactor while debugging.\nRegression Test — Write a test that catches this bug. Verify it passes.\nLanguage-Specific Debugging\nJavaScript / TypeScript\n# Node.js debugger\nnode --inspect-brk app.js\n# Chrome DevTools: chrome://inspect\n\n# Console debugging\nconsole.log(JSON.stringify(obj, null, 2))\nconsole.trace('Call stack here')\nconsole.time('perf'); /* code */ console.timeEnd('perf')\n\n# Memory leaks\nnode --expose-gc --max-old-space-size=4096 app.js\n\nPython\n# Built-in debugger\npython -m pdb script.py\n\n# Breakpoint in code\nbreakpoint()  # Python 3.7+\n\n# Verbose tracing\npython -X tracemalloc script.py\n\n# Profile\npython -m cProfile -s cumulative script.py\n\nSwift\n# LLDB debugging\nlldb ./MyApp\n(lldb) breakpoint set --name main\n(lldb) run\n(lldb) po myVariable\n\n# Xcode: Product → Profile (Instruments)\n\nCSS / Layout\n/* Outline all elements */\n* { outline: 1px solid red !important; }\n\n/* Debug specific element */\n.debug { background: rgba(255,0,0,0.1) !important; }\n\nNetwork\n# HTTP debugging\ncurl -v https://api.example.com/endpoint\ncurl -w \"@curl-format.txt\" -o /dev/null -s https://example.com\n\n# DNS\ndig example.com\nnslookup example.com\n\n# Ports\nlsof -i :3000\nnetstat -tlnp\n\nGit Bisect\ngit bisect start\ngit bisect bad              # Current commit is broken\ngit bisect good abc1234     # Known good commit\n# Git checks out middle commit — test it, then:\ngit bisect good  # or  git bisect bad\n# Repeat until root cause commit is found\ngit bisect reset\n\nCommon Error Patterns\nError\tLikely Cause\tFix\nCannot read property of undefined\tMissing null check or wrong data shape\tAdd optional chaining (?.) or validate data\nENOENT\tFile/directory doesn't exist\tCheck path, create directory, use existsSync\nCORS error\tBackend missing CORS headers\tAdd CORS middleware with correct origins\nModule not found\tMissing dependency or wrong import path\tnpm install, check tsconfig paths\nHydration mismatch (React)\tServer/client render different HTML\tEnsure consistent rendering, use useEffect for client-only\nSegmentation fault\tMemory corruption, null pointer\tCheck array bounds, pointer validity\nConnection refused\tService not running on expected port\tCheck if service is up, verify port/host\nPermission denied\tFile/network permission issue\tCheck chmod, firewall, sudo\nQuick Diagnostic Commands\n# What's using this port?\nlsof -i :PORT\n\n# What's this process doing?\nps aux | grep PROCESS\n\n# Watch file changes\nfswatch -r ./src\n\n# Disk space\ndf -h\n\n# System resource usage\ntop -l 1 | head -10"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/cmanfre7/debug-pro",
    "publisherUrl": "https://clawhub.ai/cmanfre7/debug-pro",
    "owner": "cmanfre7",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/debug-pro",
    "downloadUrl": "https://openagent3.xyz/downloads/debug-pro",
    "agentUrl": "https://openagent3.xyz/skills/debug-pro/agent",
    "manifestUrl": "https://openagent3.xyz/skills/debug-pro/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/debug-pro/agent.md"
  }
}