为已暂存或未暂存代码创建提交,并自动生成符合仓库风格的提交信息
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "commit" 技能: 1. 下载 https://raw.githubusercontent.com/microsoft/vscode/main/src/vs/sessions/skills/commit/SKILL.md 2. 保存为 ~/.claude/skills/commit/SKILL.md 3. 装好后重载技能,告诉我可以用了
请把当前仓库里的改动提交掉,提交信息要符合这个项目现有的 commit 风格。
完成一次代码提交,并生成与仓库历史风格一致的提交信息。
帮我把这些还没暂存的修改一起处理并提交,信息简洁明确,遵循仓库惯例。
将相关修改纳入提交,并输出一条清晰、规范的提交记录。
我已经做完这个功能,请创建一个 commit,并根据改动内容自动写提交说明,保持和历史提交一致。
生成一条概括本次功能改动的提交,并保持提交语气和格式统一。
Help the user commit code changes with a well-crafted commit message derived from the diff, following the conventions already established in the repository.
--no-verify).--no-gpg-sign).Run the following to sample recent commits and the user's own commits:
# Recent repo commits (for overall style)
git log --oneline -20
# User's recent commits (for personal style)
git log --oneline --author="$(git config user.name)" -10
Analyse 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.
git status --short
git add -A), and proceed with those.Obtain the full diff of what will be committed:
git diff --cached --stat
git diff --cached
Using the diff and the commit convention detected in step 1, draft a commit message with:
Construct the git commit command with the generated message.
Execute the commit:
git commit -m "<subject>" -m "<body>"
After the commit:
git status --short to confirm the commit completed.git log --oneline -1 to show the new commit.帮助开发者定位并读取 Code OSS 开发构建日志,快速排查运行与扩展问题。
帮助开发者新增、修改或审查 VS Code 配置策略,并生成平台相关产物。
帮助开发者验证 Azure DevOps 流水线改动,快速排查构建与 YAML 配置问题。
在隔离环境启动 VS Code OSS,便于联动自动化操作与多进程调试。
运行聊天性能基准与内存泄漏检查,定位聊天界面回归和性能问题。
帮助开发者创建和维护组件截图测试夹具,并优化组件的可测试性。
基于代码差异生成规范化 Git 提交信息,并支持按逻辑分组提交
根据当前会话中的代码改动,快速创建可提交的拉取请求。
为当前会话中的代码改动快速创建草稿拉取请求,便于协作评审。
为 AI 编码助手生成或更新聊天定制配置文件,统一协作与开发体验
帮助用户把当前会话中的新代码变更更新到已有拉取请求中
在实现完成后协助提交代码、推送分支并发起拉取请求与自动审查。