[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M699D36GQS9JD18SQTVN9PZS":3,"skill-same:01M699D36GQS9JD18SQTVN9PZS":79},{"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":50,"linkOnly":51,"markdownContent":52,"markdownBody":53,"frontMatter":54,"refName":55,"commitSha":56,"skillDirectory":57,"forksCount":58,"repositoryHtmlUrl":59,"repositoryHomepageUrl":60,"ownerHtmlUrl":61,"ownerBlogUrl":62,"ownerDescription":63,"updatedAt":64,"install":65,"resources":78},"01M699D36GQS9JD18SQTVN9PZS","commit","提交代码","Commit staged or unstaged changes with an AI-generated commit message that matches the repository's existing commit style. Use when the user asks to 'commit', 'commit changes', 'create a commit', 'save my work', or 'check in code'.","使用与仓库现有提交风格匹配的 AI 生成提交消息，提交已暂存或未暂存的更改。当用户要求“commit”“commit changes”“create a commit”“save my work”或“check in code”时使用。","microsoft\u002Fvscode","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M6998NK2WED5M549DX06VBCH",195369,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode\u002Fblob\u002Fmain\u002Fsrc\u002Fvs\u002Fsessions\u002Fskills\u002Fcommit\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BR5V701HCN066VEP7H4812","代码仓库协作管理","SCENARIO","使用场景",[5,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49],"message","when","check in","Existing","staged","changes","my","with","unstaged","style","commit changes","use","generated","check","work","repository","commit message","code","create","2026-11-10 10:12:30",false,"---\nname: commit\ndescription: Commit staged or unstaged changes with an AI-generated commit message that matches the repository's existing commit style. Use when the user asks to 'commit', 'commit changes', 'create a commit', 'save my work', or 'check in code'.\n---\n\u003C!-- Customize this skill and select save to override its behavior. Delete that copy to restore the built-in behavior. -->\n\n# Commit Changes\n\nHelp the user commit code changes with a well-crafted commit message derived from the diff, following the conventions already established in the repository.\n\n## Guidelines\n\n- **Never amend existing commits** without asking.\n- **Never force-push or push** without explicit user approval.\n- **Never skip pre-commit hooks** (do not use `--no-verify`).\n- **Never skip signing commits** (do not use `--no-gpg-sign`).\n- **Never revert, reset, or discard user changes** unless the user explicitly asked for that.\n- Check for obvious secrets or generated artifacts that should not be committed. If something looks risky - ask the user.\n- When in doubt about staging, convention, or message content — ask the user.\n\n## Workflow\n\n### 1. Discover the repository's commit convention\n\nRun the following to sample recent commits and the user's own commits:\n\n```\n# Recent repo commits (for overall style)\ngit log --oneline -20\n\n# User's recent commits (for personal style)\ngit log --oneline --author=\"$(git config user.name)\" -10\n```\n\nAnalyse the output to determine the commit message convention used in the repository (e.g. Conventional Commits, Gitmoji, ticket-prefixed, free-form). All generated messages **must** follow the detected convention.\n\n### 2. Check repository status\n\n```\ngit status --short\n```\n\n- If there are **no changes** (working tree clean, nothing staged), inform the user and stop.\n- If there are **staged changes**, proceed with those and do not stage any unstaged changes.\n- If there are **only unstaged changes**, stage everything (`git add -A`), and proceed with those.\n\n### 3. Generate the commit message\n\nObtain the full diff of what will be committed:\n\n```bash\ngit diff --cached --stat\ngit diff --cached\n```\n\nUsing the diff and the commit convention detected in step 1, draft a commit message with:\n\n- A **subject line** (≤ 72 characters) that summarises the change, following the repository's convention.\n- An optional **body** that explains *why* the change was made, only when the diff is non-trivial.\n- Reference issue\u002Fticket numbers when they appear in branch names or related context.\n- Focus on the intent of the change, not a file-by-file inventory.\n\n### 4. Commit\n\nConstruct the `git commit` command with the generated message.\n\nExecute the commit:\n\n```\ngit commit -m \"\u003Csubject>\" -m \"\u003Cbody>\"\n```\n\n### 5. Confirm\n\nAfter the commit:\n\n- Run `git status --short` to confirm the commit completed.\n- Run `git log --oneline -1` to show the new commit.\n- If pre-commit hooks changed files or blocked the commit, summarize exactly what happened.\n- If hooks rewrote files after the commit attempt, do not amend automatically. Tell the user what changed and ask whether they want you to stage and commit those follow-up edits.\n","\u003C!-- Customize this skill and select save to override its behavior. Delete that copy to restore the built-in behavior. -->\n\n# Commit Changes\n\nHelp the user commit code changes with a well-crafted commit message derived from the diff, following the conventions already established in the repository.\n\n## Guidelines\n\n- **Never amend existing commits** without asking.\n- **Never force-push or push** without explicit user approval.\n- **Never skip pre-commit hooks** (do not use `--no-verify`).\n- **Never skip signing commits** (do not use `--no-gpg-sign`).\n- **Never revert, reset, or discard user changes** unless the user explicitly asked for that.\n- Check for obvious secrets or generated artifacts that should not be committed. If something looks risky - ask the user.\n- When in doubt about staging, convention, or message content — ask the user.\n\n## Workflow\n\n### 1. Discover the repository's commit convention\n\nRun the following to sample recent commits and the user's own commits:\n\n```\n# Recent repo commits (for overall style)\ngit log --oneline -20\n\n# User's recent commits (for personal style)\ngit log --oneline --author=\"$(git config user.name)\" -10\n```\n\nAnalyse the output to determine the commit message convention used in the repository (e.g. Conventional Commits, Gitmoji, ticket-prefixed, free-form). All generated messages **must** follow the detected convention.\n\n### 2. Check repository status\n\n```\ngit status --short\n```\n\n- If there are **no changes** (working tree clean, nothing staged), inform the user and stop.\n- If there are **staged changes**, proceed with those and do not stage any unstaged changes.\n- If there are **only unstaged changes**, stage everything (`git add -A`), and proceed with those.\n\n### 3. Generate the commit message\n\nObtain the full diff of what will be committed:\n\n```bash\ngit diff --cached --stat\ngit diff --cached\n```\n\nUsing the diff and the commit convention detected in step 1, draft a commit message with:\n\n- A **subject line** (≤ 72 characters) that summarises the change, following the repository's convention.\n- An optional **body** that explains *why* the change was made, only when the diff is non-trivial.\n- Reference issue\u002Fticket numbers when they appear in branch names or related context.\n- Focus on the intent of the change, not a file-by-file inventory.\n\n### 4. Commit\n\nConstruct the `git commit` command with the generated message.\n\nExecute the commit:\n\n```\ngit commit -m \"\u003Csubject>\" -m \"\u003Cbody>\"\n```\n\n### 5. Confirm\n\nAfter the commit:\n\n- Run `git status --short` to confirm the commit completed.\n- Run `git log --oneline -1` to show the new commit.\n- If pre-commit hooks changed files or blocked the commit, summarize exactly what happened.\n- If hooks rewrote files after the commit attempt, do not amend automatically. Tell the user what changed and ask whether they want you to stage and commit those follow-up edits.\n",{"name":5,"description":7},"main","11ba54a90a0ff8720cf47c086f5a9948eef9cf2c","src\u002Fvs\u002Fsessions\u002Fskills\u002Fcommit",43835,"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-15 03:00:24",{"source":9,"skillName":5,"commands":66,"prompt":76,"zipAvailable":77},[67,70,73],{"tool":68,"command":69},"npx","npx skills add microsoft\u002Fvscode --skill commit",{"tool":71,"command":72},"bunx","bunx skills add microsoft\u002Fvscode --skill commit",{"tool":74,"command":75},"pnpm","pnpm dlx skills add microsoft\u002Fvscode --skill commit","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode\u002Fblob\u002Fmain\u002Fsrc\u002Fvs\u002Fsessions\u002Fskills\u002Fcommit\u002FSKILL.md",true,[],[80,88,95,102,127,153],{"skillNo":81,"name":82,"nameZh":17,"description":83,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":87},"01M7B4XRMJX3WB67XWMX3GVHNN","vscode-ui","Present metrics, comparisons, tables, bar charts, and expandable details as native visuals inside an Agents window response. Use when numbers or a comparison are clearer shown than described. Not for diagrams, mockups, or standalone documents.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode\u002Fblob\u002Fmain\u002Fsrc\u002Fvs\u002Fsessions\u002Fskills\u002Fvscode-ui\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":89,"name":90,"nameZh":17,"description":91,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":87},"01M78JJQ6C7V7NR93D5D9N2VCA","html-preview","Create visual reports, implementation plans, code-review explainers, comparisons, diagrams, and static UI mockups as inline HTML previews in the Agents window. Use when the user asks for visual or rendered output, not ordinary HTML code examples.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode\u002Fblob\u002Fmain\u002Fsrc\u002Fvs\u002Fsessions\u002Fskills\u002Fhtml-preview\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":17,"description":98,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":87},"01M78JJDRGWKHBBZY6W3GY2CQ9","endgame-status","Report VS Code endgame status, focusing on test-plan progress, tester activity, release-branch PRs, and release-build availability.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fendgame-status\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":17,"description":105,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":50},"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",[],[109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,32,48,126],"sweeper query","query","sweeper","duplicates","read","Citations","brief","ready","which","review","request","fix","plan","issues","ranking","open","only","natural-language",{"skillNo":128,"name":129,"nameZh":130,"description":131,"descriptionZh":132,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":133,"categories":134,"keywords":139,"publishedAt":50},"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.","当在会话中发现重要经验教训时，创建或更新仓库技能与指令。当用户说\"learn!\"、识别出重要模式或陷阱，或需要为未来会话捕获可复用的领域知识时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode\u002Fblob\u002Fmain\u002Fsrc\u002Fvs\u002Fsessions\u002Fskills\u002Fupdate-skills\u002FSKILL.md",[135,136],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":137,"categoryName":138,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRN0CV1NMDZ5TEJX1GVM29","插件与技能管理",[140,141,46,142,143,144,145,146,147,148,149,42,32,150,151,152,49],"update","update skills","pattern","user","sessions","instructions","domain","for","session","knowledge","reusable","learn","learnings",{"skillNo":154,"name":155,"nameZh":156,"description":157,"descriptionZh":158,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":159,"categories":160,"keywords":163,"publishedAt":50},"01M699DPWHZ72B66P82EW31RNE","update-pr","Pull Request 更新与推送","Update the pull request for the current session. Use when the user wants to push new changes to an existing PR.","更新当前会话的拉取请求（Pull Request）。当用户希望把新变更推送到已有 PR 时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode\u002Fblob\u002Fmain\u002Fsrc\u002Fvs\u002Fsessions\u002Fskills\u002Fupdate-pr\u002FSKILL.md",[161,162],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[164,140,165,166,167,36,168,147,119,148,42,34,32,143],"pr","update pr","pull","push","pull request"]