cyfxxx/pi-tools/debugger

Claude Code and agent skill by cyfxxx/pi-tools

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

排查小程序/小游戏运行问题:console/network 日志、模拟器截图、运行时状态、wx API 诊断、清缓存。 用户提到报错日志、接口失败、截图取证、模拟器卡住时使用。

Install

npx vskill@latest install cyfxxx/pi-tools/debugger

SKILL.md

The same SKILL.md was published earlier as cyfxxx/pi-tools/debugger.

debugger

用途

采集最小证据集,归因并给出下一步。默认优先只读诊断。

工作流

  1. 读运行时(automation_runtime_info;主归属 initializer,此处只读)
  2. 按需取 console / network / 截图
  3. 归类问题 → likelyCause + recoveryPath + nextActions
  4. 怀疑模拟器僵死时再 simulator_refresh(主归属 compiler,成功≠编译通过)

意图 → 工具

意图工具
consoleget_simulator_console(command 必须是 grep,如 grep -i error;全量用 grep -n .)
networkget_simulator_network(同上)
截图simulator_screenshot(优先 waitForSelector;参数见 --help)
当前页/页栈automation_runtime_info
wx API 诊断/mockautomation_wx_api(主归属本 scene)
清缓存debug_clear_cache
刷新模拟器simulator_refresh(主归属 compiler)
bash
wechatide -c <clientName> get_simulator_console --project <project> --command "grep -i error"
wechatide -c <clientName> simulator_screenshot --project <project> --wait-for-selector .submit-btn

注意:command 不要传 "all";返回空字符串=无匹配行,≠ console 为空。

问题类型(issueClass)

runtime-exception | network-failure | preview-blocked | automation-mismatch | environment-not-ready | simulator-state-error

建议输出

summary / issueClass / symptom / evidence / likelyCause / recoveryPath / nextActions

边界

  • 不要无差别反复 simulator_refresh
  • 不要隐式改测试号、开远程调试或 quit
  • 截图统一用 simulator_screenshot

失败快表

情况处理
窗口未开 / PROJECT_*initializer;project-tool-error-guide.md
grep 结果为空说明无匹配行;可放宽 pattern 或改用 grep -n .,≠「没有日志系统」
截图失败确认窗口已开与 selector;用 simulator_screenshot 重试
清缓存后仍异常记入 evidence;移交 compiler 或说明需用户手动确认

移交

目标还需
automator复现步骤、稳定 selector、issueClass
compiler需 refresh/simulator_open_page 的路径
previewer若属预览阻断:project + 现象
结束完整诊断输出字段

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/cyfxxx/pi-tools/debugger/badge)](https://verified-skill.com/skills/cyfxxx/pi-tools/debugger)

Something wrong with this skill or its page? Tell us.