[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M699H39A9ZWNT3CR7APMA2DR":3,"skill-same:01M699H39A9ZWNT3CR7APMA2DR":90},{"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":34,"linkOnly":35,"markdownContent":36,"markdownBody":37,"frontMatter":38,"refName":40,"commitSha":41,"skillDirectory":42,"forksCount":43,"repositoryHtmlUrl":44,"repositoryHomepageUrl":17,"ownerHtmlUrl":45,"ownerBlogUrl":46,"ownerDescription":47,"updatedAt":48,"install":49,"resources":61},"01M699H39A9ZWNT3CR7APMA2DR","fix-dependencies","npm 依赖漏洞修复","Fix all vulnerabilities on the current branch using npm audit. Local branch only — no ADO\u002FGitHub queries.","使用 npm audit 修复当前分支上的所有漏洞。仅限本地分支——不查询 ADO\u002FGitHub。","microsoft\u002Fpowerplatform-build-tools","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M699GTRTXQ8RXT9GYEEEFQRZ",315,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fpowerplatform-build-tools\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ffix-dependencies\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQV98CYQ7TEW2D1MRQ00TE","安全公告与漏洞管理","SCENARIO","使用场景",[31,32,33],"fix dependencies","github","vulnerabilities","2026-11-10 10:12:30",false,"---\nname: fix-dependencies\ndescription: Fix all vulnerabilities on the current branch using npm audit. Local branch only — no ADO\u002FGitHub queries.\nuser-invocable: true\n---\n\n# Fix Dependencies\n\nFix all vulnerabilities on the current branch using `npm audit`. No user input required.\n\n**Scope:** local branch only — no origin sync, no ADO queries, no Dependabot. For S360 \u002F ADO \u002F GitHub alerts use `\u002Fsecurity-alerts`.\n\n---\n\n## Step 1 — Audit\n\n```bash\nnpm audit --json 2>&1\n```\n\nBuild a fix list. For each vulnerability, apply the first matching rule:\n\n| Condition | Action |\n| --------- | ------ |\n| `patched_version` exists | Fix it — patch\u002Fminor\u002Fmajor all acceptable for security |\n| `inBundle: true`, parent has newer version | Upgrade parent (Strategy B) |\n| `inBundle: true`, no parent upgrade | Patch lock file directly (Strategy C) |\n| `patched_version: null` | Accept risk, document, move on |\n| `scope: development` + low severity + no patch | Accept risk, move on |\n\nKnown permanent accepted risk — do not flag: `elliptic` (GHSA-848j-6mx2-7j84) via `rewiremock` — dev-only, no patched version.\n\n---\n\n## Step 2 — Fix (no pausing between fixes)\n\n### Strategy A — npm override (non-bundled transitive dep)\n\nAdd\u002Fupdate the entry in `\"overrides\"` in `package.json`, then:\n\n```bash\nnpm view \u003Cpkg>@\u003Cversion> version   # confirm version exists\n# edit package.json overrides\nnpm install 2>&1\nnpm ls \u003Cpkg> 2>&1                  # confirm version took effect\n```\n\nHard rules:\n\n- **Never add `\"minimatch\": \"^3.x\"` as a flat override** — infinite npm loop\n- `ajv` override must stay at `^6.x` — v8 breaks ESLint\n- Do not change intentionally-pinned overrides (`nanoid`, `electron-to-chromium`, `@types\u002Fnode`) unless explicitly asked\n\n### Strategy B — Direct dependency bump\n\nUpdate the version in `dependencies` or `devDependencies` in `package.json`, then `npm install`.\n\n### Strategy C — Lock file patch (for `inBundle: true` packages)\n\n```bash\n# Find all paths for the package\nnode -e \"\nconst l = require('.\u002Fpackage-lock.json');\nconsole.log(\n  Object.keys(l.packages)\n    .filter(k => k.endsWith('\u002F\u003Cpkg>'))\n    .map(k => k + ' -> ' + l.packages[k].version + ' inBundle:' + l.packages[k].inBundle)\n    .join('\\n')\n);\"\n\n# Get safe version metadata\nnpm view \u003Cpkg>@\u003Cpatched-version> dist.tarball dist.integrity --json\n\n# Patch all matching entries\nnode -e \"\nconst fs = require('fs');\nconst l = require('.\u002Fpackage-lock.json');\nObject.keys(l.packages)\n  .filter(k => k.endsWith('\u002F\u003Cpkg>'))\n  .forEach(k => {\n    l.packages[k].version = '\u003Cpatched-version>';\n    l.packages[k].resolved = '\u003Ctarball-url>';\n    l.packages[k].integrity = '\u003Cintegrity>';\n  });\nfs.writeFileSync('.\u002Fpackage-lock.json', JSON.stringify(l, null, 2) + '\\n');\nconsole.log('Patched');\n\"\nnpm install 2>&1\n```\n\n### Strategy D — Accept risk\n\nDocument in final summary. Do not block or ask.\n\n---\n\n## Step 3 — Verify\n\n```bash\nnpm audit 2>&1\nnpm run ci 2>&1\n```\n\n`npm run ci` functional tests will fail locally (require `PA_BT_ORG_PASSWORD`) — expected, not a blocker.\n\nIf `npm run ci` fails on a non-functional-test step (TypeScript error, lint, unit test), fix it and re-run before continuing. Do not commit a broken build.\n\n---\n\n## Step 4 — Commit and PR (only if Step 3 passes)\n\n```bash\ngit add package.json package-lock.json\ngit status   # confirm nothing accidental staged\ngit commit -m \"chore: fix dependency vulnerabilities\"\n```\n\nThen run `\u002Fcreate-pr` to create the pull request.\n\n---\n\n## Final Summary\n\nPrint before handing off to `\u002Fcreate-pr`:\n\n- **Fixed:** package, old → new version, strategy used\n- **Accepted risk:** package, GHSA ID, reason\n","# Fix Dependencies\n\nFix all vulnerabilities on the current branch using `npm audit`. No user input required.\n\n**Scope:** local branch only — no origin sync, no ADO queries, no Dependabot. For S360 \u002F ADO \u002F GitHub alerts use `\u002Fsecurity-alerts`.\n\n---\n\n## Step 1 — Audit\n\n```bash\nnpm audit --json 2>&1\n```\n\nBuild a fix list. For each vulnerability, apply the first matching rule:\n\n| Condition | Action |\n| --------- | ------ |\n| `patched_version` exists | Fix it — patch\u002Fminor\u002Fmajor all acceptable for security |\n| `inBundle: true`, parent has newer version | Upgrade parent (Strategy B) |\n| `inBundle: true`, no parent upgrade | Patch lock file directly (Strategy C) |\n| `patched_version: null` | Accept risk, document, move on |\n| `scope: development` + low severity + no patch | Accept risk, move on |\n\nKnown permanent accepted risk — do not flag: `elliptic` (GHSA-848j-6mx2-7j84) via `rewiremock` — dev-only, no patched version.\n\n---\n\n## Step 2 — Fix (no pausing between fixes)\n\n### Strategy A — npm override (non-bundled transitive dep)\n\nAdd\u002Fupdate the entry in `\"overrides\"` in `package.json`, then:\n\n```bash\nnpm view \u003Cpkg>@\u003Cversion> version   # confirm version exists\n# edit package.json overrides\nnpm install 2>&1\nnpm ls \u003Cpkg> 2>&1                  # confirm version took effect\n```\n\nHard rules:\n\n- **Never add `\"minimatch\": \"^3.x\"` as a flat override** — infinite npm loop\n- `ajv` override must stay at `^6.x` — v8 breaks ESLint\n- Do not change intentionally-pinned overrides (`nanoid`, `electron-to-chromium`, `@types\u002Fnode`) unless explicitly asked\n\n### Strategy B — Direct dependency bump\n\nUpdate the version in `dependencies` or `devDependencies` in `package.json`, then `npm install`.\n\n### Strategy C — Lock file patch (for `inBundle: true` packages)\n\n```bash\n# Find all paths for the package\nnode -e \"\nconst l = require('.\u002Fpackage-lock.json');\nconsole.log(\n  Object.keys(l.packages)\n    .filter(k => k.endsWith('\u002F\u003Cpkg>'))\n    .map(k => k + ' -> ' + l.packages[k].version + ' inBundle:' + l.packages[k].inBundle)\n    .join('\\n')\n);\"\n\n# Get safe version metadata\nnpm view \u003Cpkg>@\u003Cpatched-version> dist.tarball dist.integrity --json\n\n# Patch all matching entries\nnode -e \"\nconst fs = require('fs');\nconst l = require('.\u002Fpackage-lock.json');\nObject.keys(l.packages)\n  .filter(k => k.endsWith('\u002F\u003Cpkg>'))\n  .forEach(k => {\n    l.packages[k].version = '\u003Cpatched-version>';\n    l.packages[k].resolved = '\u003Ctarball-url>';\n    l.packages[k].integrity = '\u003Cintegrity>';\n  });\nfs.writeFileSync('.\u002Fpackage-lock.json', JSON.stringify(l, null, 2) + '\\n');\nconsole.log('Patched');\n\"\nnpm install 2>&1\n```\n\n### Strategy D — Accept risk\n\nDocument in final summary. Do not block or ask.\n\n---\n\n## Step 3 — Verify\n\n```bash\nnpm audit 2>&1\nnpm run ci 2>&1\n```\n\n`npm run ci` functional tests will fail locally (require `PA_BT_ORG_PASSWORD`) — expected, not a blocker.\n\nIf `npm run ci` fails on a non-functional-test step (TypeScript error, lint, unit test), fix it and re-run before continuing. Do not commit a broken build.\n\n---\n\n## Step 4 — Commit and PR (only if Step 3 passes)\n\n```bash\ngit add package.json package-lock.json\ngit status   # confirm nothing accidental staged\ngit commit -m \"chore: fix dependency vulnerabilities\"\n```\n\nThen run `\u002Fcreate-pr` to create the pull request.\n\n---\n\n## Final Summary\n\nPrint before handing off to `\u002Fcreate-pr`:\n\n- **Fixed:** package, old → new version, strategy used\n- **Accepted risk:** package, GHSA ID, reason\n",{"name":5,"description":7,"user-invocable":39},true,"main","335e4c47bb46d46bdb2c3cc7b9ef4b35149bfee8",".claude\u002Fskills\u002Ffix-dependencies",70,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fpowerplatform-build-tools","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-11 01:04:03",{"source":9,"skillName":5,"commands":50,"prompt":60,"zipAvailable":39},[51,54,57],{"tool":52,"command":53},"npx","npx skills add microsoft\u002Fpowerplatform-build-tools --skill fix-dependencies",{"tool":55,"command":56},"bunx","bunx skills add microsoft\u002Fpowerplatform-build-tools --skill fix-dependencies",{"tool":58,"command":59},"pnpm","pnpm dlx skills add microsoft\u002Fpowerplatform-build-tools --skill fix-dependencies","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fpowerplatform-build-tools\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ffix-dependencies\u002FSKILL.md",[62,68,72,76,80,86],{"path":63,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":66,"sourceHtmlUrl":67},"examples\u002Fhigh-score-example.md","REFERENCE","参考文档",3545,"https:\u002F\u002Fgithub.com\u002Fmdnaimul22\u002Fhuman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fstorage\u002Faffaan-m_ECC\u002Fagent-self-evaluation\u002Fexamples\u002Fhigh-score-example.md",{"path":69,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":70,"sourceHtmlUrl":71},"examples\u002Flow-score-example.md",3702,"https:\u002F\u002Fgithub.com\u002Fmdnaimul22\u002Fhuman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fstorage\u002Faffaan-m_ECC\u002Fagent-self-evaluation\u002Fexamples\u002Flow-score-example.md",{"path":73,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Fevaluation-criteria.md",5820,"https:\u002F\u002Fgithub.com\u002Fmdnaimul22\u002Fhuman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fstorage\u002Faffaan-m_ECC\u002Fagent-self-evaluation\u002Freferences\u002Fevaluation-criteria.md",{"path":77,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Fhook-integration.md",2500,"https:\u002F\u002Fgithub.com\u002Fmdnaimul22\u002Fhuman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fstorage\u002Faffaan-m_ECC\u002Fagent-self-evaluation\u002Freferences\u002Fhook-integration.md",{"path":81,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":84,"sourceHtmlUrl":85},"scripts\u002Fevaluate.py","SCRIPT","脚本",14975,"https:\u002F\u002Fgithub.com\u002Fmdnaimul22\u002Fhuman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fstorage\u002Faffaan-m_ECC\u002Fagent-self-evaluation\u002Fscripts\u002Fevaluate.py",{"path":87,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":88,"sourceHtmlUrl":89},"templates\u002Fevaluation-report.md",3485,"https:\u002F\u002Fgithub.com\u002Fmdnaimul22\u002Fhuman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fstorage\u002Faffaan-m_ECC\u002Fagent-self-evaluation\u002Ftemplates\u002Fevaluation-report.md",[91,106,134,145,160,177],{"skillNo":92,"name":93,"nameZh":94,"description":95,"descriptionZh":96,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":97,"categories":98,"keywords":103,"publishedAt":34},"01M699HC0XQPN9JNCFX65H20QV","workitem","工作项修复实现","Read an ADO or GitHub work item, research similar past PRs, implement the fix, and leave the branch ready for \u002Fcreate-pr.","读取 ADO 或 GitHub 工作项，研究类似的过往 PR，实现修复，并让分支保持就绪状态以便执行 \u002Fcreate-pr。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fpowerplatform-build-tools\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fworkitem\u002FSKILL.md",[99,100],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":101,"categoryName":102,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BR5V701HCN066VEP7H4812","代码仓库协作管理",[93,104,105,32],"implement","research",{"skillNo":107,"name":108,"nameZh":109,"description":110,"descriptionZh":111,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":112,"categories":113,"keywords":118,"publishedAt":34},"01M699HA924RDYQAQ6RYS949RA","security-alerts","安全告警修复","Fetch all open security alerts from S360\u002FADO, Dependabot, and npm audit, apply all fixes, verify, commit, and create a PR.","从 S360\u002FADO、Dependabot 和 npm audit 获取所有未关闭的安全告警，应用所有修复，进行验证、提交并创建 PR。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fpowerplatform-build-tools\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fsecurity-alerts\u002FSKILL.md",[114,115],{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":116,"categoryName":117,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BR4MYFKGCC4WCWVJ50KJ2C","安全工程师",[119,120,121,122,123,124,125,126,127,128,129,130,131,132,133],"alerts","security alerts","security","fixes","true","ado","create","fetch","open","verify","dependabot","audit","npm","pr","commit",{"skillNo":135,"name":136,"nameZh":137,"description":138,"descriptionZh":139,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":140,"categories":141,"keywords":144,"publishedAt":34},"01M699H8NXZ81BYW640J7XTVAX","review","PR 自动评审","Autonomous PR review — reads diff, cross-references knowledge base, posts inline comments, and leaves an overall verdict.","自主进行 PR 评审 —— 读取 diff、交叉引用知识库、发布行内评论，并给出总体评审结论。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fpowerplatform-build-tools\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Freview\u002FSKILL.md",[142,143],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":101,"categoryName":102,"taxonomyType":28,"taxonomyTypeDesc":29},[136],{"skillNo":146,"name":147,"nameZh":148,"description":149,"descriptionZh":150,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":151,"categories":152,"keywords":157,"publishedAt":34},"01M699H7127EAD1YEMYT21RFH0","pac-cli-update","PAC CLI 版本升级","Bump PAC CLI binary version and\u002For cli-wrapper npm package. Always produces two PRs — main and release\u002Fstable.","升级 PAC CLI 二进制版本和\u002F或 cli-wrapper npm 包。始终生成两个 PR —— main 和 release\u002Fstable。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fpowerplatform-build-tools\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fpac-cli-update\u002FSKILL.md",[153,154],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":155,"categoryName":156,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQNXPY1AV6BSR5VKHDMWRH","部署与发布管理",[158,159],"pac cli update","cli",{"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":174,"publishedAt":34},"01M699H53DPJH4HW3EJW6TA9T9","knowledge-sync","知识日志同步","Sync ADO work items and ICM incidents to the persistent knowledge log. Invoked automatically by \u002Freview, \u002Fworkitem, and \u002Fpac-cli-update when knowledge is stale.","将 ADO 工作项和 ICM 事件同步到持久化知识日志。当知识过时时，由 \u002Freview、\u002Fworkitem 和 \u002Fpac-cli-update 自动调用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fpowerplatform-build-tools\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fknowledge-sync\u002FSKILL.md",[168,171],{"categoryNo":169,"categoryName":170,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TRAEZFJ43R95HPEBJYG","知识工作者",{"categoryNo":172,"categoryName":173,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRFRAYBCBW9WKDY9TCSHY3","知识管理与沉淀",[175,176,159,136],"knowledge sync","sync",{"skillNo":178,"name":179,"nameZh":180,"description":181,"descriptionZh":182,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":183,"categories":184,"keywords":191,"publishedAt":34},"01M699H158C8S67AKFKVEYM2QB","debug-agent","流水线与客户问题诊断","Diagnose a pipeline failure or customer issue end-to-end. Accepts a log path, error text, ADO work item ID, or GitHub issue URL.","端到端诊断流水线失败或客户问题。可接受日志路径、错误文本、ADO 工作项 ID 或 GitHub issue URL。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fpowerplatform-build-tools\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdebug-agent\u002FSKILL.md",[185,188],{"categoryNo":186,"categoryName":187,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD4WETX0HM3SM9QKQ15B","SRE 工程师",{"categoryNo":189,"categoryName":190,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRSRYQ3M8N5063NNQPF2B1","调试与故障排查",[192,32,193],"debug agent","customer"]