Changeset — Git skill for Claude Code
Generate a changeset file for the changes on the current branch.
How to install Changeset
Installs to ~/.claude/commands/strataljs-stratal-changeset.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/strataljs/stratal/HEAD/.claude/commands/changeset.md -o ~/.claude/commands/strataljs-stratal-changeset.md Restart Claude Code, or start a new session, for it to be picked up.
What Changeset does
Generate a changeset file for the changes on the current branch.
Instructions
- Determine the base branch by checking if this branch tracks an upstream, otherwise default to
main. - Run
git log ..HEAD --onelineto get all commits on this branch. - Run
git diff ...HEAD --statto identify which packages were changed. - Run
git diff ...HEADto read the actual code changes. - Check
.changeset/for existing changeset files (ignoreconfig.jsonandREADME.md) t
Alternatives in Git
- Ws Reset — Reset the current branch to main, fetch upstream, and update submodules 38.1k ★
- PR Summary — Generate a pull request summary for the current branch 5.8k ★
- MiniCode Roadmap — MiniCode already has a usable lightweight terminal coding workflow, but there is still a visible gap between t 388 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Git Context
!git status --short !git branch --show-current !git log -3 --oneline !git diff --stat --- Based on the changes
Load Branch Changes
Load current branch changes (diff, commits, files) into session context.
Git Pull
Pull the latest changes from the remote for the current branch.
PR Template
Generate a pull request description for the current branch by analyzing all commits and changes since divergin
Cdd Pre PR
Run a pre-PR checklist for the current branch. Compare against the base branch to identify all changes. This i
Prp PR
Create a GitHub PR from current branch with unpushed commits — discovers templates, analyzes changes, pushes
Related Agents
Git Manager
Use this agent when you need to stage, commit, and push code changes to the current git branch while ensuring
Compare Branch
Compare current branch vs main/staging — changes, risk assessment, merge readiness.
Tp PR Reviewer
PROACTIVELY use this when the user asks to review a diff, PR, commit range, or changeset ("review these change