prepare-changesets
✓GitHub-specific workflow to recompose a large, review-ready source branch into an ordered chain of smaller changesets (stacked branches + GitHub PRs) that preserve behavior and improve reviewability. Use when working with GitHub PR stacks via the gh CLI to split monolithic branches, create stacked PRs, merge reviewed changesets, and propagate/update downstream PR bases after merges.
Installation
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-specific workflow to recompose a large, review-ready source branch into an ordered chain of smaller changesets (stacked branches + GitHub PRs) that preserve behavior and improve reviewability. Use when working with GitHub PR stacks via the gh CLI to split monolithic branches, create stacked PRs, merge reviewed changesets, and propagate/update downstream PR bases after merges. Source: shaug/agent-scripts.
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/shaug/agent-scripts --skill prepare-changesets- Source
- shaug/agent-scripts
- Category
- >_Productivity
- Verified
- ✓
- First Seen
- 2026-02-01
- Updated
- 2026-02-18
Quick answers
What is prepare-changesets?
GitHub-specific workflow to recompose a large, review-ready source branch into an ordered chain of smaller changesets (stacked branches + GitHub PRs) that preserve behavior and improve reviewability. Use when working with GitHub PR stacks via the gh CLI to split monolithic branches, create stacked PRs, merge reviewed changesets, and propagate/update downstream PR bases after merges. Source: shaug/agent-scripts.
How do I install prepare-changesets?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/shaug/agent-scripts --skill prepare-changesets Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Where is the source repository?
https://github.com/shaug/agent-scripts
Details
- Category
- >_Productivity
- Source
- skills.sh
- First Seen
- 2026-02-01