structured-debugging SKILL.md skillA
structured-debugging from qwenlm/qwen-code is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add qwenlm/qwen-code/structured-debugging@git:20260424.202be6ePins git:20260424.202be6e in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- qwenlm/qwen-code
- Path
.qwen/skills/structured-debugging/SKILL.md- Versions recorded
- 4
- Latest version
- git:20260424.202be6e, committed Apr 24, 2026
- First version recorded
- Apr 4, 2026
- Size
- 8,084 bytes
- Repository stars
- 29,081
- License
- Apache-2.0
Hypothesis-driven debugging methodology for hard bugs. Use this.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Structured Debugging When debugging hard issues, the natural instinct is to form a theory and immediately apply a fix. This fails more often than it works. The fix addresses the wrong cause, adds complexity, creates false confidence, and obscures the real issue. Worse, after several failed attempts you lose track of what's been tried and start guessing randomly. This methodology replaces guessing with a disciplined cycle that converges on the root cause. Each iteration narrows the search space. It's slower per attempt but dramatically faster overall because you stop wasting runs on wrong theories. ## The Cycle ### 1. Hypothesize Before touching code, write down what you think is happening and why. Be specific about the expected state at each step in the execution path. Bad: "Something is wrong with the wait loop." Good: "The leader hangs because `hasActiveTeammates()` returns true after all agents have reported completed, likely because terminal status isn't being set on the agent object after the backend process exits." For bugs you expect to take more than one round, create a side note file for the investigation in whichever location the project uses for such notes. …
Read the whole file at its exact version.
How to install
mdr add qwenlm/qwen-code/structured-debugging@sha256:def8114708dc9ebfThe line at the top of this page pins the label git:20260424.202be6e, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_wfyfcj6cqwjulcer)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 4 versions of this file, between Apr 4, 2026 and Apr 24, 2026, about one every 7 days. Its first recorded version is graded B and its latest A.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260424.202be6e latest | 2026-04-24 | 202be6e | 8,084 B | A | view · diff |
| git:20260424.e47b228 | 2026-04-24 | e47b228 | 8,086 B | A | view · diff |
| git:20260417.7e83c08 | 2026-04-17 | 7e83c08 | 8,171 B | A | view · diff |
| git:20260404.dc833d9 | 2026-04-04 | dc833d9 | 6,561 B | B | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (8084 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
qwenlm/qwen-code · 29,081 stars · license Apache-2.0 · pushed 2026-11-08 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_wfyfcj6cqwjulcer GET https://markdownregistry.com/api/v1/resolve?ref=qwenlm/qwen-code/structured-debugging GET https://markdownregistry.com/api/v1/blob/def8114708dc9ebff4c3e9a1b579d4abbc412ff8a91884987e2e48c0fae49a5e
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.