·prepare-changesets
>_

prepare-changesets

shaug/agent-scripts

GitHub 特定工作流,将大型、可审查的源分支重组为有序的小型变更集链(堆叠分支 + GitHub PR),保留行为并提高可审查性。在使用 gh CLI 处理 GitHub PR 堆栈时使用,用于拆分单体分支、创建堆叠 PR、合并已审查的变更集,以及合并后传播/更新下游 PR 基础。

4安装·0热度·@shaug

安装

$npx skills add https://github.com/shaug/agent-scripts --skill prepare-changesets

SKILL.md

Follow the spec and keep the source branch immutable. Use an incremental, append-only planning approach: propose the next changeset, validate it, then append the plan.

Require a clean working tree and valid base/source branches. Treat the source branch as immutable reference state. Never modify, rebase, or rewrite it as part of this process. Preflight simulates merging the source into the base on a temporary branch and runs the test command on the source branch. The source

branch must include the current base HEAD; if it is behind, stop unless the user explicitly approves proceeding.

GitHub 特定工作流,将大型、可审查的源分支重组为有序的小型变更集链(堆叠分支 + GitHub PR),保留行为并提高可审查性。在使用 gh CLI 处理 GitHub PR 堆栈时使用,用于拆分单体分支、创建堆叠 PR、合并已审查的变更集,以及合并后传播/更新下游 PR 基础。 来源:shaug/agent-scripts。

查看原文

可引用信息

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

安装命令
npx skills add https://github.com/shaug/agent-scripts --skill prepare-changesets
分类
>_效率工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 prepare-changesets?

GitHub 特定工作流,将大型、可审查的源分支重组为有序的小型变更集链(堆叠分支 + GitHub PR),保留行为并提高可审查性。在使用 gh CLI 处理 GitHub PR 堆栈时使用,用于拆分单体分支、创建堆叠 PR、合并已审查的变更集,以及合并后传播/更新下游 PR 基础。 来源:shaug/agent-scripts。

如何安装 prepare-changesets?

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

这个 Skill 的源码在哪?

https://github.com/shaug/agent-scripts

详情

分类
>_效率工具
来源
skills.sh
收录时间
2026-02-01

相关 Skills

暂无