[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M69ANXP7SBRDK7TK3C54V695":3,"skill-same:01M69ANXP7SBRDK7TK3C54V695":102},{"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":54,"commitSha":55,"skillDirectory":56,"forksCount":57,"repositoryHtmlUrl":58,"repositoryHomepageUrl":59,"ownerHtmlUrl":60,"ownerBlogUrl":61,"ownerDescription":62,"updatedAt":63,"install":64,"resources":77},"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 测试以验证完整的用户工作流（如环境的发现、创建和选择）。在发布前或进行重大变更后使用此技能。","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\u002Frun-e2e-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],"run e2e tests","e2e tests","run","run e2e","e2e","tests","environment discovery","workflows","changes","complete","creation","selection","releases","use","environment","user","verify","discovery","2026-11-10 10:12:30",false,"---\nname: run-e2e-tests\ndescription: Run E2E tests to verify complete user workflows like environment discovery, creation, and selection. Use this before releases or after major changes.\n---\n\nRun E2E (end-to-end) tests to verify complete user workflows work correctly.\n\n## When to Use This Skill\n\n- Before submitting a PR with significant changes\n- After modifying environment discovery, creation, or selection logic\n- Before a release to validate full workflows\n- When user reports a workflow is broken\n\n**Note:** Run smoke tests first. If smoke tests fail, E2E tests will also fail.\n\n## Quick Reference\n\n| Action            | Command                                                        |\n| ----------------- | -------------------------------------------------------------- |\n| Run all E2E tests | `npm run compile && npm run compile-tests && npm run e2e-test` |\n| Run specific test | `npm run e2e-test -- --grep \"discovers\"`                       |\n| Debug in VS Code  | Debug panel → \"E2E Tests\" → F5                                 |\n\n## How E2E Tests Work\n\nUnlike unit tests (mocked) and smoke tests (quick checks), E2E tests:\n\n1. Launch a real VS Code instance with the extension\n2. Exercise complete user workflows via the real API\n3. Verify end-to-end behavior (discovery → selection → execution)\n\nThey take longer (1-3 minutes) but catch integration issues.\n\n## Workflow\n\n### Step 1: Compile and Run\n\n```bash\nnpm run compile && npm run compile-tests && npm run e2e-test\n```\n\n### Step 2: Interpret Results\n\n**Pass:**\n\n```\n  E2E: Environment Discovery\n    ✓ Can trigger environment refresh\n    ✓ Discovers at least one environment\n    ✓ Environments have required properties\n    ✓ Can get global environments\n\n  4 passing (45s)\n```\n\n**Fail:** Check error message and see Debugging section.\n\n## Debugging Failures\n\n| Error                        | Cause                  | Fix                                         |\n| ---------------------------- | ---------------------- | ------------------------------------------- |\n| `No environments discovered` | Python not installed   | Install Python, verify it's on PATH         |\n| `Extension not found`        | Build failed           | Run `npm run compile`                       |\n| `API not available`          | Activation error       | Debug with F5, check Debug Console          |\n| `Timeout exceeded`           | Slow operation or hang | Increase timeout or check for blocking code |\n\nFor detailed debugging: Debug panel → \"E2E Tests\" → F5\n\n## Prerequisites\n\nE2E tests have system requirements:\n\n- **Python installed** - At least one Python interpreter must be discoverable\n- **Extension builds** - Run `npm run compile` before tests\n- **CI needs webpack build** - Run `npm run compile` (webpack) before tests, not just `npm run compile-tests` (tsc)\n\n## Adding New E2E Tests\n\nCreate files in `src\u002Ftest\u002Fe2e\u002F` with pattern `*.e2e.test.ts`:\n\n```typescript\nimport * as assert from 'assert';\nimport * as vscode from 'vscode';\nimport { waitForCondition } from '..\u002FtestUtils';\nimport { ENVS_EXTENSION_ID } from '..\u002Fconstants';\n\nsuite('E2E: [Workflow Name]', function () {\n    this.timeout(120_000); \u002F\u002F 2 minutes\n\n    let api: ExtensionApi;\n\n    suiteSetup(async function () {\n        const extension = vscode.extensions.getExtension(ENVS_EXTENSION_ID);\n        assert.ok(extension, 'Extension not found');\n        if (!extension.isActive) await extension.activate();\n        api = extension.exports;\n    });\n\n    test('[Test description]', async function () {\n        \u002F\u002F Use real API (flat structure, not nested!)\n        \u002F\u002F api.getEnvironments(), not api.environments.getEnvironments()\n        await waitForCondition(\n            async () => (await api.getEnvironments('all')).length > 0,\n            60_000,\n            'No environments found',\n        );\n    });\n});\n```\n\n## Test Files\n\n| File                                            | Purpose                              |\n| ----------------------------------------------- | ------------------------------------ |\n| `src\u002Ftest\u002Fe2e\u002FenvironmentDiscovery.e2e.test.ts` | Discovery workflow tests             |\n| `src\u002Ftest\u002Fe2e\u002Findex.ts`                         | Test runner entry point              |\n| `src\u002Ftest\u002FtestUtils.ts`                         | Utilities (`waitForCondition`, etc.) |\n\n## Notes\n\n- E2E tests are slower than smoke tests (expect 1-3 minutes)\n- They may create\u002Fmodify files - cleanup happens in `suiteTeardown`\n- First run downloads VS Code (~100MB, cached in `.vscode-test\u002F`)\n- For more details on E2E tests and how they compare to other test types, refer to the project's testing documentation.\n","Run E2E (end-to-end) tests to verify complete user workflows work correctly.\n\n## When to Use This Skill\n\n- Before submitting a PR with significant changes\n- After modifying environment discovery, creation, or selection logic\n- Before a release to validate full workflows\n- When user reports a workflow is broken\n\n**Note:** Run smoke tests first. If smoke tests fail, E2E tests will also fail.\n\n## Quick Reference\n\n| Action            | Command                                                        |\n| ----------------- | -------------------------------------------------------------- |\n| Run all E2E tests | `npm run compile && npm run compile-tests && npm run e2e-test` |\n| Run specific test | `npm run e2e-test -- --grep \"discovers\"`                       |\n| Debug in VS Code  | Debug panel → \"E2E Tests\" → F5                                 |\n\n## How E2E Tests Work\n\nUnlike unit tests (mocked) and smoke tests (quick checks), E2E tests:\n\n1. Launch a real VS Code instance with the extension\n2. Exercise complete user workflows via the real API\n3. Verify end-to-end behavior (discovery → selection → execution)\n\nThey take longer (1-3 minutes) but catch integration issues.\n\n## Workflow\n\n### Step 1: Compile and Run\n\n```bash\nnpm run compile && npm run compile-tests && npm run e2e-test\n```\n\n### Step 2: Interpret Results\n\n**Pass:**\n\n```\n  E2E: Environment Discovery\n    ✓ Can trigger environment refresh\n    ✓ Discovers at least one environment\n    ✓ Environments have required properties\n    ✓ Can get global environments\n\n  4 passing (45s)\n```\n\n**Fail:** Check error message and see Debugging section.\n\n## Debugging Failures\n\n| Error                        | Cause                  | Fix                                         |\n| ---------------------------- | ---------------------- | ------------------------------------------- |\n| `No environments discovered` | Python not installed   | Install Python, verify it's on PATH         |\n| `Extension not found`        | Build failed           | Run `npm run compile`                       |\n| `API not available`          | Activation error       | Debug with F5, check Debug Console          |\n| `Timeout exceeded`           | Slow operation or hang | Increase timeout or check for blocking code |\n\nFor detailed debugging: Debug panel → \"E2E Tests\" → F5\n\n## Prerequisites\n\nE2E tests have system requirements:\n\n- **Python installed** - At least one Python interpreter must be discoverable\n- **Extension builds** - Run `npm run compile` before tests\n- **CI needs webpack build** - Run `npm run compile` (webpack) before tests, not just `npm run compile-tests` (tsc)\n\n## Adding New E2E Tests\n\nCreate files in `src\u002Ftest\u002Fe2e\u002F` with pattern `*.e2e.test.ts`:\n\n```typescript\nimport * as assert from 'assert';\nimport * as vscode from 'vscode';\nimport { waitForCondition } from '..\u002FtestUtils';\nimport { ENVS_EXTENSION_ID } from '..\u002Fconstants';\n\nsuite('E2E: [Workflow Name]', function () {\n    this.timeout(120_000); \u002F\u002F 2 minutes\n\n    let api: ExtensionApi;\n\n    suiteSetup(async function () {\n        const extension = vscode.extensions.getExtension(ENVS_EXTENSION_ID);\n        assert.ok(extension, 'Extension not found');\n        if (!extension.isActive) await extension.activate();\n        api = extension.exports;\n    });\n\n    test('[Test description]', async function () {\n        \u002F\u002F Use real API (flat structure, not nested!)\n        \u002F\u002F api.getEnvironments(), not api.environments.getEnvironments()\n        await waitForCondition(\n            async () => (await api.getEnvironments('all')).length > 0,\n            60_000,\n            'No environments found',\n        );\n    });\n});\n```\n\n## Test Files\n\n| File                                            | Purpose                              |\n| ----------------------------------------------- | ------------------------------------ |\n| `src\u002Ftest\u002Fe2e\u002FenvironmentDiscovery.e2e.test.ts` | Discovery workflow tests             |\n| `src\u002Ftest\u002Fe2e\u002Findex.ts`                         | Test runner entry point              |\n| `src\u002Ftest\u002FtestUtils.ts`                         | Utilities (`waitForCondition`, etc.) |\n\n## Notes\n\n- E2E tests are slower than smoke tests (expect 1-3 minutes)\n- They may create\u002Fmodify files - cleanup happens in `suiteTeardown`\n- First run downloads VS Code (~100MB, cached in `.vscode-test\u002F`)\n- For more details on E2E tests and how they compare to other test types, refer to the project's testing documentation.\n",{"name":5,"description":7},"main","92c13e7942499b7608a22bf1cb86b881a90afc98",".github\u002Fskills\u002Frun-e2e-tests",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":65,"prompt":75,"zipAvailable":76},[66,69,72],{"tool":67,"command":68},"npx","npx skills add microsoft\u002Fvscode-python-environments --skill run-e2e-tests",{"tool":70,"command":71},"bunx","bunx skills add microsoft\u002Fvscode-python-environments --skill run-e2e-tests",{"tool":73,"command":74},"pnpm","pnpm dlx skills add microsoft\u002Fvscode-python-environments --skill run-e2e-tests","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode-python-environments\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Frun-e2e-tests\u002FSKILL.md",true,[78,84,90,94,98],{"path":79,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":82,"sourceHtmlUrl":83},"references\u002Ftroubleshooting.md","REFERENCE","参考文档",1470,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FSynapseML\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Fsynapseml-local-setup\u002Freferences\u002Ftroubleshooting.md",{"path":85,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":88,"sourceHtmlUrl":89},"scripts\u002Fcheck-live-service-tests.sh","SCRIPT","脚本",1272,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FSynapseML\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Fsynapseml-local-setup\u002Fscripts\u002Fcheck-live-service-tests.sh",{"path":91,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":92,"sourceHtmlUrl":93},"scripts\u002Fsynapseml-doctor.sh",2234,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FSynapseML\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Fsynapseml-local-setup\u002Fscripts\u002Fsynapseml-doctor.sh",{"path":95,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":96,"sourceHtmlUrl":97},"scripts\u002Fsynapseml-sbt.sh",1445,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FSynapseML\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Fsynapseml-local-setup\u002Fscripts\u002Fsynapseml-sbt.sh",{"path":99,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":100,"sourceHtmlUrl":101},"scripts\u002Fsynapseml-smoke-test.sh",973,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FSynapseML\u002Fblob\u002Fmaster\u002F.github\u002Fskills\u002Fsynapseml-local-setup\u002Fscripts\u002Fsynapseml-smoke-test.sh",[103,136,155,181,197,218],{"skillNo":104,"name":105,"nameZh":106,"description":107,"descriptionZh":108,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":109,"categories":110,"keywords":117,"publishedAt":49},"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() 的区别，以及多工作区处理。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode-python-environments\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fsettings-precedence\u002FSKILL.md",[111,114],{"categoryNo":112,"categoryName":113,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师",{"categoryNo":115,"categoryName":116,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSTR9G4A4GZ0VB2DFN9490","开发环境与工具链管理",[118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135],"settings precedence","settings","for","file","inspect","pitfalls","common pitfalls","multi","scope","false","essential","get","Rules","common","workspace","code","component","review",{"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":146,"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",[144,145],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[147,36,33,148,149,47,133,150,151,152,39,153,154,44,45],"smoke","run smoke tests","smoke tests","work","when","features","extension","basic",{"skillNo":156,"name":157,"nameZh":158,"description":159,"descriptionZh":160,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":161,"categories":162,"keywords":167,"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",[163,164],{"categoryNo":112,"categoryName":113,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":165,"categoryName":166,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BR5V701HCN066VEP7H4812","代码仓库协作管理",[168,169,170,33,171,172,173,174,175,176,36,177,133,178,179,180],"pre commit","commit","run pre commit checks","pre commit checks","type","pre-commit","auto-fix","fix","auto","unit","lint","unit tests","issues",{"skillNo":182,"name":183,"nameZh":184,"description":185,"descriptionZh":186,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":187,"categories":188,"keywords":191,"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",[189,190],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[192,193,33,194,36,195,153,44,150,47,134,196],"integration tests","run integration tests","integration","event","components",{"skillNo":198,"name":199,"nameZh":200,"description":201,"descriptionZh":202,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":203,"categories":204,"keywords":207,"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",[205,206],{"categoryNo":112,"categoryName":113,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":115,"categoryName":116,"taxonomyType":28,"taxonomyTypeDesc":29},[208,48,209,210,44,45,180,133,211,37,151,120,212,213,214,215,127,216,217],"manager","python manager discovery","python","Poetry","venv","pyenv","pipenv","name","conda","patterns",{"skillNo":219,"name":220,"nameZh":221,"description":222,"descriptionZh":223,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":224,"categories":225,"keywords":228,"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",[226,227],{"categoryNo":112,"categoryName":113,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":165,"categoryName":166,"taxonomyType":28,"taxonomyTypeDesc":29},[229,230,231,232,233,120,234,235,236,237,238,239,240,241,242,243,244,245,246,133],"generate","snapshot","generate snapshot","priorities","codebase","output","markers","technical debt","dependencies","code complexity","complexity","codebase health","technical","history","refactoring","health","git","planning"]