pr-changeset-finalize
Automates the entire PR finalization process for pnpm monorepos including changesets and git cleanup.
Install
mkdir -p .claude/skills/pr-changeset-finalize && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/14158" && unzip -o skill.zip -d .claude/skills/pr-changeset-finalize && rm skill.zipInstalls to .claude/skills/pr-changeset-finalize
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Automatiza o fluxo de finalizar uma PR em um monorepo pnpm + Changesets — gera o arquivo de changeset perguntando major/minor/patch, aplica o bump em todos os pacotes do workspace, escreve o Summary analisando o diff real da branch, roda build/lint/test localmente, confere checks de CI e mergeabilidade da PR no GitHub, faz rebase na main, força o push, dá squash-merge e limpa as branches local e remota. Use sempre que o usuário pedir para 'finalizar a PR', 'fechar essa branch', 'fazer o changeset', 'subir o changeset', 'mergear a PR', ou mencionar pnpm changeset, gh pr merge, force-with-lease ou 'feature branch' em um contexto de monorepo — mesmo que ele só peça uma parte do fluxo (ex: 'gera o changeset dessa branch pra mim') ou não use a palavra 'skill'.Key capabilities
- →Generate changeset files for monorepos
- →Apply version bumps to all workspace packages
- →Analyze diffs to write changeset summaries
- →Run local build, lint, and test checks
- →Perform rebase on main and check PR mergeability
How it works
The skill automates the PR finalization workflow by generating a changeset, applying version bumps, running local checks, rebasing, and then merging the PR. It includes verification steps before irreversible actions.
Inputs & outputs
When to use pr-changeset-finalize
- →Finalizing prs in monorepos
- →Generating automated changesets
- →Merging feature branches
- →Syncing workspace versions
About pr-changeset-finalize
Streamlines PR closure in monorepos by automating changeset generation, package versioning, build/lint checks, CI verification, and safe merging/branch cleanup.
>-
When not to use it
- →When the project is not a pnpm monorepo with Changesets configured
- →When the `gh` CLI is not authenticated
- →When there are uncommitted changes that the user has not explicitly instructed to handle
Limitations
- →The workflow assumes pnpm as the package manager
- →The workflow assumes 'main' as the base branch
- →The workflow assumes `gh` CLI is authenticated with squash-merge permission
How it compares
This skill provides an automated, verified, and structured process for finalizing PRs in monorepos, reducing the risk of errors compared to a manual, multi-step process.
Compared to similar skills
pr-changeset-finalize side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| pr-changeset-finalize (this skill) | 0 | 5mo | Review | Intermediate |
| fix-dependabot-prs | 1 | 10mo | Review | Intermediate |
| monorepo | 1 | 5mo | Review | Intermediate |
| sprint | 1 | 9mo | Review | Advanced |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
fix-dependabot-prs
bannzai
dependabotから上がってきた複数のPRを一括で解決し、まとめPRを作成する。dependabotのPR対応を依頼された時に使用。
monorepo
EpicenterHQ
Monorepo script commands and conventions for this codebase. Use when running builds, tests, formatting, linting, or type checking.
sprint
meta-pytorch
Work on a batch of GitHub issues in parallel using Agent Teams. Creates one worktree per issue with TDD enforcement, coordinates via a lead agent, then produces stacked PRs.
ghs-issue-implement
Atypical-Consulting
>
turborepo
vercel
Turborepo monorepo build system guidance. Triggers on: turbo.json, task pipelines, dependsOn, caching, remote cache, the "turbo" CLI, --filter, --affected, CI optimization, environment variables, internal packages, monorepo structure/best practices, and boundaries. Use when user: configures tasks/workflows/pipelines, creates packages, sets up monorepo, shares code between apps, runs changed/affected packages, debugs cache, or has apps/packages directories.
github-workflow-automation
ruvnet
Advanced GitHub Actions workflow automation with AI swarm coordination, intelligent CI/CD pipelines, and comprehensive repository management