·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

暫無