[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M699X2RC64HCE0VQDY9DE7NB":3,"skill-same:01M699X2RC64HCE0VQDY9DE7NB":61},{"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":33,"linkOnly":34,"markdownContent":35,"markdownBody":36,"frontMatter":37,"refName":38,"commitSha":39,"skillDirectory":40,"forksCount":41,"repositoryHtmlUrl":42,"repositoryHomepageUrl":17,"ownerHtmlUrl":43,"ownerBlogUrl":44,"ownerDescription":45,"updatedAt":46,"install":47,"resources":60},"01M699X2RC64HCE0VQDY9DE7NB","update-dependencies","依赖包更新","Update packages that DCP executables depend on. This skill is used infrequently, usually just once at the start of a new development cycle. Should only be used when requested explicitly, never as part of a regular change or PR.","更新 DCP 可执行文件所依赖的软件包。此技能使用频率较低，通常在新开发周期开始时仅使用一次。仅在明确要求时使用，绝不可作为常规变更或 PR 的一部分。","microsoft\u002Fdcp","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M699WZK3P0GA3EKDHNYW2RX1",195,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fdcp\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fupdate-dependencies\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],"update dependencies","change","2026-11-10 10:12:30",false,"---\nname: update-dependencies\ndescription: 'Update packages that DCP executables depend on. This skill is used infrequently, usually just once at the start of a new development cycle. Should only be used when requested explicitly, never as part of a regular change or PR.'\n---\n\n# Update Dependencies\n\nUpdate Go package dependencies stored in @go.mod file.\n\n## When to Use\n\n- Dependency update at the beginning of a new development cycle, to ensure DCP is using the latest versions of packages.\n- Upgrading tilt-apiserver to a new release.\n- Should only be used when requested explicitly, never as part of a regular change or PR.\n\n## Procedure\n\n### 1. Update the Tilt dependency\n\nUpdate `tilt-apiserver` dependency to the latest release. Find the latest release version at https:\u002F\u002Fgithub.com\u002Ftilt-dev\u002Ftilt-apiserver\u002Freleases.\n\n### 2. Update packages shared with Tilt\n\nFetch the `go.mod` from the tilt-apiserver release tag (e.g. `https:\u002F\u002Fraw.githubusercontent.com\u002Ftilt-dev\u002Ftilt-apiserver\u002Fv\u003CVERSION>\u002Fgo.mod`). Any *Kubernetes-related* packages (those that have names starting with `k8s.io` or `sigs.k8s.io`) that both `tilt-apiserver` and DCP list in their `go.mod` files should be kept at exactly the same version. This includes both direct and indirect dependencies.\n\nOther (non-Kubernetes) packages that are shared between `tilt-apiserver` and DCP do not need to be kept at the same version. Upgrade them like any other packages (see next step).\n\n### 3. Update other packages\n\nCheck the latest versions of other direct dependencies (those **not** marked `\u002F\u002F indirect`). Use the Go module proxy to check latest versions: `https:\u002F\u002Fproxy.golang.org\u002F\u003Cmodule>\u002F@latest`.\n\n- If the latest version differs only by **minor or patch** level, update it without asking.\n- If the newest version involves a **major version change**, ask the user what to do (one question per package).\n\nUse `go mod edit -require=\u003Cmodule>@\u003Cversion>` to apply version changes (does not require network access from the terminal).\n\n### 4. Regenerate code\n\nRun `make generate` after updating dependencies. This is especially important after k8s.io package upgrades, as OpenAPI definitions may need regeneration.\n\n## Verification and final steps\n\n### 1. Tidy modules\n\nRun `go mod tidy` and ensure it completes without errors.\n\n### 2. Lint\n\nRun `make lint` and ensure there are no errors or warnings. If you encounter errors or warnings, fix them in the source code.\n\n### 3. Test\n\nRun `make test` and ensure all tests pass. Fix any errors you encounter.\n\n### 4. Update the NOTICE file\n\nRun `make generate-licenses` to update the NOTICE file with the new dependencies.\n","# Update Dependencies\n\nUpdate Go package dependencies stored in @go.mod file.\n\n## When to Use\n\n- Dependency update at the beginning of a new development cycle, to ensure DCP is using the latest versions of packages.\n- Upgrading tilt-apiserver to a new release.\n- Should only be used when requested explicitly, never as part of a regular change or PR.\n\n## Procedure\n\n### 1. Update the Tilt dependency\n\nUpdate `tilt-apiserver` dependency to the latest release. Find the latest release version at https:\u002F\u002Fgithub.com\u002Ftilt-dev\u002Ftilt-apiserver\u002Freleases.\n\n### 2. Update packages shared with Tilt\n\nFetch the `go.mod` from the tilt-apiserver release tag (e.g. `https:\u002F\u002Fraw.githubusercontent.com\u002Ftilt-dev\u002Ftilt-apiserver\u002Fv\u003CVERSION>\u002Fgo.mod`). Any *Kubernetes-related* packages (those that have names starting with `k8s.io` or `sigs.k8s.io`) that both `tilt-apiserver` and DCP list in their `go.mod` files should be kept at exactly the same version. This includes both direct and indirect dependencies.\n\nOther (non-Kubernetes) packages that are shared between `tilt-apiserver` and DCP do not need to be kept at the same version. Upgrade them like any other packages (see next step).\n\n### 3. Update other packages\n\nCheck the latest versions of other direct dependencies (those **not** marked `\u002F\u002F indirect`). Use the Go module proxy to check latest versions: `https:\u002F\u002Fproxy.golang.org\u002F\u003Cmodule>\u002F@latest`.\n\n- If the latest version differs only by **minor or patch** level, update it without asking.\n- If the newest version involves a **major version change**, ask the user what to do (one question per package).\n\nUse `go mod edit -require=\u003Cmodule>@\u003Cversion>` to apply version changes (does not require network access from the terminal).\n\n### 4. Regenerate code\n\nRun `make generate` after updating dependencies. This is especially important after k8s.io package upgrades, as OpenAPI definitions may need regeneration.\n\n## Verification and final steps\n\n### 1. Tidy modules\n\nRun `go mod tidy` and ensure it completes without errors.\n\n### 2. Lint\n\nRun `make lint` and ensure there are no errors or warnings. If you encounter errors or warnings, fix them in the source code.\n\n### 3. Test\n\nRun `make test` and ensure all tests pass. Fix any errors you encounter.\n\n### 4. Update the NOTICE file\n\nRun `make generate-licenses` to update the NOTICE file with the new dependencies.\n",{"name":5,"description":7},"main","5901d3d7b96af094c0b18f5d41675e5ea88273be",".agents\u002Fskills\u002Fupdate-dependencies",29,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fdcp","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-14 13:48:55",{"source":9,"skillName":5,"commands":48,"prompt":58,"zipAvailable":59},[49,52,55],{"tool":50,"command":51},"npx","npx skills add microsoft\u002Fdcp --skill update-dependencies",{"tool":53,"command":54},"bunx","bunx skills add microsoft\u002Fdcp --skill update-dependencies",{"tool":56,"command":57},"pnpm","pnpm dlx skills add microsoft\u002Fdcp --skill update-dependencies","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fdcp\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fupdate-dependencies\u002FSKILL.md",true,[],[62],{"skillNo":63,"name":64,"nameZh":65,"description":66,"descriptionZh":67,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":68,"categories":69,"keywords":74,"publishedAt":33},"01M699X1K9B92TYBTHVBKNZAS9","code-review","GitHub PR 代码审查","Review a GitHub pull request for problems and consistency with project conventions. Use when asked to review a PR, do a code review, check a PR for issues, or review pull request changes.","审查 GitHub 拉取请求（pull request）中的问题及其与项目约定（conventions）的一致性。当被要求审查 PR、执行代码审查、检查 PR 中存在的问题，或审查拉取请求的变更时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fdcp\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcode-review\u002FSKILL.md",[70,71],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":72,"categoryName":73,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BR5V701HCN066VEP7H4812","代码仓库协作管理",[75,76,77],"code review","review","github"]