- name
SKILL.md
O arquivo da skill permanece no repositório do publicador.
Cole o comando copiado em um terminal. Ele instala este SKILL.md nesse agente.
npx skills add microsoft/win-dev-skills --skill windbg-diagnostic-method -a cursor -yCole o comando copiado em um terminal. Ele instala este SKILL.md nesse agente.
npx skills add microsoft/win-dev-skills --skill windbg-diagnostic-method -a claude-code -yCole o comando copiado em um terminal. Ele instala este SKILL.md nesse agente.
npx skills add microsoft/win-dev-skills --skill windbg-diagnostic-method -a codex -yCole o comando copiado em um terminal. Ele instala este SKILL.md nesse agente.
npx skills add microsoft/win-dev-skills --skill windbg-diagnostic-method -a grok -yEnvie a mensagem copiada em um chat do Grok Bot. O Bot busca este SKILL.md no GitHub e o adiciona às skills que todos os seus Bots compartilham.
Install this skill: https://github.com/microsoft/win-dev-skills/tree/HEAD/plugins/windbg/skills/windbg-diagnostic-methodDo publicador
Apply this method alongside the bug-family-specific skill selected for an investigation. Pattern matches route the investigation; they do not prove the root cause.
Prefer direct evidence in this order:
Never claim commands, source access, or artifacts that are unavailable in the session.
.exr -1, .ecxr, stack, and registers..bugcheck, !analyze -v, then documented context/trap
recovery for that code.candidate-pending-verification.These are the complete bug-family routes. Continue evidence-led reasoning for unsupported families; never dispatch to an absent skill.
Confidence is explanatory judgment, not measured probability.
candidate-pending-verification, set the
fix to null or a verification plan, and name the evidence/fix matrix needed.MODULE_NAME.Diagnosis confidence and fix confidence are separate. Every proposed fix must
declare fix_confidence and one fix_code_path_coverage value:
Lower confidence is always allowed when evidence quality, path coverage, or alternatives warrant it. Never raise confidence to fit the table.
Before finalizing a full diagnosis:
contrarian
agent once with the complete proposed diagnosis.CHALLENGED, test the counter-hypothesis with direct
evidence, then downgrade confidence or remain pending verification.Record contrarian_loopback as the Boolean true or false.
A full report contains these H2 sections in order:
The Trigger Verification section must distinguish observed, contradictory, and missing evidence plus fix validation. Mermaid must reflect verified evidence. The JSON summary must include:
diagnosis_statusrouting_pathroot_causeconfidencefix_confidencefix_code_path_coveragecontrarian_reviewcontrarian_loopbackAfter writing the report, run the bundled validator with PowerShell 7:
pwsh -NoProfile -File <skill-directory>\scripts\validate-diagnosis-output.ps1 `
-Path <diagnosis-markdown-path>
Use the installed windbg-diagnostic-method directory for
<skill-directory>. The script checks each section body independently,
requires at least two alternatives, accepts explicit or implicit Mermaid
participants, parses the JSON summary, and exits nonzero on failure.
Correct failed checks and rerun the script before presenting the report as structurally complete. Structural validation does not replace technical review.
Dumps, traces, ETLs, CABs, source, paths, tokens, and memory contents can be
sensitive. Obtain authorization before capture, configuration changes, or
sharing. Verifier and Page Heap can disrupt workloads and require a recoverable
test plan plus restoration steps. Public feedback follows FEEDBACK.md and
defaults to a minimal reviewed summary with no automatic attachments.
For feedback about this method or validator, follow the package FEEDBACK.md.
Do not attach private diagnosis files automatically.
Use with every WinDbg plugin investigation to apply evidence-first reasoning, confidence calibration, contrarian review, structured reporting, and deterministic validation. Not a bug-family-specific t
---name: windbg-diagnostic-methoddescription: Use with every WinDbg plugin investigation to apply evidence-first reasoning, confidence calibration…---# plugins/windbg/skills/windbg-diagnostic-method/SKILL.mdVisão geral
Use with every WinDbg plugin investigation to apply evidence-first reasoning, confidence calibration, contrarian review, structured reporting, and deterministic validation. Not a bug-family-specific triage skill.
Perguntas frequentes
Baixe plugins/windbg/skills/windbg-diagnostic-method/SKILL.md do publicador ou copie o caminho e abra o repositório. O PlugMCP lista a skill e não hospeda o arquivo.
O publicador o mantém em https://github.com/microsoft/win-dev-skills.
Claude, Cursor, Codex e Grok Build conseguem ler um SKILL.md que você adiciona a partir do repositório do publicador. O Grok Bot o instala quando você envia em um chat o link da pasta da skill no GitHub.