[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M69ANT39TYG676Q12DAWM182":3,"skill-same:01M69ANT39TYG676Q12DAWM182":81},{"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":51,"linkOnly":52,"markdownContent":53,"markdownBody":54,"frontMatter":55,"refName":57,"commitSha":58,"skillDirectory":59,"forksCount":60,"repositoryHtmlUrl":61,"repositoryHomepageUrl":62,"ownerHtmlUrl":63,"ownerBlogUrl":64,"ownerDescription":65,"updatedAt":66,"install":67,"resources":80},"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 历史、代码复杂度、债务标记和依赖项，以识别热点区域和重构优先级。","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\u002Fgenerate-snapshot\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BR5V701HCN066VEP7H4812","代码仓库协作管理","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50],"generate","generate snapshot","snapshot","codebase","for","output","markers","technical debt","dependencies","priorities","code complexity","complexity","codebase health","technical","history","refactoring","health","git","planning","code","2026-11-10 10:12:30",false,"---\nname: generate-snapshot\ndescription: 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.\nargument-hint: '--output path --pretty'\n---\n\n# Generate Codebase Snapshot\n\nThis skill generates a comprehensive code health snapshot using the analysis modules in `analysis\u002F`.\n\n## When to Use\n\n- During planning phase to identify work items\n- To find refactoring hotspots (high churn + high complexity)\n- To track technical debt over time\n- Before major releases to assess code health\n- To identify knowledge silos (bus factor risks)\n\n## How to Generate\n\n```powershell\n# From repository root\npython -m analysis.snapshot --output analysis-snapshot.json\n```\n\nAdd `--pretty` flag to also print the JSON to stdout.\n\n**Note:** The snapshot is written to the repository root (`analysis-snapshot.json`). This path is ignored by `.gitignore`.\n\n## Snapshot Structure\n\nThe snapshot contains these sections:\n\n### `summary` - High-level metrics dashboard\n\n- `files_with_changes`: Number of files with git changes\n- `total_churn`: Total lines added + deleted\n- `high_complexity_files`: Count of files with high complexity\n- `todo_count`, `fixme_count`: Debt marker counts\n- `circular_dependency_count`: Architectural issues\n- `single_author_file_ratio`: Bus factor indicator\n\n### `priority_hotspots` - Top 20 refactoring candidates\n\nFiles sorted by `priority_score = change_count × max_complexity`\n\n```json\n{\n    \"path\": \"src\u002Ffeatures\u002Fterminal\u002FterminalManager.ts\",\n    \"change_count\": 45,\n    \"churn\": 1200,\n    \"max_complexity\": 18,\n    \"priority_score\": 810\n}\n```\n\nHigh priority_score = frequently changed AND complex = prime refactoring target.\n\n### `git_analysis` - Change patterns\n\n- `hotspots`: Most frequently changed files\n- `temporal_coupling`: Files that change together (hidden dependencies)\n- `bus_factor`: Knowledge concentration risks\n\n### `complexity` - Code complexity metrics\n\n- `by_language.typescript`: TypeScript file metrics (max_complexity, avg_complexity, function_count)\n- `high_complexity_functions`: Functions with cyclomatic complexity > 10\n\n### `debt_indicators` - Technical debt markers\n\n- `debt_markers.by_type`: TODO, FIXME, HACK comments by type\n- `large_files`: Files exceeding 500 lines of code\n- `long_functions`: Functions exceeding 50 lines\n\n### `dependencies` - Module coupling analysis\n\n- `circular_dependencies`: Cycles in import graph\n- `highly_coupled_modules`: Modules with fan-out > 10\n- `hub_modules`: Modules with fan-in > 10\n- `layer_violations`: Lower layers importing from higher layers\n\n## Interpreting Results\n\n### Priority Hotspots\n\n1. Sort by `priority_score` descending\n2. Top items = files that change often AND are complex\n3. These are prime candidates for:\n    - Breaking into smaller modules\n    - Adding tests before changes\n    - Simplifying complex functions\n\n### Temporal Coupling\n\nFiles with `coupling_ratio > 0.8` changing together indicate:\n\n- Hidden dependencies not visible in imports\n- Copy-paste code that should be shared\n- Features spread across unrelated files\n\n### Knowledge Silos\n\nFiles with `author_count = 1` and `change_count >= 3`:\n\n- Single point of failure for knowledge\n- Consider documentation or pair programming\n- Higher risk for bugs during that author's absence\n\n### Circular Dependencies\n\nAny cycles in the import graph:\n\n- Indicates tight coupling\n- Makes testing difficult\n- Consider introducing interfaces or restructuring\n\n## Example Usage in Planning\n\n```\nUser: What should we work on next?\n\nAgent: Let me generate a snapshot and analyze it...\n[generates snapshot]\n\nBased on the snapshot:\n\nTop 3 priority items:\n1. **src\u002Ffeatures\u002Fterminal\u002FterminalManager.ts** (priority: 810)\n   - 45 changes, complexity 18\n   - High churn indicates active development area\n   - Recommend: Split terminal concerns into separate modules\n\n2. **src\u002Fmanagers\u002Fcommon\u002FnativePythonFinder.ts** (priority: 540)\n   - 30 changes, complexity 18\n   - Multiple FIXME markers found\n   - Recommend: Address type guards and cache issues\n\n3. **src\u002Ffeatures\u002FinterpreterSelection.ts** (priority: 360)\n   - 24 changes, complexity 15\n   - Temporal coupling with settings files\n   - Recommend: Reduce coupling with settings module\n```\n","# Generate Codebase Snapshot\n\nThis skill generates a comprehensive code health snapshot using the analysis modules in `analysis\u002F`.\n\n## When to Use\n\n- During planning phase to identify work items\n- To find refactoring hotspots (high churn + high complexity)\n- To track technical debt over time\n- Before major releases to assess code health\n- To identify knowledge silos (bus factor risks)\n\n## How to Generate\n\n```powershell\n# From repository root\npython -m analysis.snapshot --output analysis-snapshot.json\n```\n\nAdd `--pretty` flag to also print the JSON to stdout.\n\n**Note:** The snapshot is written to the repository root (`analysis-snapshot.json`). This path is ignored by `.gitignore`.\n\n## Snapshot Structure\n\nThe snapshot contains these sections:\n\n### `summary` - High-level metrics dashboard\n\n- `files_with_changes`: Number of files with git changes\n- `total_churn`: Total lines added + deleted\n- `high_complexity_files`: Count of files with high complexity\n- `todo_count`, `fixme_count`: Debt marker counts\n- `circular_dependency_count`: Architectural issues\n- `single_author_file_ratio`: Bus factor indicator\n\n### `priority_hotspots` - Top 20 refactoring candidates\n\nFiles sorted by `priority_score = change_count × max_complexity`\n\n```json\n{\n    \"path\": \"src\u002Ffeatures\u002Fterminal\u002FterminalManager.ts\",\n    \"change_count\": 45,\n    \"churn\": 1200,\n    \"max_complexity\": 18,\n    \"priority_score\": 810\n}\n```\n\nHigh priority_score = frequently changed AND complex = prime refactoring target.\n\n### `git_analysis` - Change patterns\n\n- `hotspots`: Most frequently changed files\n- `temporal_coupling`: Files that change together (hidden dependencies)\n- `bus_factor`: Knowledge concentration risks\n\n### `complexity` - Code complexity metrics\n\n- `by_language.typescript`: TypeScript file metrics (max_complexity, avg_complexity, function_count)\n- `high_complexity_functions`: Functions with cyclomatic complexity > 10\n\n### `debt_indicators` - Technical debt markers\n\n- `debt_markers.by_type`: TODO, FIXME, HACK comments by type\n- `large_files`: Files exceeding 500 lines of code\n- `long_functions`: Functions exceeding 50 lines\n\n### `dependencies` - Module coupling analysis\n\n- `circular_dependencies`: Cycles in import graph\n- `highly_coupled_modules`: Modules with fan-out > 10\n- `hub_modules`: Modules with fan-in > 10\n- `layer_violations`: Lower layers importing from higher layers\n\n## Interpreting Results\n\n### Priority Hotspots\n\n1. Sort by `priority_score` descending\n2. Top items = files that change often AND are complex\n3. These are prime candidates for:\n    - Breaking into smaller modules\n    - Adding tests before changes\n    - Simplifying complex functions\n\n### Temporal Coupling\n\nFiles with `coupling_ratio > 0.8` changing together indicate:\n\n- Hidden dependencies not visible in imports\n- Copy-paste code that should be shared\n- Features spread across unrelated files\n\n### Knowledge Silos\n\nFiles with `author_count = 1` and `change_count >= 3`:\n\n- Single point of failure for knowledge\n- Consider documentation or pair programming\n- Higher risk for bugs during that author's absence\n\n### Circular Dependencies\n\nAny cycles in the import graph:\n\n- Indicates tight coupling\n- Makes testing difficult\n- Consider introducing interfaces or restructuring\n\n## Example Usage in Planning\n\n```\nUser: What should we work on next?\n\nAgent: Let me generate a snapshot and analyze it...\n[generates snapshot]\n\nBased on the snapshot:\n\nTop 3 priority items:\n1. **src\u002Ffeatures\u002Fterminal\u002FterminalManager.ts** (priority: 810)\n   - 45 changes, complexity 18\n   - High churn indicates active development area\n   - Recommend: Split terminal concerns into separate modules\n\n2. **src\u002Fmanagers\u002Fcommon\u002FnativePythonFinder.ts** (priority: 540)\n   - 30 changes, complexity 18\n   - Multiple FIXME markers found\n   - Recommend: Address type guards and cache issues\n\n3. **src\u002Ffeatures\u002FinterpreterSelection.ts** (priority: 360)\n   - 24 changes, complexity 15\n   - Temporal coupling with settings files\n   - Recommend: Reduce coupling with settings module\n```\n",{"name":5,"description":7,"argument-hint":56},"--output path --pretty","main","92c13e7942499b7608a22bf1cb86b881a90afc98",".github\u002Fskills\u002Fgenerate-snapshot",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":68,"prompt":78,"zipAvailable":79},[69,72,75],{"tool":70,"command":71},"npx","npx skills add microsoft\u002Fvscode-python-environments --skill generate-snapshot",{"tool":73,"command":74},"bunx","bunx skills add microsoft\u002Fvscode-python-environments --skill generate-snapshot",{"tool":76,"command":77},"pnpm","pnpm dlx skills add microsoft\u002Fvscode-python-environments --skill generate-snapshot","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode-python-environments\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fgenerate-snapshot\u002FSKILL.md",true,[],[82,111,140,164,180,203],{"skillNo":83,"name":84,"nameZh":85,"description":86,"descriptionZh":87,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":88,"categories":89,"keywords":94,"publishedAt":51},"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",[90,91],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":92,"categoryName":93,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSTR9G4A4GZ0VB2DFN9490","开发环境与工具链管理",[95,96,97,98,99,100,101,102,103,35,50,104,105,106,107,108,109,110],"settings precedence","settings","inspect","pitfalls","common pitfalls","multi","scope","false","essential","file","component","review","get","workspace","common","Rules",{"skillNo":112,"name":113,"nameZh":114,"description":115,"descriptionZh":116,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":117,"categories":118,"keywords":125,"publishedAt":51},"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",[119,122],{"categoryNo":120,"categoryName":121,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD5WG86P4AQ5GPSSKBFR","测试工程师",{"categoryNo":123,"categoryName":124,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQJH394GT47X57A9Q8G7HX","测试与质量保障",[126,127,128,129,130,50,131,132,133,134,135,136,137,138,139],"tests","smoke","run","run smoke tests","smoke tests","basic","when","features","changes","extension","use","environment","work","verify",{"skillNo":141,"name":142,"nameZh":143,"description":144,"descriptionZh":145,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":146,"categories":147,"keywords":150,"publishedAt":51},"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",[148,149],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[151,152,128,153,154,126,155,156,157,158,159,160,50,161,162,163],"commit","run pre commit checks","pre commit","pre commit checks","type","auto","unit","auto-fix","pre-commit","issues","lint","unit tests","fix",{"skillNo":165,"name":166,"nameZh":167,"description":168,"descriptionZh":169,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":170,"categories":171,"keywords":174,"publishedAt":51},"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",[172,173],{"categoryNo":120,"categoryName":121,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":123,"categoryName":124,"taxonomyType":28,"taxonomyTypeDesc":29},[175,176,177,128,126,139,178,135,136,138,105,179],"integration","integration tests","run integration tests","event","components",{"skillNo":181,"name":182,"nameZh":183,"description":184,"descriptionZh":185,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":186,"categories":187,"keywords":190,"publishedAt":51},"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",[188,189],{"categoryNo":120,"categoryName":121,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":123,"categoryName":124,"taxonomyType":28,"taxonomyTypeDesc":29},[191,128,192,193,126,194,195,139,196,197,137,198,134,199,200,201,202,136],"e2e tests","run e2e","e2e","run e2e tests","user","discovery","workflows","environment discovery","complete","creation","selection","releases",{"skillNo":204,"name":205,"nameZh":206,"description":207,"descriptionZh":208,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":209,"categories":210,"keywords":213,"publishedAt":51},"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",[211,212],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":92,"categoryName":93,"taxonomyType":28,"taxonomyTypeDesc":29},[214,215,196,216,217,198,132,35,218,219,220,102,221,222,223,136,137,160,50],"python manager discovery","manager","python","pipenv","venv","pyenv","name","conda","patterns","Poetry"]