This automates the full PR workflow for a pnpm monorepo that uses Changesets for versioning. It figures out which packages changed, makes sure you have a changeset file (or creates one), runs the build to catch breaks early, then opens a PR with the right template and conventional commit title. The key insight is that Changesets-driven repos need a .changeset/*.md file in every release-worthy PR or the change never ships, so this enforces that before you even get to review. Built for a Japanese/English team (responds to "PRを作成"), but the PR itself always comes out in English per repo rules. Saves you from the "merged but never released" trap.

GitHub stars
5.1K
last updated
Jun 11, 2026

Install

$ npx -y skills add breaking-brake/cc-wf-studio --skill pr-to-main --agent claude-code

Installs into .claude/skills of the current project.

Files

PR to Main Branch

Create a PR for a feature/fix branch targeting main in the cc-wf-studio monorepo.

This is a pnpm monorepo with four packages (packages/core, packages/mcp, packages/cli, packages/vscode) and versioning is driven by Changesets, not commit messages. Two monorepo facts shape this workflow:

  • A release-worthy change must ship with a .changeset/*.md file in the same PR. Without it, the change merges but never gets released — and pending changesets later block promotion to production.
  • Knowing which package(s) changed drives the changeset target, the PR scope, and the commit scope (e.g. fix(vscode):).

So the job here is not just "open a PR" — it's "open a PR that the release pipeline can actually act on."

Workflow

  1. Gather context (run in parallel):
    • git status (no -uall)
    • git diff (staged + unstaged) and git diff origin/main...HEAD for the full branch delta
    • git log origin/main..HEAD --oneline for every commit on the branch
    • Check whether the branch tracks a remote and needs pushing
    • ls .changeset/*.md to see whether a changeset already exists

Sponsors

Details

Repository
github.com/breaking-brake/cc-wf-studio
Categories
DevOps & CI/CD, Git & Pull Requests, Code Review & Quality, Release Management, Debugging, Automation & Workflows, Sales & Marketing
First seen
Jun 11, 2026

More from breaking-brake/cc-wf-studio

All 7
1butterbase-ai avatarjourneybutterbase-ai/butterbase-skillsThis is the top-level orchestrator that walks you from "I want to build X" all the way to a deployed Butterbase app, and if you're in a...0skills.sh installs
2butterbase-ai avatarjourney-agentsbutterbase-ai/butterbase-skillsUse as the agents build stage of the Butterbase journey. Implements the Agents section of 02-plan.md by delegating to the `agents` skill for each agent. Registe0skills.sh installs
3butterbase-ai avatarjourney-rlsbutterbase-ai/butterbase-skillsUse as the RLS build stage of the Butterbase journey, after journey-schema. Implements the RLS section of 02-plan.md by delegating to debug-rls policy patterns 0skills.sh installs
4butterbase-ai avatarjourney-submitbutterbase-ai/butterbase-skillsUse as the final stage of the Butterbase journey when hackathon_mode is true and journey-deploy has passed. Resolves which hackathon to submit to (asking the us0skills.sh installs
5davila7 avatarLinux Production Shell Scriptsdavila7/claude-code-templatesThis skill should be used when the user asks to "create bash scripts", "automate Linux tasks", "monitor system resources", "backup files", "manage users", or "w0skills.sh installs
6github avataraws-cloudwatch-investigationgithub/awesome-copilotReusable investigation patterns for AWS CloudWatch: Logs Insights query templates, alarm-to-deployment correlation, blast-radius narrowing decision tree, and Pr0skills.sh installs