SkillsReviewed · vinvcn

Diagnosing Bugs (Simplified Chinese)

Diagnosing Bugs is a Simplified Chinese skill for developers using AI coding assistants, but diagnosis depends on first building a runnable check for the reported symptom. It guides reproduction, hypothesis testing, targeted investigation, regression testing and cleanup, with a Bash template for steps that require human interaction.

Researched 16 Nov 2026

In short.

Diagnosing Bugs is a Simplified Chinese debugging skill for developers working with AI coding assistants, but it requires a runnable check of the exact failure before investigating causes. Its six phases cover building that check, reproducing and minimizing the failure, ranking hypotheses, adding targeted probes, fixing with regression coverage, and cleanup. The included Bash template collects human observations; it needs adaptation and does not determine application-level success itself. Compatibility and effectiveness have not been assessed through execution.

Researched and written by an AI model and checked by a second AI model. How it works

Covers skills/engineering/diagnosing-bugs/SKILL.md, agents/openai.yaml and scripts/hitl-loop.template.sh at commit c5c5e87cc1df26aeb7dba345ad9f846434d2b3d4, together with the repository-root LICENSE and LICENSE.zh-CN.md notices. Other repository content, upstream equivalents and assistant implementations are outside scope. No installation, commands, scripts, debugging sessions or tests were executed; compatibility, assistant compliance and practical effectiveness remain unassessed.

The overview

Identity

The resource is the diagnosing-bugs skill folder in vinvcn/mattpocock-skills-zh-CN. Its main instructions are written in Simplified Chinese with English technical terminology. The accompanying interface metadata names it Diagnosing Bugs and describes diagnosis of difficult defects and regressions.

The folder contains SKILL.md, agents/openai.yaml and scripts/hitl-loop.template.sh. The original source location is [https://github.com/vinvcn/mattpocock-skills-zh-CN/tree/main/skills/engineering/diagnosing-bugs].

Assessment

Its strongest feature is the requirement to establish a check that catches the user's exact symptom before proposing causes. That gives subsequent experiments and fixes a concrete outcome to explain. The instructions also require revisiting the original scenario after fixing a smaller reproduction.

It is a process aid rather than an automatic bug detector or repair tool. Its usefulness depends on the assistant following the instructions and having access to suitable reproduction tools. No measured improvement in debugging speed or correctness is established.

Users

The intended users are developers asking an assistant to investigate broken behavior, exceptions, failing operations, slow execution or performance regressions. Experienced developers get explicit checkpoints for experiments and regression coverage. Beginners get a structured sequence, but may need help choosing a suitable test boundary and configuring their project's tools.

It is less immediately useful when the failure environment is inaccessible. In that situation, the skill calls for obtaining reproduction access, sanitized artifacts or permission for temporary instrumentation before continuing.

Capabilities

The instructions describe reproduction through tests, HTTP requests, CLI invocations, browser automation, captured traces, temporary harnesses, fuzzing, bisection, comparisons between versions or configurations, and human-guided steps. These are suggested approaches; their underlying tools are not bundled.

For intermittent failures, it recommends increasing the reproduction rate through repetition, stress and timing adjustments. For performance regressions, it calls for baseline measurements or profiling before fixes. It also covers secret redaction, tagged debug logs, regression tests at a boundary that reproduces the actual bug, and removal of temporary investigation code.

Using it

Requirements

Agent-driven use requires an assistant that can read the instructions, inspect the relevant codebase and run the chosen reproduction commands. The project must supply any test runner, development server, browser automation, debugger or profiler needed for its particular defect. No required model, assistant version or framework version is specified.

The manual fallback requires Bash and interactive terminal input from a person. The instructions also refer to a project's GLOSSARY.md and architectural decision records when available; those project documents are not included in this folder.

Mechanism

The first phase builds a fast, repeatable check that can fail on the specific defect. The second reproduces the failure and removes unnecessary inputs or steps. The third ranks three to five hypotheses, each with a prediction that an experiment could disprove.

The fourth phase uses targeted inspection or instrumentation to distinguish those hypotheses, changing one variable at a time. The fifth turns the minimized reproduction into a regression test where an appropriate test boundary exists, applies the fix and revisits the original scenario. The sixth removes temporary artifacts and records the confirmed cause. If no suitable regression-test boundary exists, the instructions require documenting that limitation.

Setup

Obtain the folder from the captured revision at [https://github.com/vinvcn/mattpocock-skills-zh-CN/tree/c5c5e87cc1df26aeb7dba345ad9f846434d2b3d4/skills/engineering/diagnosing-bugs]. Preserve the relative paths of SKILL.md, agents/openai.yaml and scripts/hitl-loop.template.sh, and retain the repository's licence notices.

Load SKILL.md through the coding assistant's supported skill mechanism. The supplied files do not document a host-specific installation command. For the manual fallback, copy and edit the Bash template's example steps to match the actual application and symptom. Installation and execution have not been assessed.

Example

The included template asks a person to open an example application at [http://localhost:3000], sign in and click Export. It collects whether an error occurred and the error message, then prints the observations as ERRORED and ERROR_MSG values.

This illustrates structured observation capture, not an automated assertion that Export works. A developer must adapt the steps and interpret the answers against the reported symptom. No actual Export failure, diagnosis or successful repair is demonstrated.

Assessment & evidence

Limitations

The listed debugging methods are instructions, not implemented integrations. The folder does not supply a test suite, browser driver, trace replay system or profiler. The interface YAML provides a display name and description, which does not establish compatibility with a particular assistant.

The Bash fallback waits for human input and prints observations without determining application correctness. It also prints captured values without automatic redaction. Although SKILL.md requires secrets to be removed, users must enforce that themselves. Runtime behavior, assistant adherence and debugging outcomes remain unassessed.

Reasoning

The process connects a proposed cause to an observable failure: reproduce the symptom, predict what a change should do, and check the result. Minimizing the reproduction narrows the relevant inputs, while ranking several hypotheses is intended to reduce premature commitment to one explanation.

Its tradeoff is upfront effort establishing that feedback loop. When reproduction is unavailable, the process deliberately stops rather than supporting speculative diagnosis. These are design rationales expressed by the instructions, not measured evidence of better outcomes.

Alternatives

The source itself offers different ways to establish the diagnostic check. An existing unit, integration or end-to-end test can cover a reproducible defect; HTTP or CLI scripts can exercise service and command behavior; Playwright or Puppeteer can drive browser interactions. The manual Bash template is positioned as a last resort.

These tools supply parts of the process rather than replacing its diagnostic guidance. The supplied evidence does not compare this resource with other debugging skills or establish relative quality, cost or time savings.

Evidence

The substantive guidance is in SKILL.md, available at [https://raw.githubusercontent.com/vinvcn/mattpocock-skills-zh-CN/c5c5e87cc1df26aeb7dba345ad9f846434d2b3d4/skills/engineering/diagnosing-bugs/SKILL.md]. Supporting files provide interface metadata and a short interactive Bash template. The two root notices establish the supplied licensing terms.

These files support an account of the intended process and the template's visible logic. They contain no execution results, worked diagnosis, benchmark dataset or compatibility demonstration. Nothing was executed.

Access & freshness

Costs

The supplied MIT notice grants permission free of charge. It does not establish the price of any coding assistant, model API, development environment or infrastructure used with the skill.

No token usage, runtime budget or engineering-time measurement is provided. Total operating cost is unknown.

Rights

The English LICENSE identifies Matt Pocock as the 2026 copyright holder and grants MIT rights to use, copy, modify, publish, distribute, sublicense and sell copies. Copies or substantial portions must retain the copyright and permission notices. The software is supplied without warranty.

LICENSE.zh-CN.md explicitly identifies itself as an unofficial Chinese translation and states that the English LICENSE is authoritative. Redistribution should preserve the English notice; the translation does not replace it.

Freshness

The supplied snapshot was captured on 2026-11-16 at 00:08:56.099 UTC from commit c5c5e87cc1df26aeb7dba345ad9f846434d2b3d4. The findings apply to that revision.

The moving main-branch URL may change independently. A release version, subsequent changes and the current state beyond this snapshot are unknown.

Actions

Before adopting it, confirm that your assistant can load the skill and that your project offers a way to reproduce the exact symptom. Start with one bounded defect and identify the command, expected failure and observation that would demonstrate a fix.

If human steps are necessary, adapt the template and keep credentials out of its captured answers. Evaluate the process on the original failure as well as any minimized regression test, and retain the licence notice when copying or sharing the files.

Evidence for this report

LICENSEnotice · checked 2026-11-16
LICENSE.zh-CN.mdnotice · checked 2026-11-16
skills/engineering/diagnosing-bugs/SKILL.mdselected · checked 2026-11-16