·generating-patches
</>

generating-patches

oaustegard/claude-skills

根据本地应用程序的代码库修改生成 git 补丁文件。当用户提及补丁、差异、导出更改、恢复更改、本地应用或编辑上传的代码库后使用。

5安装·1热度·@oaustegard

安装

$npx skills add https://github.com/oaustegard/claude-skills --skill generating-patches

SKILL.md

Generate portable git patch files from codebase modifications, enabling users to apply Claude's edits to their local repositories.

Activate after modifying files in an uploaded codebase when the user needs to transfer changes back to their local environment. Typical workflow: user uploads zip → Claude edits files → this skill exports changes as a patch.

Verify git is available and the working directory is a git repository (or can be initialized as one):

根据本地应用程序的代码库修改生成 git 补丁文件。当用户提及补丁、差异、导出更改、恢复更改、本地应用或编辑上传的代码库后使用。 来源:oaustegard/claude-skills。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/oaustegard/claude-skills --skill generating-patches
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 generating-patches?

根据本地应用程序的代码库修改生成 git 补丁文件。当用户提及补丁、差异、导出更改、恢复更改、本地应用或编辑上传的代码库后使用。 来源:oaustegard/claude-skills。

如何安装 generating-patches?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/oaustegard/claude-skills --skill generating-patches 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/oaustegard/claude-skills