通用编程101k · #1116
share-github-pr
它能做什么
这个工具可以帮你准备代码或项目,并提交到 GitHub 仓库中等待审查。它会整理好创建“拉取请求”(pull request)所需的信息。
适用场景
- ✓当你完成一个新功能,想把它加入一个更大的项目时。
- ✓当你修复了一个 bug,想让修复内容合并到主项目中时。
- ✓当你想分享对现有项目的改进或更新时。
技能链接
https://github.com/nexu-io/open-design/blob/main/plugins/spec/examples/share-github-pr/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
请用这个技能帮我:https://github.com/nexu-io/open-design/blob/main/plugins/spec/examples/share-github-pr/SKILL.md
阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
npx skills add nexu-io/open-design --skill share-github-pr
下载 SKILL.md,放进智能体的技能文件夹。
curl -L https://raw.githubusercontent.com/nexu-io/open-design/main/plugins/spec/examples/share-github-pr/SKILL.md -o SKILL.md
可以这样问 AI
“我想把最新的修改提交到主项目仓库。”
每周 5 个新技能,1 分钟读完。
工作原理
工具会先检查代码应该放在哪里,以及它的作用。然后它会总结这些修改,测试一切是否正常,并准备好以审查请求的形式发送到 GitHub,同时给你一个链接,方便你跟踪进度。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Share GitHub PR
Workflow
- Confirm the target repository, branch, and PR intent before making externally visible changes.
- Read the changed artifact or plugin folder and create a concise PR summary.
- Run available validation commands.
- Stage only relevant files.
- Open or prepare the PR and report the URL or exact next command.
Output Contract
Produce pr-summary.md and a PR URL or prepared branch summary.
常见问题
什么是“拉取请求”(pull request)?
它是一种请求,用于让别人审查你的代码修改。如果审查通过,这些修改就会被合并到主项目中。
什么是“仓库”(repository)?
它就像一个在线文件夹,用来存放和整理代码项目。
工具会自动发送我的代码吗?
不会。它会准备好一切,并给你一个链接或下一步的命令,由你来完成审查请求的提交。
详情
作者的原始描述
Use this plugin when the user wants to package an accepted plugin or artifact as a GitHub pull request for OpenDesign or another target repository.
repo: nexu-io/open-design
热度
- GitHub 星标
- 101k
- 排名
- #1116
- 许可证
- Apache-2.0
- 更新时间
- 2026/10/15
评论
- …