
Description
diagnose is an agent skill from the vinvcn/mattpocock-skills-zh-cn repository, listed on skills.sh. It sets a disciplined diagnosis loop for hard bugs and performance regressions. The loop is to reproduce, minimize, hypothesize, instrument, fix and add a regression test. The skill's core phase is building a feedback loop: a fast, deterministic pass or fail signal the agent can run for the bug. The skill says that once you have that signal, bisection, hypothesis testing and instrumentation all consume it, and without it, staring at code will not solve the bug. The agent should invest a lot of effort here, be proactive and creative, and not give up easily. The skill's first phase lists ways to build a feedback loop, tried roughly in order. The skill says to skip a phase only when there is a clear reason. It is triggered when the user says diagnose this or debug this. The skill is written in Chinese and is part of a Chinese translation of Matt Pocock's skills collection. The listing shows it as free, and its audits all show Pass results.…
Highlights
- Reproduce, minimize, hypothesize, instrument, fix
- Builds a deterministic pass or fail signal first
- Bisection and instrumentation on that signal
- Adds a regression test at the end
Ratings & Reviews
No ratings yet
Be the first to rate diagnose.
People also visit

systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior
diagnose FAQ
What does the diagnose skill do?
It guides an AI agent through a disciplined loop for finding and fixing hard bugs and performance regressions.
How do I install it?
Run: npx skills add https://github.com/vinvcn/mattpocock-skills-zh-cn --skill diagnose
What is the most important step?
Building a fast, repeatable pass or fail signal for the bug, according to the skill.
When is it triggered?
When you say diagnose this or debug this, for difficult bugs or performance regressions.
Can phases be skipped?
Only with a clear reason, according to the skill.
What do the security audits say?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best diagnose alternatives?
Popular alternatives to diagnose include diagnosing-bugs, debug and systematic-debugging. See all diagnose alternatives

















