huangpustar/metainfer/diagnose-before-fix

Claude Code and agent skill by huangpustar/metainfer

Trust tier 3
  • community
Source check pending

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

出错后第一反应是回侦察与测量定位机制,不是改代码也不是逐字重跑。修复必须对应一个写下的根因。

Install

npx vskill@latest install huangpustar/metainfer/diagnose-before-fix

SKILL.md

修复前先诊断

何时触发:任何失败出现后的第一个动作。

规则

  • 出错后的第一反应是回到侦察与测量,定位机制后再改;失败后大面积撤回重新探索同样是浪费——聚焦修复。
  • 失败后的第一个动作不得是重发与上次完全相同的命令;重跑前至少改变一个要素(日志详细度、超时值、输入规模、诊断开关)。
  • 没有指向明确机制的证据时,禁止凭直觉改代码;修复必须对应一个写下的根因,不对应"试一下看看"。
  • 连续两次失败后,把"重跑"替换为"缩小复现"。

数据画像

  • 超时后约两成轨迹逐字重跑同一命令,仅一成做任何编辑;错误应对的高频形态是"等待/重试"而不是"分类/诊断"。

反模式信号

  • "失败→原样重跑→再失败"的循环。
  • 改动对应的是"我觉得"而不是"证据显示"。

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

Repository stars
123
Repository forks
17
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. 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/huangpustar/metainfer/diagnose-before-fix/badge)](https://verified-skill.com/skills/huangpustar/metainfer/diagnose-before-fix)

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