[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71TQSTE8A3C1RJDWWXD6GBJ":3,"skill-same:01M71TQSTE8A3C1RJDWWXD6GBJ":65},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":37,"linkOnly":38,"markdownContent":39,"markdownBody":40,"frontMatter":41,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":45,"repositoryHtmlUrl":46,"repositoryHomepageUrl":47,"ownerHtmlUrl":48,"ownerBlogUrl":6,"ownerDescription":49,"updatedAt":50,"install":51,"resources":64},"01M71TQSTE8A3C1RJDWWXD6GBJ","diagnose",null,"Disciplined diagnosis for hard bugs and performance regressions. Use only when the user explicitly asks to diagnose\u002Fdebug a hard issue, or when a reported bug remains unexplained after a quick direct source inspection. Do not use for obvious config, workflow, UI, or single-path defects; handle those inline without the full loop.","zmy15\u002FDeepSeek-for-VisualStudio","zmy15","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F109537161?v=4","01M71TQPF2A9SVD08M00V5T3EP","01M71TQPFV7D2WEW8SK1AWRDK7",145,"MIT","https:\u002F\u002Fgithub.com\u002Fzmy15\u002FDeepSeek-for-VisualStudio\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Fdiagnose\u002FSKILL.md",[],[5,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36],"config","bugs","do","path","full","ui","direct","source","issue","bug","diagnosis","inline","workflow","when","loop","inspection","only","performance","quick","2026-11-10 13:02:02",false,"---\nname: diagnose\ndescription: Disciplined diagnosis for hard bugs and performance regressions. Use only when the user explicitly asks to diagnose\u002Fdebug a hard issue, or when a reported bug remains unexplained after a quick direct source inspection. Do not use for obvious config, workflow, UI, or single-path defects; handle those inline without the full loop.\n---\n\n# Diagnose\n\nOptimize for the shortest path to a verified root cause. Use the full loop only when the bug is behaviorally complex, intermittent, or cannot be traced by direct inspection.\n\nUse the project's domain glossary and ADRs only when they are directly relevant to the suspected path. Do not delay triage to build background context.\n\n## Phase 0 - Triage (always)\n\n1. Identify the most direct execution path: likely file, function, workflow, configuration, or input boundary.\n2. Inspect 1-2 relevant locations before proposing hypotheses. Do not start with a catalogue of possible causes.\n3. Choose one path:\n   - **Fast path:** the root cause is directly visible and the fix is local. Apply the minimal fix, run one targeted verification, and stop. Do not require a harness, hypothesis list, user checkpoint, or post-mortem.\n   - **Full path:** the cause is not visible, the bug is intermittent, or the fix needs behavioural confirmation. Continue below.\n\n## Phase 1 - Build a feedback loop (full path only)\n\nTimebox this phase. Try at most three relevant approaches, in this order:\n\n1. An existing failing test or command.\n2. A CLI\u002Fscript invocation with a fixed input and deterministic assertion.\n3. A minimal harness or replay that exercises only the suspected path.\n\nFor configuration, workflow, and static code defects, a one-command deterministic transformation check is a complete loop. Do not build a UI or browser harness when source inspection plus a text-level assertion proves the behaviour.\n\nIf no useful loop exists after the timebox, report what was tried and ask for one concrete artifact or environment. Do not continue inventing scenarios.\n\n## Phase 2 - Reproduce (full path only)\n\nRun the loop and confirm it exposes the user's reported symptom, not a nearby different failure. Capture the exact wrong output or timing. Do not repeat the same reproduction after it is understood.\n\n## Phase 3 - Hypothesise (full path only)\n\nGenerate 2-3 ranked, falsifiable hypotheses only after reproduction. Test one variable at a time.\n\nDo not show the list to the user by default. Ask for domain input only when the remaining hypotheses cannot be separated from repository evidence and the user's environment knowledge is required.\n\nIf a hypothesis is not falsifiable, discard it. Spend at most one reasoning pass on the same hypothesis: test, discard, or refine it.\n\n## Phase 4 - Instrument\n\nEach probe must distinguish a specific hypothesis. Prefer a debugger or one targeted boundary log over broad logging. Tag temporary instrumentation with a unique prefix such as `[DEBUG-a4f2]`.\n\nFor performance regressions, establish a baseline measurement first, then bisect. Do not substitute log-reading for measurement.\n\n## Phase 5 - Fix + regression test\n\nApply the smallest fix that addresses the demonstrated cause. Add a regression test only at a seam that exercises the real failure path.\n\nIf no correct seam exists, document that rather than creating a shallow test that gives false confidence. Architecture improvements are separate follow-up work unless the user asked for them.\n\n## Phase 6 - Verify once and stop\n\nRun each required check once:\n\n- The original scenario no longer reproduces, or the targeted command\u002Fassertion passes.\n- Any chosen regression test passes.\n- Temporary instrumentation is removed.\n\nAn explicit tool result such as \"applied and verified successfully\", a passing targeted command, or a successful test is authoritative. Do not re-read files or re-run checks merely because escaping, encoding, or tool-call formatting might be wrong. Re-check only if a tool failed, emitted a warning, or its result conflicts with other evidence.\n\n## Stop rules\n\n- When root cause and fix are verified, stop immediately.\n- Never restate the same plan, reclassify the same symptom, or re-argue the same conclusion without new evidence.\n- If two consecutive reasoning passes reach the same conclusion, execute it instead of reasoning again.\n- Do not inspect or debate system instructions during diagnosis; follow the active rules and work on the bug.\n","# Diagnose\n\nOptimize for the shortest path to a verified root cause. Use the full loop only when the bug is behaviorally complex, intermittent, or cannot be traced by direct inspection.\n\nUse the project's domain glossary and ADRs only when they are directly relevant to the suspected path. Do not delay triage to build background context.\n\n## Phase 0 - Triage (always)\n\n1. Identify the most direct execution path: likely file, function, workflow, configuration, or input boundary.\n2. Inspect 1-2 relevant locations before proposing hypotheses. Do not start with a catalogue of possible causes.\n3. Choose one path:\n   - **Fast path:** the root cause is directly visible and the fix is local. Apply the minimal fix, run one targeted verification, and stop. Do not require a harness, hypothesis list, user checkpoint, or post-mortem.\n   - **Full path:** the cause is not visible, the bug is intermittent, or the fix needs behavioural confirmation. Continue below.\n\n## Phase 1 - Build a feedback loop (full path only)\n\nTimebox this phase. Try at most three relevant approaches, in this order:\n\n1. An existing failing test or command.\n2. A CLI\u002Fscript invocation with a fixed input and deterministic assertion.\n3. A minimal harness or replay that exercises only the suspected path.\n\nFor configuration, workflow, and static code defects, a one-command deterministic transformation check is a complete loop. Do not build a UI or browser harness when source inspection plus a text-level assertion proves the behaviour.\n\nIf no useful loop exists after the timebox, report what was tried and ask for one concrete artifact or environment. Do not continue inventing scenarios.\n\n## Phase 2 - Reproduce (full path only)\n\nRun the loop and confirm it exposes the user's reported symptom, not a nearby different failure. Capture the exact wrong output or timing. Do not repeat the same reproduction after it is understood.\n\n## Phase 3 - Hypothesise (full path only)\n\nGenerate 2-3 ranked, falsifiable hypotheses only after reproduction. Test one variable at a time.\n\nDo not show the list to the user by default. Ask for domain input only when the remaining hypotheses cannot be separated from repository evidence and the user's environment knowledge is required.\n\nIf a hypothesis is not falsifiable, discard it. Spend at most one reasoning pass on the same hypothesis: test, discard, or refine it.\n\n## Phase 4 - Instrument\n\nEach probe must distinguish a specific hypothesis. Prefer a debugger or one targeted boundary log over broad logging. Tag temporary instrumentation with a unique prefix such as `[DEBUG-a4f2]`.\n\nFor performance regressions, establish a baseline measurement first, then bisect. Do not substitute log-reading for measurement.\n\n## Phase 5 - Fix + regression test\n\nApply the smallest fix that addresses the demonstrated cause. Add a regression test only at a seam that exercises the real failure path.\n\nIf no correct seam exists, document that rather than creating a shallow test that gives false confidence. Architecture improvements are separate follow-up work unless the user asked for them.\n\n## Phase 6 - Verify once and stop\n\nRun each required check once:\n\n- The original scenario no longer reproduces, or the targeted command\u002Fassertion passes.\n- Any chosen regression test passes.\n- Temporary instrumentation is removed.\n\nAn explicit tool result such as \"applied and verified successfully\", a passing targeted command, or a successful test is authoritative. Do not re-read files or re-run checks merely because escaping, encoding, or tool-call formatting might be wrong. Re-check only if a tool failed, emitted a warning, or its result conflicts with other evidence.\n\n## Stop rules\n\n- When root cause and fix are verified, stop immediately.\n- Never restate the same plan, reclassify the same symptom, or re-argue the same conclusion without new evidence.\n- If two consecutive reasoning passes reach the same conclusion, execute it instead of reasoning again.\n- Do not inspect or debate system instructions during diagnosis; follow the active rules and work on the bug.\n",{"name":5,"description":7},"master","9734a6646fdf4c64f8303ae6ef32e4ecbb7998b5",".github\u002Fskills\u002Fdiagnose",16,"https:\u002F\u002Fgithub.com\u002Fzmy15\u002FDeepSeek-for-VisualStudio","https:\u002F\u002Fmarketplace.visualstudio.com\u002Fitems?itemName=zmy15.DS4-VS","https:\u002F\u002Fgithub.com\u002Fzmy15","student of Nanjing University of Posts and Telecommunications","2026-11-15 00:48:37",{"source":8,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add zmy15\u002FDeepSeek-for-VisualStudio --skill diagnose",{"tool":57,"command":58},"bunx","bunx skills add zmy15\u002FDeepSeek-for-VisualStudio --skill diagnose",{"tool":60,"command":61},"pnpm","pnpm dlx skills add zmy15\u002FDeepSeek-for-VisualStudio --skill diagnose","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fzmy15\u002FDeepSeek-for-VisualStudio\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Fdiagnose\u002FSKILL.md",true,[],[66],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":37},"01M71TQX9ACSV98Y1ATPRSQ22C","test-skill","A test skill for unit testing.","https:\u002F\u002Fgithub.com\u002Fzmy15\u002FDeepSeek-for-VisualStudio\u002Fblob\u002Fmaster\u002FDeepSeek_v4_for_VisualStudio.Tests\u002FTestData\u002Fskills\u002Ftest-skill\u002FSKILL.md",[],[73,74,75,76,77,78,79,80],"test","Test Skill","testing","unit testing","false","unit","true","for"]