[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M69B69SPZQSR8YNAZMMNERE4":3,"skill-same:01M69B69SPZQSR8YNAZMMNERE4":82},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":53,"linkOnly":54,"markdownContent":55,"markdownBody":56,"frontMatter":57,"refName":58,"commitSha":59,"skillDirectory":60,"forksCount":61,"repositoryHtmlUrl":62,"repositoryHomepageUrl":63,"ownerHtmlUrl":64,"ownerBlogUrl":65,"ownerDescription":66,"updatedAt":67,"install":68,"resources":81},"01M69B69SPZQSR8YNAZMMNERE4","backend-tests","后端单元测试编写","Use when writing unit tests under test\u002Funit-tests\u002Fbackend\u002F*.test.ts that run in Node with Mocha+Chai and no VS Code API. For pure logic: parsers, helpers, env merging. Triggers: \"backend test\", \"unit test\", \"mocha test without vscode\".","用于编写 test\u002Funit-tests\u002Fbackend\u002F*.test.ts 下的单元测试，这些测试在 Node 中运行，使用 Mocha+Chai 且不依赖 VS Code API。适用于纯逻辑：解析器、辅助函数、环境合并。触发词：\"backend test\"、\"unit test\"、\"mocha test without vscode\"。","microsoft\u002Fvscode-cmake-tools","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M69B5ZETEJ3WM91BA2ZYMTYT",1688,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode-cmake-tools\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fbackend-tests\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD5WG86P4AQ5GPSSKBFR","测试工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQJH394GT47X57A9Q8G7HX","测试与质量保障","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52],"backend tests","backend","tests","helpers","writing","when","unit test","for","mocha","unit-tests","unit","chai","triggers","use","node","parsers","api","code","run","unit tests","vscode","test","2026-11-10 10:12:30",false,"---\nname: backend-tests\ndescription: >\n  Use when writing unit tests under test\u002Funit-tests\u002Fbackend\u002F*.test.ts that run in\n  Node with Mocha+Chai and no VS Code API. For pure logic: parsers, helpers, env\n  merging. Triggers: \"backend test\", \"unit test\", \"mocha test without vscode\".\n---\n\n# Writing Backend Tests\n\nRecipe for adding backend (unit) tests that run without VS Code.\n\n## When to use backend tests\n\nUse backend tests for **pure logic** that has no VS Code UI interaction. They are the\nfastest feedback loop — no Extension Host, no display server, just Node + Mocha.\n\nGood candidates: string manipulation, path logic, parsers, encoding, variable expansion,\ndata-structure helpers, environment merging.\n\n**Not** suitable for: anything that calls `vscode.window.*`, `vscode.workspace.*` beyond\n`getConfiguration()`, or depends on an active editor.\n\n---\n\n## File location\n\n```\ntest\u002Funit-tests\u002Fbackend\u002F\u003Cname>.test.ts\n```\n\n---\n\n## Import strategy — decision tree\n\n### Module has NO transitive `vscode` dependency\n\nImport directly via the `@cmt\u002F*` path alias.\n\n```typescript\n\u002F\u002F encoding.test.ts — encodingUtils has no vscode imports\nimport { isValidUtf8 } from '@cmt\u002FencodingUtils';\n```\n\n### Module transitively imports `vscode`\n\n**Mirror** the pure function logic inline in the test file. Do **not** import the\nsource module — it will fail because `vscode` cannot be resolved at test time\n(even with the mock, deep transitive chains can break).\n\n```typescript\n\u002F\u002F expand.test.ts — expand.ts transitively depends on vscode\n\u002F\u002F Mirror of expand.substituteAll\nfunction substituteAll(input: string, subs: Map\u003Cstring, string>) {\n    let finalString = input;\n    let didReplacement = false;\n    subs.forEach((value, key) => {\n        if (value !== key) {\n            const pattern = key.replace(\u002F[.*+?^${}()|[\\]\\\\]\u002Fg, '\\\\$&');\n            const re = new RegExp(pattern, 'g');\n            finalString = finalString.replace(re, value);\n            didReplacement = true;\n        }\n    });\n    return { result: finalString, didReplacement };\n}\n```\n\nAdd a comment like `\u002F\u002F --- Mirror of \u003Cmodule>.\u003Cfunction> ---` so reviewers\ncan trace back to the source.\n\n### What `setup-vscode-mock.ts` provides\n\nThe mock is auto-loaded via Mocha's `-r` flag. It intercepts `require('vscode')` and\nreturns stubs for:\n\n- `workspace.getConfiguration()` — returns a Proxy that yields `undefined`\n- `workspace.onDidChangeConfiguration` \u002F `onDidCreateFiles` \u002F `onDidDeleteFiles` — no-ops\n- `window.createOutputChannel` \u002F `showErrorMessage` \u002F `showWarningMessage` — no-ops\n- `commands.registerCommand` \u002F `executeCommand` — no-ops\n- `Position`, `Range`, `Uri` — minimal implementations\n- `EventEmitter`, `Disposable`, `TreeItem`, `ThemeIcon` — stubs\n\nThis lets some modules with shallow `vscode` dependencies work. If your module only\ntouches `vscode.workspace.getConfiguration()`, direct import may still work. Test it —\nif it fails, fall back to the mirror pattern.\n\n---\n\n## Test framework\n\n| Aspect | Value |\n|--------|-------|\n| **Runner** | Mocha |\n| **Style** | TDD — use `suite()` \u002F `test()`, **not** `describe()` \u002F `it()` |\n| **Assertions** | Chai `expect` — `import { expect } from 'chai'` |\n| **Path aliases** | `@cmt\u002F*` → `src\u002F*`, `@test\u002F*` → `test\u002F*` |\n\n---\n\n## Skeleton — direct import pattern\n\n```typescript\nimport { expect } from 'chai';\nimport { myFunction } from '@cmt\u002FmyModule';\n\nsuite('[myFunction]', () => {\n    test('does the expected thing', () => {\n        const result = myFunction('input');\n        expect(result).to.equal('expected');\n    });\n\n    test('handles edge case', () => {\n        expect(myFunction('')).to.equal('');\n    });\n});\n```\n\n## Skeleton — mirror pattern\n\n```typescript\nimport { expect } from 'chai';\n\n\u002F**\n * Tests for pure utility functions in src\u002FsomeModule.ts.\n * Functions are mirrored here because someModule.ts transitively\n * depends on 'vscode'.\n *\u002F\n\n\u002F\u002F --- Mirror of someModule.helperFn ---\nfunction helperFn(input: string): string {\n    \u002F\u002F Copy the implementation verbatim from the source\n    return input.trim().toLowerCase();\n}\n\nsuite('[helperFn]', () => {\n    test('trims and lowercases', () => {\n        expect(helperFn('  Hello  ')).to.equal('hello');\n    });\n\n    test('empty string', () => {\n        expect(helperFn('')).to.equal('');\n    });\n});\n```\n\n---\n\n## Run command\n\n```bash\nyarn backendTests\n```\n\nFull command (for reference):\n\n```bash\nnode .\u002Fnode_modules\u002Fmocha\u002Fbin\u002F_mocha \\\n  -u tdd \\\n  --timeout 999999 \\\n  --colors \\\n  -r ts-node\u002Fregister \\\n  -r tsconfig-paths\u002Fregister \\\n  -r test\u002Funit-tests\u002Fbackend\u002Fsetup-vscode-mock.ts \\\n  .\u002Ftest\u002Funit-tests\u002Fbackend\u002F**\u002F*.test.ts\n```\n\n---\n\n## Common pitfalls\n\n| Pitfall | Fix |\n|---------|-----|\n| `Cannot find module 'vscode'` | Module has a transitive vscode dependency — use the mirror pattern |\n| `suite is not defined` | Mocha TDD interface not loaded — ensure you run via `yarn backendTests`, not `mocha` directly |\n| Import path uses relative `..\u002F..\u002F..\u002Fsrc\u002F` | Use `@cmt\u002F*` alias instead — `tsconfig-paths\u002Fregister` resolves it |\n| `describe`\u002F`it` used instead of `suite`\u002F`test` | This project uses Mocha TDD style — switch to `suite`\u002F`test` |\n| Mock returns `undefined` for a config value | `setup-vscode-mock.ts`'s `getConfiguration()` returns `undefined` for everything — if your code needs a real value, you may need to extend the mock or restructure |\n\n---\n\n*See also: [`.github\u002Fcopilot-instructions.md`](..\u002Fcopilot-instructions.md) for project-wide conventions.*\n","# Writing Backend Tests\n\nRecipe for adding backend (unit) tests that run without VS Code.\n\n## When to use backend tests\n\nUse backend tests for **pure logic** that has no VS Code UI interaction. They are the\nfastest feedback loop — no Extension Host, no display server, just Node + Mocha.\n\nGood candidates: string manipulation, path logic, parsers, encoding, variable expansion,\ndata-structure helpers, environment merging.\n\n**Not** suitable for: anything that calls `vscode.window.*`, `vscode.workspace.*` beyond\n`getConfiguration()`, or depends on an active editor.\n\n---\n\n## File location\n\n```\ntest\u002Funit-tests\u002Fbackend\u002F\u003Cname>.test.ts\n```\n\n---\n\n## Import strategy — decision tree\n\n### Module has NO transitive `vscode` dependency\n\nImport directly via the `@cmt\u002F*` path alias.\n\n```typescript\n\u002F\u002F encoding.test.ts — encodingUtils has no vscode imports\nimport { isValidUtf8 } from '@cmt\u002FencodingUtils';\n```\n\n### Module transitively imports `vscode`\n\n**Mirror** the pure function logic inline in the test file. Do **not** import the\nsource module — it will fail because `vscode` cannot be resolved at test time\n(even with the mock, deep transitive chains can break).\n\n```typescript\n\u002F\u002F expand.test.ts — expand.ts transitively depends on vscode\n\u002F\u002F Mirror of expand.substituteAll\nfunction substituteAll(input: string, subs: Map\u003Cstring, string>) {\n    let finalString = input;\n    let didReplacement = false;\n    subs.forEach((value, key) => {\n        if (value !== key) {\n            const pattern = key.replace(\u002F[.*+?^${}()|[\\]\\\\]\u002Fg, '\\\\$&');\n            const re = new RegExp(pattern, 'g');\n            finalString = finalString.replace(re, value);\n            didReplacement = true;\n        }\n    });\n    return { result: finalString, didReplacement };\n}\n```\n\nAdd a comment like `\u002F\u002F --- Mirror of \u003Cmodule>.\u003Cfunction> ---` so reviewers\ncan trace back to the source.\n\n### What `setup-vscode-mock.ts` provides\n\nThe mock is auto-loaded via Mocha's `-r` flag. It intercepts `require('vscode')` and\nreturns stubs for:\n\n- `workspace.getConfiguration()` — returns a Proxy that yields `undefined`\n- `workspace.onDidChangeConfiguration` \u002F `onDidCreateFiles` \u002F `onDidDeleteFiles` — no-ops\n- `window.createOutputChannel` \u002F `showErrorMessage` \u002F `showWarningMessage` — no-ops\n- `commands.registerCommand` \u002F `executeCommand` — no-ops\n- `Position`, `Range`, `Uri` — minimal implementations\n- `EventEmitter`, `Disposable`, `TreeItem`, `ThemeIcon` — stubs\n\nThis lets some modules with shallow `vscode` dependencies work. If your module only\ntouches `vscode.workspace.getConfiguration()`, direct import may still work. Test it —\nif it fails, fall back to the mirror pattern.\n\n---\n\n## Test framework\n\n| Aspect | Value |\n|--------|-------|\n| **Runner** | Mocha |\n| **Style** | TDD — use `suite()` \u002F `test()`, **not** `describe()` \u002F `it()` |\n| **Assertions** | Chai `expect` — `import { expect } from 'chai'` |\n| **Path aliases** | `@cmt\u002F*` → `src\u002F*`, `@test\u002F*` → `test\u002F*` |\n\n---\n\n## Skeleton — direct import pattern\n\n```typescript\nimport { expect } from 'chai';\nimport { myFunction } from '@cmt\u002FmyModule';\n\nsuite('[myFunction]', () => {\n    test('does the expected thing', () => {\n        const result = myFunction('input');\n        expect(result).to.equal('expected');\n    });\n\n    test('handles edge case', () => {\n        expect(myFunction('')).to.equal('');\n    });\n});\n```\n\n## Skeleton — mirror pattern\n\n```typescript\nimport { expect } from 'chai';\n\n\u002F**\n * Tests for pure utility functions in src\u002FsomeModule.ts.\n * Functions are mirrored here because someModule.ts transitively\n * depends on 'vscode'.\n *\u002F\n\n\u002F\u002F --- Mirror of someModule.helperFn ---\nfunction helperFn(input: string): string {\n    \u002F\u002F Copy the implementation verbatim from the source\n    return input.trim().toLowerCase();\n}\n\nsuite('[helperFn]', () => {\n    test('trims and lowercases', () => {\n        expect(helperFn('  Hello  ')).to.equal('hello');\n    });\n\n    test('empty string', () => {\n        expect(helperFn('')).to.equal('');\n    });\n});\n```\n\n---\n\n## Run command\n\n```bash\nyarn backendTests\n```\n\nFull command (for reference):\n\n```bash\nnode .\u002Fnode_modules\u002Fmocha\u002Fbin\u002F_mocha \\\n  -u tdd \\\n  --timeout 999999 \\\n  --colors \\\n  -r ts-node\u002Fregister \\\n  -r tsconfig-paths\u002Fregister \\\n  -r test\u002Funit-tests\u002Fbackend\u002Fsetup-vscode-mock.ts \\\n  .\u002Ftest\u002Funit-tests\u002Fbackend\u002F**\u002F*.test.ts\n```\n\n---\n\n## Common pitfalls\n\n| Pitfall | Fix |\n|---------|-----|\n| `Cannot find module 'vscode'` | Module has a transitive vscode dependency — use the mirror pattern |\n| `suite is not defined` | Mocha TDD interface not loaded — ensure you run via `yarn backendTests`, not `mocha` directly |\n| Import path uses relative `..\u002F..\u002F..\u002Fsrc\u002F` | Use `@cmt\u002F*` alias instead — `tsconfig-paths\u002Fregister` resolves it |\n| `describe`\u002F`it` used instead of `suite`\u002F`test` | This project uses Mocha TDD style — switch to `suite`\u002F`test` |\n| Mock returns `undefined` for a config value | `setup-vscode-mock.ts`'s `getConfiguration()` returns `undefined` for everything — if your code needs a real value, you may need to extend the mock or restructure |\n\n---\n\n*See also: [`.github\u002Fcopilot-instructions.md`](..\u002Fcopilot-instructions.md) for project-wide conventions.*\n",{"name":5,"description":7},"main","e0969b894e56d8ea5e6641d48a82e5ba3babcc38",".github\u002Fskills\u002Fbackend-tests",559,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode-cmake-tools","https:\u002F\u002Faka.ms\u002Fvscode-cmake-tools","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-11 06:52:38",{"source":9,"skillName":5,"commands":69,"prompt":79,"zipAvailable":80},[70,73,76],{"tool":71,"command":72},"npx","npx skills add microsoft\u002Fvscode-cmake-tools --skill backend-tests",{"tool":74,"command":75},"bunx","bunx skills add microsoft\u002Fvscode-cmake-tools --skill backend-tests",{"tool":77,"command":78},"pnpm","pnpm dlx skills add microsoft\u002Fvscode-cmake-tools --skill backend-tests","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode-cmake-tools\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fbackend-tests\u002FSKILL.md",true,[],[83,112,136,160,184,205],{"skillNo":84,"name":85,"nameZh":86,"description":87,"descriptionZh":88,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":89,"categories":90,"keywords":93,"publishedAt":53},"01M69B6J924HHBDH1G30RG9DT3","validation-project","PR 验证项目搭建","Creates a validation project for testing a specific vscode-cmake-tools pull request. Use this skill when asked to create a validation project, test a PR, validate a pull request, or set up a PR validation environment. The skill creates a structured project directory with documentation, metadata, and checklists for systematically validating PR changes.","为测试某个特定的 vscode-cmake-tools pull request 创建验证项目。当被要求创建验证项目、测试 PR、验证 pull request 或搭建 PR 验证环境时使用此技能。该技能会创建一个结构化的项目目录，其中包含用于系统验证 PR 变更的文档、元数据和检查清单。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode-cmake-tools\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fvalidation-project\u002FSKILL.md",[91,92],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[94,95,96,97,98,52,51,99,100,101,102,103,104,105,106,107,108,44,109,110,38,111,36],"validation project","validation","project","testing","directory","validate","documentation","pr","pull request","cmake","create","pull","SET","Tools","environment","up","with","request",{"skillNo":113,"name":114,"nameZh":115,"description":116,"descriptionZh":117,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":118,"categories":119,"keywords":126,"publishedAt":53},"01M69B6FDXF7VSNN4VH8MJ2230","presets-vs-kits","CMake Presets 与 Kits 双模式兼容","Use when writing or reviewing code that must work in both CMake Presets and Kits\u002FVariants modes. Covers configure, build, test, environment, and generator paths. Triggers: \"presets vs kits\", \"useCMakePresets\", \"works in both modes\".","在编写或审查必须同时兼容 CMake Presets 和 Kits\u002FVariants 模式的代码时使用。涵盖配置、构建、测试、环境和生成器路径。触发词：“presets vs kits”、“useCMakePresets”、“works in both modes”。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode-cmake-tools\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fpresets-vs-kits\u002FSKILL.md",[120,123],{"categoryNo":121,"categoryName":122,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师",{"categoryNo":124,"categoryName":125,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRSRXQPYT60FQ3976GDV4Q","C++ 开发",[127,35,52,103,48,128,129,108,44,130,43,131,132,133,134,135,36],"presets vs kits","configure","work","build","paths","reviewing code","generator","modes","variants",{"skillNo":137,"name":138,"nameZh":139,"description":140,"descriptionZh":141,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":142,"categories":143,"keywords":148,"publishedAt":53},"01M69B6CQT3K9X5HSCQ10ZX54T","pr-readiness","PR 贡献合规检查","Verify that a pull request into microsoft\u002Fvscode-cmake-tools meets contribution requirements. Use when preparing, reviewing, or finalizing a PR to check for a descriptive title, a meaningful description, a properly formatted CHANGELOG entry, code correctness, regression risks, adherence to existing patterns, and whether documentation updates are needed.","验证提交到 microsoft\u002Fvscode-cmake-tools 的拉取请求（PR）是否符合贡献要求。在准备、审查或定稿 PR 时使用，用于检查标题是否具有描述性、描述是否有意义、CHANGELOG 条目格式是否规范、代码正确性、回归风险、是否遵循现有模式以及是否需要更新文档。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode-cmake-tools\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fpr-readiness\u002FSKILL.md",[144,145],{"categoryNo":121,"categoryName":122,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":146,"categoryName":147,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BR5V701HCN066VEP7H4812","代码仓库协作管理",[101,149,150,10,51,100,102,103,48,151,105,152,153,44,154,155,156,157,38,158,159,36],"pr readiness","readiness","changelog","regression","check","requirements","contribution","correctness","updates","Existing","title",{"skillNo":161,"name":162,"nameZh":163,"description":164,"descriptionZh":165,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":166,"categories":167,"keywords":172,"publishedAt":53},"01M69B67VACEFYYR745B6WBF4J","add-setting","cmake 配置项添加","Use when adding a new cmake.* configuration setting. Touches package.json (contributes.configuration), package.nls.json, src\u002Fconfig.ts (interface + getter), docs\u002Fcmake-settings.md, and CHANGELOG.md. Triggers: \"add setting\", \"new setting\", \"add configuration\".","在添加新的 cmake.* 配置设置时使用。涉及 package.json（contributes.configuration）、package.nls.json、src\u002Fconfig.ts（接口 + getter）、docs\u002Fcmake-settings.md 和 CHANGELOG.md。触发词：\"add setting\"、\"new setting\"、\"add configuration\"。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode-cmake-tools\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fadd-setting\u002FSKILL.md",[168,169],{"categoryNo":121,"categoryName":122,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":170,"categoryName":171,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BT7QVANT4709358VEJK53E","代码实现",[173,174,175,176,103,151,177,178,179,180,44,181,43,182,36,183],"add setting","add","docs","config","package","src","json","settings","configuration","interface","new",{"skillNo":185,"name":186,"nameZh":187,"description":188,"descriptionZh":189,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":190,"categories":191,"keywords":194,"publishedAt":53},"01M69B64R9S01TGSH17SSHW9V6","add-diagnostic-parser","诊断解析器添加","Use when adding a compiler or tool output parser for the Problems panel. Touches src\u002Fdiagnostics\u002F\u003Cname>.ts, src\u002Fdiagnostics\u002Fbuild.ts, package.json (cmake.enabledOutputParsers), and package.nls.json. Triggers: \"add parser\", \"new diagnostic parser\", \"parse compiler output\".","在为“问题（Problems）面板”添加编译器或工具输出解析器时使用。涉及 src\u002Fdiagnostics\u002F\u003Cname>.ts、src\u002Fdiagnostics\u002Fbuild.ts、package.json（cmake.enabledOutputParsers）和 package.nls.json。触发词：\"add parser\"、\"new diagnostic parser\"、\"parse compiler output\"。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode-cmake-tools\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fadd-diagnostic-parser\u002FSKILL.md",[192,193],{"categoryNo":121,"categoryName":122,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":170,"categoryName":171,"taxonomyType":28,"taxonomyTypeDesc":29},[195,196,174,197,198,199,103,177,200,178,201,44,130,43,202,203,38,204,36,183],"add diagnostic parser","parser","add diagnostic","diagnostic","diagnostics","compiler","tool","panel","output","parse",{"skillNo":206,"name":207,"nameZh":208,"description":209,"descriptionZh":210,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":211,"categories":212,"keywords":215,"publishedAt":53},"01M69B622J8838QDVAQMQ0854Z","add-command","新增 CMake Tools 命令","Use when adding a new cmake.* command to CMake Tools. Touches package.json (contributes.commands), package.nls.json, src\u002Fextension.ts (funs array), and CHANGELOG.md. Triggers: \"add command\", \"register command\", \"new command palette entry\".","用于向 CMake Tools 添加新的 cmake.* 命令。涉及 package.json（contributes.commands）、package.nls.json、src\u002Fextension.ts（funs 数组）和 CHANGELOG.md。触发词：\"add command\"、\"register command\"、\"new command palette entry\"。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode-cmake-tools\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fadd-command\u002FSKILL.md",[213,214],{"categoryNo":121,"categoryName":122,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":170,"categoryName":171,"taxonomyType":28,"taxonomyTypeDesc":29},[216,217,174,103,218,151,177,107,178,179,44,219,43,220,221,222,223,36,183],"add command","command","command palette","commands","extension","register","palette","entry"]