[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M69AP5C8W366N8TDNBZA2YQ4":3,"skill-same:01M69AP5C8W366N8TDNBZA2YQ4":79},{"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":49,"linkOnly":50,"markdownContent":51,"markdownBody":52,"frontMatter":53,"refName":55,"commitSha":56,"skillDirectory":57,"forksCount":58,"repositoryHtmlUrl":59,"repositoryHomepageUrl":60,"ownerHtmlUrl":61,"ownerBlogUrl":62,"ownerDescription":63,"updatedAt":64,"install":65,"resources":78},"01M69AP5C8W366N8TDNBZA2YQ4","settings-precedence","VS Code 设置优先级规则","VS Code settings precedence rules and common pitfalls. Essential for any code that reads or writes settings. Covers getConfiguration scope, inspect() vs get(), and multi-workspace handling.","VS Code 设置优先级规则及常见陷阱。适用于任何读取或写入设置的代码。涵盖 getConfiguration 作用域、inspect() 与 get() 的区别，以及多工作区处理。","microsoft\u002Fvscode-python-environments","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M69ANKH8QP6PYCYYVP4340EX",147,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode-python-environments\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fsettings-precedence\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSTR9G4A4GZ0VB2DFN9490","开发环境与工具链管理","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48],"settings precedence","settings","get","for","inspect","pitfalls","common pitfalls","multi","scope","false","essential","review","Rules","common","workspace","file","code","component","2026-11-10 10:12:30",false,"---\nname: settings-precedence\ndescription: VS Code settings precedence rules and common pitfalls. Essential for any code that reads or writes settings. Covers getConfiguration scope, inspect() vs get(), and multi-workspace handling.\nargument-hint: Review settings handling in [file or component]\nuser-invocable: false\n---\n\n# VS Code Settings Precedence\n\nSettings precedence bugs corrupt user configurations. This skill documents the correct patterns.\n\n## Precedence Order (Highest to Lowest)\n\n1. **Workspace folder value** - Per-folder in multi-root workspace\n2. **Workspace value** - `.vscode\u002Fsettings.json` or `.code-workspace`\n3. **User\u002Fglobal value** - User `settings.json`\n4. **Default value** - From extension's `package.json` (⚠️ may come from other extensions!)\n\n## Core Rules\n\n### Rule 1: Always Pass Scope to getConfiguration()\n\n```typescript\n\u002F\u002F ❌ WRONG: Missing scope\nconst config = vscode.workspace.getConfiguration('python-envs');\nconst value = config.get('pythonProjects');\n\u002F\u002F workspaceFolderValue will be UNDEFINED because VS Code doesn't know which folder!\n\n\u002F\u002F ✅ RIGHT: Pass scope (workspace folder or document URI)\nconst config = vscode.workspace.getConfiguration('python-envs', workspaceFolder);\nconst value = config.get('pythonProjects');\n```\n\n**When to pass scope:**\n\n- Reading per-resource settings (`scope: \"resource\"` in package.json)\n- Any multi-workspace scenario\n- When you need `workspaceFolderValue` from inspect()\n\n### Rule 2: Use inspect() to Check Explicit Values\n\n```typescript\n\u002F\u002F ❌ WRONG: get() returns defaultValue even from other extensions!\nconst config = vscode.workspace.getConfiguration('python');\nif (config.get('useEnvironmentsExtension')) {\n    \u002F\u002F May return true from another extension's package.json default!\n}\n\n\u002F\u002F ✅ RIGHT: Use inspect() and check explicit values only\nconst config = vscode.workspace.getConfiguration('python', scope);\nconst inspected = config.inspect('useEnvironmentsExtension');\n\nconst hasExplicitValue =\n    inspected?.globalValue !== undefined ||\n    inspected?.workspaceValue !== undefined ||\n    inspected?.workspaceFolderValue !== undefined;\n\nif (hasExplicitValue) {\n    \u002F\u002F User explicitly set this value\n    const effectiveValue = inspected?.workspaceFolderValue ?? inspected?.workspaceValue ?? inspected?.globalValue;\n}\n```\n\n### Rule 3: Don't Overwrite User's Explicit Values\n\n```typescript\n\u002F\u002F ❌ WRONG: Unconditionally writing to settings\nawait config.update('pythonPath', detectedPath, ConfigurationTarget.Workspace);\n\u002F\u002F Overwrites user's explicit choice!\n\n\u002F\u002F ✅ RIGHT: Check for existing explicit values first\nconst inspected = config.inspect('pythonPath');\nconst hasUserValue = inspected?.workspaceValue !== undefined;\n\nif (!hasUserValue) {\n    \u002F\u002F Only set if user hasn't explicitly chosen\n    await config.update('pythonPath', detectedPath, ConfigurationTarget.Workspace);\n}\n```\n\n### Rule 4: Update at the Correct Scope\n\n```typescript\n\u002F\u002F Configuration targets (least to most specific)\nConfigurationTarget.Global; \u002F\u002F User settings.json\nConfigurationTarget.Workspace; \u002F\u002F .vscode\u002Fsettings.json or .code-workspace\nConfigurationTarget.WorkspaceFolder; \u002F\u002F Per-folder in multi-root\n\n\u002F\u002F To remove a setting, update with undefined\nawait config.update('pythonPath', undefined, ConfigurationTarget.Workspace);\n```\n\n## Multi-Root Workspace Handling\n\n### The `workspace` Property\n\nFor multi-root workspaces, `pythonProjects` settings need a `workspace` property:\n\n```json\n{\n    \"python-envs.pythonProjects\": [\n        {\n            \"path\": \".\",\n            \"workspace\": \"\u002Fpath\u002Fto\u002Fworkspace-folder\",\n            \"envManager\": \"ms-python.python:venv\"\n        }\n    ]\n}\n```\n\nWithout the `workspace` property, settings get mixed up between folders.\n\n### Getting the Right Workspace Folder\n\n```typescript\n\u002F\u002F ❌ WRONG: Always using first workspace folder\nconst workspaceFolder = vscode.workspace.workspaceFolders?.[0];\n\n\u002F\u002F ✅ RIGHT: Get folder for specific document\u002Ffile\nconst workspaceFolder = vscode.workspace.getWorkspaceFolder(documentUri) ?? vscode.workspace.workspaceFolders?.[0];\n\n\u002F\u002F When you have a path but not a URI\nconst uri = vscode.Uri.file(filePath);\nconst workspaceFolder = vscode.workspace.getWorkspaceFolder(uri);\n```\n\n## Common Issues\n\n### Issue: workspaceFolderValue is undefined\n\n**Cause:** Missing scope parameter in `getConfiguration()`\n\n```typescript\n\u002F\u002F This returns undefined for workspaceFolderValue!\nconst config = vscode.workspace.getConfiguration('python-envs');\nconst inspected = config.inspect('pythonProjects');\nconsole.log(inspected?.workspaceFolderValue); \u002F\u002F undefined!\n\n\u002F\u002F Fix: Pass scope\nconst config = vscode.workspace.getConfiguration('python-envs', workspaceFolder.uri);\nconst inspected = config.inspect('pythonProjects');\nconsole.log(inspected?.workspaceFolderValue); \u002F\u002F Now works!\n```\n\n### Issue: defaultValue from other extensions\n\n**Cause:** Using `get()` instead of `inspect()` for boolean checks\n\nThe `defaultValue` in `inspect()` may come from ANY extension's `package.json`, not just yours:\n\n```typescript\n\u002F\u002F Another extension might have in their package.json:\n\u002F\u002F \"python.useEnvironmentsExtension\": { \"default\": true }\n\n\u002F\u002F Your check will be wrong:\nconfig.get('python.useEnvironmentsExtension') \u002F\u002F true from other extension!\n\n\u002F\u002F Fix: Only check explicit values\nconst inspected = config.inspect('python.useEnvironmentsExtension');\nif (inspected?.globalValue === true || ...) { }\n```\n\n### Issue: Settings overwritten on reload\n\n**Cause:** Not checking for existing values before writing\n\n```typescript\n\u002F\u002F During extension activation, this overwrites user's config!\nawait config.update('defaultEnvManager', 'venv', ConfigurationTarget.Global);\n\n\u002F\u002F Fix: Only write defaults if no value exists\nconst current = config.inspect('defaultEnvManager');\nif (current?.globalValue === undefined && current?.workspaceValue === undefined) {\n    await config.update('defaultEnvManager', 'venv', ConfigurationTarget.Global);\n}\n```\n\n### Issue: Settings mixed up in multi-root\n\n**Cause:** Not including workspace identifier in settings\n\n```typescript\n\u002F\u002F Without workspace identifier, can't tell which folder this belongs to\n{\n    \"python-envs.pythonProjects\": [\n        { \"path\": \".\", \"envManager\": \"venv\" }  \u002F\u002F Which workspace?\n    ]\n}\n\n\u002F\u002F Fix: Always include workspace when saving\nconst project = {\n    path: projectPath,\n    workspace: workspaceFolder.uri.fsPath,\n    envManager: selectedManager\n};\n```\n\n## Complete Example: Safe Settings Read\u002FWrite\n\n```typescript\nimport * as vscode from 'vscode';\n\nasync function getProjectConfig(projectUri: vscode.Uri): Promise\u003CProjectConfig | undefined> {\n    const workspaceFolder = vscode.workspace.getWorkspaceFolder(projectUri);\n    if (!workspaceFolder) {\n        return undefined;\n    }\n\n    \u002F\u002F Always pass scope!\n    const config = vscode.workspace.getConfiguration('python-envs', workspaceFolder.uri);\n\n    \u002F\u002F Use inspect() to understand where values come from\n    const inspected = config.inspect\u003CProjectConfig[]>('pythonProjects');\n\n    \u002F\u002F Prefer most specific value\n    const projects = inspected?.workspaceFolderValue ?? inspected?.workspaceValue ?? inspected?.globalValue ?? []; \u002F\u002F Don't use defaultValue!\n\n    \u002F\u002F Find project matching the URI\n    return projects.find((p) => path.resolve(workspaceFolder.uri.fsPath, p.path) === projectUri.fsPath);\n}\n\nasync function saveProjectConfig(projectUri: vscode.Uri, projectConfig: ProjectConfig): Promise\u003Cvoid> {\n    const workspaceFolder = vscode.workspace.getWorkspaceFolder(projectUri);\n    if (!workspaceFolder) {\n        return;\n    }\n\n    const config = vscode.workspace.getConfiguration('python-envs', workspaceFolder.uri);\n\n    const inspected = config.inspect\u003CProjectConfig[]>('pythonProjects');\n\n    \u002F\u002F Get existing projects (not including defaults!)\n    const existingProjects = inspected?.workspaceFolderValue ?? inspected?.workspaceValue ?? [];\n\n    \u002F\u002F Ensure workspace property for multi-root\n    const configToSave: ProjectConfig = {\n        ...projectConfig,\n        workspace: workspaceFolder.uri.fsPath,\n    };\n\n    \u002F\u002F Update or add\n    const projectIndex = existingProjects.findIndex(\n        (p) => path.resolve(workspaceFolder.uri.fsPath, p.path) === projectUri.fsPath,\n    );\n\n    const updatedProjects = [...existingProjects];\n    if (projectIndex >= 0) {\n        updatedProjects[projectIndex] = configToSave;\n    } else {\n        updatedProjects.push(configToSave);\n    }\n\n    \u002F\u002F Write to workspace folder scope in multi-root\n    const target =\n        vscode.workspace.workspaceFolders?.length > 1\n            ? vscode.ConfigurationTarget.WorkspaceFolder\n            : vscode.ConfigurationTarget.Workspace;\n\n    await config.update('pythonProjects', updatedProjects, target);\n}\n```\n","# VS Code Settings Precedence\n\nSettings precedence bugs corrupt user configurations. This skill documents the correct patterns.\n\n## Precedence Order (Highest to Lowest)\n\n1. **Workspace folder value** - Per-folder in multi-root workspace\n2. **Workspace value** - `.vscode\u002Fsettings.json` or `.code-workspace`\n3. **User\u002Fglobal value** - User `settings.json`\n4. **Default value** - From extension's `package.json` (⚠️ may come from other extensions!)\n\n## Core Rules\n\n### Rule 1: Always Pass Scope to getConfiguration()\n\n```typescript\n\u002F\u002F ❌ WRONG: Missing scope\nconst config = vscode.workspace.getConfiguration('python-envs');\nconst value = config.get('pythonProjects');\n\u002F\u002F workspaceFolderValue will be UNDEFINED because VS Code doesn't know which folder!\n\n\u002F\u002F ✅ RIGHT: Pass scope (workspace folder or document URI)\nconst config = vscode.workspace.getConfiguration('python-envs', workspaceFolder);\nconst value = config.get('pythonProjects');\n```\n\n**When to pass scope:**\n\n- Reading per-resource settings (`scope: \"resource\"` in package.json)\n- Any multi-workspace scenario\n- When you need `workspaceFolderValue` from inspect()\n\n### Rule 2: Use inspect() to Check Explicit Values\n\n```typescript\n\u002F\u002F ❌ WRONG: get() returns defaultValue even from other extensions!\nconst config = vscode.workspace.getConfiguration('python');\nif (config.get('useEnvironmentsExtension')) {\n    \u002F\u002F May return true from another extension's package.json default!\n}\n\n\u002F\u002F ✅ RIGHT: Use inspect() and check explicit values only\nconst config = vscode.workspace.getConfiguration('python', scope);\nconst inspected = config.inspect('useEnvironmentsExtension');\n\nconst hasExplicitValue =\n    inspected?.globalValue !== undefined ||\n    inspected?.workspaceValue !== undefined ||\n    inspected?.workspaceFolderValue !== undefined;\n\nif (hasExplicitValue) {\n    \u002F\u002F User explicitly set this value\n    const effectiveValue = inspected?.workspaceFolderValue ?? inspected?.workspaceValue ?? inspected?.globalValue;\n}\n```\n\n### Rule 3: Don't Overwrite User's Explicit Values\n\n```typescript\n\u002F\u002F ❌ WRONG: Unconditionally writing to settings\nawait config.update('pythonPath', detectedPath, ConfigurationTarget.Workspace);\n\u002F\u002F Overwrites user's explicit choice!\n\n\u002F\u002F ✅ RIGHT: Check for existing explicit values first\nconst inspected = config.inspect('pythonPath');\nconst hasUserValue = inspected?.workspaceValue !== undefined;\n\nif (!hasUserValue) {\n    \u002F\u002F Only set if user hasn't explicitly chosen\n    await config.update('pythonPath', detectedPath, ConfigurationTarget.Workspace);\n}\n```\n\n### Rule 4: Update at the Correct Scope\n\n```typescript\n\u002F\u002F Configuration targets (least to most specific)\nConfigurationTarget.Global; \u002F\u002F User settings.json\nConfigurationTarget.Workspace; \u002F\u002F .vscode\u002Fsettings.json or .code-workspace\nConfigurationTarget.WorkspaceFolder; \u002F\u002F Per-folder in multi-root\n\n\u002F\u002F To remove a setting, update with undefined\nawait config.update('pythonPath', undefined, ConfigurationTarget.Workspace);\n```\n\n## Multi-Root Workspace Handling\n\n### The `workspace` Property\n\nFor multi-root workspaces, `pythonProjects` settings need a `workspace` property:\n\n```json\n{\n    \"python-envs.pythonProjects\": [\n        {\n            \"path\": \".\",\n            \"workspace\": \"\u002Fpath\u002Fto\u002Fworkspace-folder\",\n            \"envManager\": \"ms-python.python:venv\"\n        }\n    ]\n}\n```\n\nWithout the `workspace` property, settings get mixed up between folders.\n\n### Getting the Right Workspace Folder\n\n```typescript\n\u002F\u002F ❌ WRONG: Always using first workspace folder\nconst workspaceFolder = vscode.workspace.workspaceFolders?.[0];\n\n\u002F\u002F ✅ RIGHT: Get folder for specific document\u002Ffile\nconst workspaceFolder = vscode.workspace.getWorkspaceFolder(documentUri) ?? vscode.workspace.workspaceFolders?.[0];\n\n\u002F\u002F When you have a path but not a URI\nconst uri = vscode.Uri.file(filePath);\nconst workspaceFolder = vscode.workspace.getWorkspaceFolder(uri);\n```\n\n## Common Issues\n\n### Issue: workspaceFolderValue is undefined\n\n**Cause:** Missing scope parameter in `getConfiguration()`\n\n```typescript\n\u002F\u002F This returns undefined for workspaceFolderValue!\nconst config = vscode.workspace.getConfiguration('python-envs');\nconst inspected = config.inspect('pythonProjects');\nconsole.log(inspected?.workspaceFolderValue); \u002F\u002F undefined!\n\n\u002F\u002F Fix: Pass scope\nconst config = vscode.workspace.getConfiguration('python-envs', workspaceFolder.uri);\nconst inspected = config.inspect('pythonProjects');\nconsole.log(inspected?.workspaceFolderValue); \u002F\u002F Now works!\n```\n\n### Issue: defaultValue from other extensions\n\n**Cause:** Using `get()` instead of `inspect()` for boolean checks\n\nThe `defaultValue` in `inspect()` may come from ANY extension's `package.json`, not just yours:\n\n```typescript\n\u002F\u002F Another extension might have in their package.json:\n\u002F\u002F \"python.useEnvironmentsExtension\": { \"default\": true }\n\n\u002F\u002F Your check will be wrong:\nconfig.get('python.useEnvironmentsExtension') \u002F\u002F true from other extension!\n\n\u002F\u002F Fix: Only check explicit values\nconst inspected = config.inspect('python.useEnvironmentsExtension');\nif (inspected?.globalValue === true || ...) { }\n```\n\n### Issue: Settings overwritten on reload\n\n**Cause:** Not checking for existing values before writing\n\n```typescript\n\u002F\u002F During extension activation, this overwrites user's config!\nawait config.update('defaultEnvManager', 'venv', ConfigurationTarget.Global);\n\n\u002F\u002F Fix: Only write defaults if no value exists\nconst current = config.inspect('defaultEnvManager');\nif (current?.globalValue === undefined && current?.workspaceValue === undefined) {\n    await config.update('defaultEnvManager', 'venv', ConfigurationTarget.Global);\n}\n```\n\n### Issue: Settings mixed up in multi-root\n\n**Cause:** Not including workspace identifier in settings\n\n```typescript\n\u002F\u002F Without workspace identifier, can't tell which folder this belongs to\n{\n    \"python-envs.pythonProjects\": [\n        { \"path\": \".\", \"envManager\": \"venv\" }  \u002F\u002F Which workspace?\n    ]\n}\n\n\u002F\u002F Fix: Always include workspace when saving\nconst project = {\n    path: projectPath,\n    workspace: workspaceFolder.uri.fsPath,\n    envManager: selectedManager\n};\n```\n\n## Complete Example: Safe Settings Read\u002FWrite\n\n```typescript\nimport * as vscode from 'vscode';\n\nasync function getProjectConfig(projectUri: vscode.Uri): Promise\u003CProjectConfig | undefined> {\n    const workspaceFolder = vscode.workspace.getWorkspaceFolder(projectUri);\n    if (!workspaceFolder) {\n        return undefined;\n    }\n\n    \u002F\u002F Always pass scope!\n    const config = vscode.workspace.getConfiguration('python-envs', workspaceFolder.uri);\n\n    \u002F\u002F Use inspect() to understand where values come from\n    const inspected = config.inspect\u003CProjectConfig[]>('pythonProjects');\n\n    \u002F\u002F Prefer most specific value\n    const projects = inspected?.workspaceFolderValue ?? inspected?.workspaceValue ?? inspected?.globalValue ?? []; \u002F\u002F Don't use defaultValue!\n\n    \u002F\u002F Find project matching the URI\n    return projects.find((p) => path.resolve(workspaceFolder.uri.fsPath, p.path) === projectUri.fsPath);\n}\n\nasync function saveProjectConfig(projectUri: vscode.Uri, projectConfig: ProjectConfig): Promise\u003Cvoid> {\n    const workspaceFolder = vscode.workspace.getWorkspaceFolder(projectUri);\n    if (!workspaceFolder) {\n        return;\n    }\n\n    const config = vscode.workspace.getConfiguration('python-envs', workspaceFolder.uri);\n\n    const inspected = config.inspect\u003CProjectConfig[]>('pythonProjects');\n\n    \u002F\u002F Get existing projects (not including defaults!)\n    const existingProjects = inspected?.workspaceFolderValue ?? inspected?.workspaceValue ?? [];\n\n    \u002F\u002F Ensure workspace property for multi-root\n    const configToSave: ProjectConfig = {\n        ...projectConfig,\n        workspace: workspaceFolder.uri.fsPath,\n    };\n\n    \u002F\u002F Update or add\n    const projectIndex = existingProjects.findIndex(\n        (p) => path.resolve(workspaceFolder.uri.fsPath, p.path) === projectUri.fsPath,\n    );\n\n    const updatedProjects = [...existingProjects];\n    if (projectIndex >= 0) {\n        updatedProjects[projectIndex] = configToSave;\n    } else {\n        updatedProjects.push(configToSave);\n    }\n\n    \u002F\u002F Write to workspace folder scope in multi-root\n    const target =\n        vscode.workspace.workspaceFolders?.length > 1\n            ? vscode.ConfigurationTarget.WorkspaceFolder\n            : vscode.ConfigurationTarget.Workspace;\n\n    await config.update('pythonProjects', updatedProjects, target);\n}\n```\n",{"name":5,"description":7,"argument-hint":54,"user-invocable":50},"Review settings handling in [file or component]","main","92c13e7942499b7608a22bf1cb86b881a90afc98",".github\u002Fskills\u002Fsettings-precedence",83,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode-python-environments","https:\u002F\u002Fmarketplace.visualstudio.com\u002Fitems?itemName=ms-python.vscode-python-envs","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-14 07:15:14",{"source":9,"skillName":5,"commands":66,"prompt":76,"zipAvailable":77},[67,70,73],{"tool":68,"command":69},"npx","npx skills add microsoft\u002Fvscode-python-environments --skill settings-precedence",{"tool":71,"command":72},"bunx","bunx skills add microsoft\u002Fvscode-python-environments --skill settings-precedence",{"tool":74,"command":75},"pnpm","pnpm dlx skills add microsoft\u002Fvscode-python-environments --skill settings-precedence","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode-python-environments\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fsettings-precedence\u002FSKILL.md",true,[],[80,109,135,151,174,195],{"skillNo":81,"name":82,"nameZh":83,"description":84,"descriptionZh":85,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":86,"categories":87,"keywords":94,"publishedAt":49},"01M69AP3CMT4CYDAZ6GQXCJN1D","run-smoke-tests","VS Code 扩展冒烟测试","Run smoke tests to verify extension functionality in a real VS Code environment. Use this when checking if basic features work after changes.","运行冒烟测试，在真实 VS Code 环境中验证扩展功能。在更改后检查基本功能是否正常工作时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode-python-environments\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Frun-smoke-tests\u002FSKILL.md",[88,91],{"categoryNo":89,"categoryName":90,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD5WG86P4AQ5GPSSKBFR","测试工程师",{"categoryNo":92,"categoryName":93,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQJH394GT47X57A9Q8G7HX","测试与质量保障",[95,96,97,98,99,100,101,102,103,104,105,106,107,108,47],"smoke tests","smoke","tests","run smoke tests","run","use","basic","extension","changes","features","when","environment","work","verify",{"skillNo":110,"name":111,"nameZh":112,"description":113,"descriptionZh":114,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":115,"categories":116,"keywords":121,"publishedAt":49},"01M69AP1H7465VYNYGZA7RSAMW","run-pre-commit-checks","代码提交前(pre-commit)检查","Run the mandatory pre-commit checks before committing code. Includes lint, type checking, and unit tests. MUST be run before every commit.","在提交代码前运行强制性的 pre-commit 检查，包括 lint（代码规范检查）、类型检查和单元测试。每次提交前都必须运行。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode-python-environments\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Frun-pre-commit-checks\u002FSKILL.md",[117,118],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":119,"categoryName":120,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BR5V701HCN066VEP7H4812","代码仓库协作管理",[122,123,99,124,125,126,127,47,128,129,130,131,132,97,133,134],"pre commit","pre commit checks","run pre commit checks","commit","unit tests","lint","issues","pre-commit","fix","auto","auto-fix","type","unit",{"skillNo":136,"name":137,"nameZh":138,"description":139,"descriptionZh":140,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":141,"categories":142,"keywords":145,"publishedAt":49},"01M69ANZK45PDMWHSTKZKZTS2V","run-integration-tests","扩展组件集成测试运行","Run integration tests to verify that extension components work together correctly. Use this after modifying component interactions or event handling.","运行集成测试以验证扩展的各个组件能否正确协同工作。在修改组件交互或事件处理后使用此技能。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode-python-environments\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Frun-integration-tests\u002FSKILL.md",[143,144],{"categoryNo":89,"categoryName":90,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":92,"categoryName":93,"taxonomyType":28,"taxonomyTypeDesc":29},[97,146,99,147,148,108,100,107,149,48,150,102],"integration","run integration tests","integration tests","event","components",{"skillNo":152,"name":153,"nameZh":154,"description":155,"descriptionZh":156,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":157,"categories":158,"keywords":161,"publishedAt":49},"01M69ANXP7SBRDK7TK3C54V695","run-e2e-tests","E2E 端到端测试运行","Run E2E tests to verify complete user workflows like environment discovery, creation, and selection. Use this before releases or after major changes.","运行 E2E 测试以验证完整的用户工作流（如环境的发现、创建和选择）。在发布前或进行重大变更后使用此技能。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode-python-environments\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Frun-e2e-tests\u002FSKILL.md",[159,160],{"categoryNo":89,"categoryName":90,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":92,"categoryName":93,"taxonomyType":28,"taxonomyTypeDesc":29},[162,163,99,164,165,97,166,103,167,168,169,170,100,106,171,108,172,173],"e2e tests","run e2e tests","run e2e","e2e","workflows","complete","creation","selection","releases","user","discovery","environment discovery",{"skillNo":175,"name":176,"nameZh":177,"description":178,"descriptionZh":179,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":180,"categories":181,"keywords":184,"publishedAt":49},"01M69ANVY2ABDQCXJBQNBV587M","python-manager-discovery","Python 环境管理器探测","Environment manager-specific discovery patterns and known issues. Use when working on or reviewing environment discovery code for conda, poetry, pipenv, pyenv, or venv.","针对特定环境管理器的探测模式及已知问题。在编写或审查 conda、poetry、pipenv、pyenv 或 venv 的环境探测代码时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode-python-environments\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fpython-manager-discovery\u002FSKILL.md",[182,183],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[185,172,186,187,100,106,128,47,188,173,105,34,189,190,191,192,40,193,194],"python manager discovery","manager","python","Poetry","venv","pyenv","pipenv","name","conda","patterns",{"skillNo":196,"name":197,"nameZh":198,"description":199,"descriptionZh":200,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":201,"categories":202,"keywords":205,"publishedAt":49},"01M69ANT39TYG676Q12DAWM182","generate-snapshot","代码库健康快照生成","Generate a codebase health snapshot for technical debt tracking and planning. Analyzes git history, code complexity, debt markers, and dependencies to identify hotspots and refactoring priorities.","生成代码库健康快照，用于技术债务追踪与规划。分析 git 历史、代码复杂度、债务标记和依赖项，以识别热点区域和重构优先级。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode-python-environments\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fgenerate-snapshot\u002FSKILL.md",[203,204],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":119,"categoryName":120,"taxonomyType":28,"taxonomyTypeDesc":29},[206,207,208,209,210,34,211,212,213,214,215,216,217,218,219,220,221,222,223,47],"generate","snapshot","generate snapshot","priorities","codebase","output","markers","technical debt","dependencies","code complexity","complexity","codebase health","technical","history","refactoring","health","git","planning"]