[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M699DD3FAAGVF9XBH1B2SJNY":3,"skill-same:01M699DD3FAAGVF9XBH1B2SJNY":92},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":31,"linkOnly":32,"markdownContent":33,"markdownBody":34,"frontMatter":35,"refName":36,"commitSha":37,"skillDirectory":38,"forksCount":39,"repositoryHtmlUrl":40,"repositoryHomepageUrl":41,"ownerHtmlUrl":42,"ownerBlogUrl":43,"ownerDescription":44,"updatedAt":45,"install":46,"resources":59},"01M699DD3FAAGVF9XBH1B2SJNY","generate-run-commands",null,"Generate or modify run commands for the current session. Use when the user wants to set up or update run commands that appear in the session's Run button.","microsoft\u002Fvscode","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M6998NK2WED5M549DX06VBCH",195270,"MIT","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode\u002Fblob\u002Fmain\u002Fsrc\u002Fvs\u002Fsessions\u002Fskills\u002Fgenerate-run-commands\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30],"generate run commands","generate","run","commands","update","SET","user","session","use","up","for","when","2026-11-10 10:12:30",false,"---\nname: generate-run-commands\ndescription: Generate or modify run commands for the current session. Use when the user wants to set up or update run commands that appear in the session's Run button.\n---\n\u003C!-- Customize this skill and select save to override its behavior. Delete that copy to restore the built-in behavior. -->\n\n# Generate Run Commands\n\nHelp the user set up run commands for the current Agent Session workspace. Run commands appear in the session's Run button in the title bar.\n\n## Understanding the task schema\n\nA run command is a `tasks.json` task with:\n- `\"inAgents\": true` — required: makes the task appear in the Agents run button\n- `\"runOptions\": { \"runOn\": \"worktreeCreated\" }` — optional: auto-runs the task whenever a new worktree is created (use for setup\u002Finstall commands)\n\n```json\n{\n  \"tasks\": [\n    {\n      \"label\": \"Install dependencies\",\n      \"type\": \"shell\",\n      \"command\": \"npm install\",\n      \"inAgents\": true,\n      \"runOptions\": { \"runOn\": \"worktreeCreated\" }\n    },\n    {\n      \"label\": \"Start dev server\",\n      \"type\": \"shell\",\n      \"command\": \"npm run dev\",\n      \"inAgents\": true\n    }\n  ]\n}\n```\n\n## Decision logic\n\n**First, read the existing `.vscode\u002Ftasks.json`** to check for existing run commands (`inAgents: true` tasks).\n\n**If run commands already exist:** treat this as a modify request — ask the user what they'd like to change (add, remove, or update a command).\n\n**If no run commands exist:** try to infer the right commands from the workspace:\n- Check `package.json`, `Makefile`, `pyproject.toml`, `Cargo.toml`, `go.mod`, `.nvmrc`, or other project files to understand the stack and common commands.\n- If it's clear what the setup command is (e.g., `npm install`, `pip install -r requirements.txt`), add it with `\"runOptions\": { \"runOn\": \"worktreeCreated\" }` — no need to ask.\n- If it's clear what the primary run\u002Fdev command is (e.g., `npm run dev`, `cargo run`), add it with just `\"inAgents\": true`.\n- **Only ask the user** if the commands are ambiguous (e.g., multiple equally valid options, no recognizable project structure, or the project uses a non-standard setup).\n\n## Writing the file\n\nAlways write to `.vscode\u002Ftasks.json` in the workspace root. If the file already exists, merge — do not overwrite unrelated tasks.\n\nAfter writing, briefly confirm what was added and how to trigger it from the Run button.\n","\u003C!-- Customize this skill and select save to override its behavior. Delete that copy to restore the built-in behavior. -->\n\n# Generate Run Commands\n\nHelp the user set up run commands for the current Agent Session workspace. Run commands appear in the session's Run button in the title bar.\n\n## Understanding the task schema\n\nA run command is a `tasks.json` task with:\n- `\"inAgents\": true` — required: makes the task appear in the Agents run button\n- `\"runOptions\": { \"runOn\": \"worktreeCreated\" }` — optional: auto-runs the task whenever a new worktree is created (use for setup\u002Finstall commands)\n\n```json\n{\n  \"tasks\": [\n    {\n      \"label\": \"Install dependencies\",\n      \"type\": \"shell\",\n      \"command\": \"npm install\",\n      \"inAgents\": true,\n      \"runOptions\": { \"runOn\": \"worktreeCreated\" }\n    },\n    {\n      \"label\": \"Start dev server\",\n      \"type\": \"shell\",\n      \"command\": \"npm run dev\",\n      \"inAgents\": true\n    }\n  ]\n}\n```\n\n## Decision logic\n\n**First, read the existing `.vscode\u002Ftasks.json`** to check for existing run commands (`inAgents: true` tasks).\n\n**If run commands already exist:** treat this as a modify request — ask the user what they'd like to change (add, remove, or update a command).\n\n**If no run commands exist:** try to infer the right commands from the workspace:\n- Check `package.json`, `Makefile`, `pyproject.toml`, `Cargo.toml`, `go.mod`, `.nvmrc`, or other project files to understand the stack and common commands.\n- If it's clear what the setup command is (e.g., `npm install`, `pip install -r requirements.txt`), add it with `\"runOptions\": { \"runOn\": \"worktreeCreated\" }` — no need to ask.\n- If it's clear what the primary run\u002Fdev command is (e.g., `npm run dev`, `cargo run`), add it with just `\"inAgents\": true`.\n- **Only ask the user** if the commands are ambiguous (e.g., multiple equally valid options, no recognizable project structure, or the project uses a non-standard setup).\n\n## Writing the file\n\nAlways write to `.vscode\u002Ftasks.json` in the workspace root. If the file already exists, merge — do not overwrite unrelated tasks.\n\nAfter writing, briefly confirm what was added and how to trigger it from the Run button.\n",{"name":5,"description":7},"main","11ba54a90a0ff8720cf47c086f5a9948eef9cf2c","src\u002Fvs\u002Fsessions\u002Fskills\u002Fgenerate-run-commands",43791,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode","https:\u002F\u002Fcode.visualstudio.com","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-12 03:13:10",{"source":8,"skillName":5,"commands":47,"prompt":57,"zipAvailable":58},[48,51,54],{"tool":49,"command":50},"npx","npx skills add microsoft\u002Fvscode --skill generate-run-commands",{"tool":52,"command":53},"bunx","bunx skills add microsoft\u002Fvscode --skill generate-run-commands",{"tool":55,"command":56},"pnpm","pnpm dlx skills add microsoft\u002Fvscode --skill generate-run-commands","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode\u002Fblob\u002Fmain\u002Fsrc\u002Fvs\u002Fsessions\u002Fskills\u002Fgenerate-run-commands\u002FSKILL.md",true,[60,66,70,74,78,82,88],{"path":61,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":64,"sourceHtmlUrl":65},"agents\u002Fdistillate-compressor.md","REFERENCE","参考文档",4951,"https:\u002F\u002Fgithub.com\u002Fsherryswift1019-gif\u002FAI-DZHT\u002Fblob\u002Fmain\u002F_bmad\u002Fcore\u002Fbmad-distillator\u002Fagents\u002Fdistillate-compressor.md",{"path":67,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":68,"sourceHtmlUrl":69},"agents\u002Fround-trip-reconstructor.md",2802,"https:\u002F\u002Fgithub.com\u002Fsherryswift1019-gif\u002FAI-DZHT\u002Fblob\u002Fmain\u002F_bmad\u002Fcore\u002Fbmad-distillator\u002Fagents\u002Fround-trip-reconstructor.md",{"path":71,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":72,"sourceHtmlUrl":73},"resources\u002Fcompression-rules.md",2662,"https:\u002F\u002Fgithub.com\u002Fsherryswift1019-gif\u002FAI-DZHT\u002Fblob\u002Fmain\u002F_bmad\u002Fcore\u002Fbmad-distillator\u002Fresources\u002Fcompression-rules.md",{"path":75,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":76,"sourceHtmlUrl":77},"resources\u002Fdistillate-format-reference.md",11874,"https:\u002F\u002Fgithub.com\u002Fsherryswift1019-gif\u002FAI-DZHT\u002Fblob\u002Fmain\u002F_bmad\u002Fcore\u002Fbmad-distillator\u002Fresources\u002Fdistillate-format-reference.md",{"path":79,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":80,"sourceHtmlUrl":81},"resources\u002Fsplitting-strategy.md",3337,"https:\u002F\u002Fgithub.com\u002Fsherryswift1019-gif\u002FAI-DZHT\u002Fblob\u002Fmain\u002F_bmad\u002Fcore\u002Fbmad-distillator\u002Fresources\u002Fsplitting-strategy.md",{"path":83,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":86,"sourceHtmlUrl":87},"scripts\u002Fanalyze_sources.py","SCRIPT","脚本",9912,"https:\u002F\u002Fgithub.com\u002Fsherryswift1019-gif\u002FAI-DZHT\u002Fblob\u002Fmain\u002F_bmad\u002Fcore\u002Fbmad-distillator\u002Fscripts\u002Fanalyze_sources.py",{"path":89,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":90,"sourceHtmlUrl":91},"scripts\u002Ftests\u002Ftest_analyze_sources.py",7723,"https:\u002F\u002Fgithub.com\u002Fsherryswift1019-gif\u002FAI-DZHT\u002Fblob\u002Fmain\u002F_bmad\u002Fcore\u002Fbmad-distillator\u002Fscripts\u002Ftests\u002Ftest_analyze_sources.py",[93,119,137,151,165,180],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":31},"01M70H0ANBKZAVEP1NVV4K28M3","sweeper-query","Answer natural-language questions about the VS Code Sweeper's published issue index (index-\u003Cname>.json for microsoft\u002Fvscode and the enrolled family repos) — which issues are agent-ready to implement or plan, what the sweeper proposed for an assignee or area, whether the sweeper knows a report as a duplicate, the highest-value open bugs in a lane — and, for one issue, the review's full record (evidence with file citations, fix brief, proposed comment). Use ONLY when the request explicitly names the sweeper — \"sweeper\", \"vscodesweeper\", \"sweeper-query\", a sweeper verdict, record, brief or index, an agent-ready issue — or asks what \"the sweeper\" found, proposed or knows. Do NOT use for general questions about issues, duplicates, priorities or ranking that do not mention the sweeper. Read-only; discovery only.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fsweeper-query\u002FSKILL.md",[],[100,101,102,103,104,30,105,106,107,108,109,110,111,112,113,114,115,116,117,118],"sweeper query","query","sweeper","review","fix","request","which","natural-language","ranking","duplicates","ready","only","read","plan","open","Citations","brief","issues","code",{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":31},"01M699DRJS4YJCV600Q72SVVWE","update-skills","Create or update repository skills and instructions when major learnings are discovered during a session. Use when the user says \"learn!\", when a significant pattern or pitfall is identified, or when reusable domain knowledge should be captured for future sessions.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode\u002Fblob\u002Fmain\u002Fsrc\u002Fvs\u002Fsessions\u002Fskills\u002Fupdate-skills\u002FSKILL.md",[],[23,126,29,127,128,129,130,27,26,25,131,132,133,134,135,136,30],"update skills","pattern","domain","learnings","reusable","instructions","knowledge","repository","learn","create","sessions",{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":141,"categories":142,"keywords":143,"publishedAt":31},"01M699DPWHZ72B66P82EW31RNE","update-pr","Update the pull request for the current session. Use when the user wants to push new changes to an existing PR.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode\u002Fblob\u002Fmain\u002Fsrc\u002Fvs\u002Fsessions\u002Fskills\u002Fupdate-pr\u002FSKILL.md",[],[23,144,145,30,105,146,29,27,26,25,147,148,149,150],"pr","update pr","Existing","push","pull","pull request","changes",{"skillNo":152,"name":153,"nameZh":6,"description":154,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":155,"categories":156,"keywords":157,"publishedAt":31},"01M699DJMR6CE1MH5XCJZ0GFQ0","sync","Sync the current session branch with its upstream branch, or publish the current session branch to a remote. Use when the user asks to sync a branch, pull latest changes, rebase onto upstream, push current branch, publish branch, or set upstream.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode\u002Fblob\u002Fmain\u002Fsrc\u002Fvs\u002Fsessions\u002Fskills\u002Fsync\u002FSKILL.md",[],[153,24,158,147,148,159,30,150,160,161,162,163,27,26,25,164],"publish","rebase","latest","with","remote","upstream","branch",{"skillNo":166,"name":167,"nameZh":6,"description":168,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":169,"categories":170,"keywords":171,"publishedAt":31},"01M699DGXHX6A2A72X57R6GGHJ","sync-upstream","Update a stale session branch by rebasing onto the latest origin. Use when the upstream has moved significantly and the session needs to catch up, resolving conflicts by preserving upstream changes and adapting session work to fit.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode\u002Fblob\u002Fmain\u002Fsrc\u002Fvs\u002Fsessions\u002Fskills\u002Fsync-upstream\u002FSKILL.md",[],[163,153,172,173,30,174,175,150,160,176,177,178,28,27,26,164,179,23],"sync upstream","fit","catch","catch up","origin","conflicts","stale","work",{"skillNo":181,"name":182,"nameZh":6,"description":183,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":184,"categories":185,"keywords":186,"publishedAt":31},"01M699DEXYFWDGW0BAXJ5QQ377","merge","Merge changes from the topic branch to the merge base branch. Use when the user wants to merge their session's work back to the base branch.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode\u002Fblob\u002Fmain\u002Fsrc\u002Fvs\u002Fsessions\u002Fskills\u002Fmerge\u002FSKILL.md",[],[182,26,27,179,164,25,30,187,188,150],"back","base"]