pr-to-main

仓库创建 2025年11月2日最近提交 17 小时前SkillHot 收录 20 天前
▸ 精选理由

对该 monorepo 的贡献者可自动化处理 changeset 与打包准备流程。

▸ 风险提示

需要对仓库有写入权限并会创建提交/分支与变更集,需授权。

这个 Skill 做什么

为 pnpm + Changesets 单体仓库生成面向 main 的 PR,确保 affected package 与 changeset 合规。

在 pnpm + Changesets 的单体仓库里,把功能/修复分支做成面向 main 的 PR,确保受影响的 package 被正确识别并且有对应的 changeset 文件。做变更提交、准备发布或请求 review 时用它,关键点是发布流程由 Changesets 驱动,不能缺少 .changeset 文件。

▸ 展开 SKILL.md 英文原文

Create a PR to the main branch for feature/fix changes in this pnpm + Changesets monorepo. Use when the user says "PRを作成", "mainにPR", or wants to submit changes for review. Always run this in the monorepo-aware way — identify the affected package(s) and make sure a changeset exists, because the release pipeline is Changesets-driven.

开发编程monorepoChangesetspnpmPR 创建通用
5.3k
Stars
571
Forks
12
仓库内 Skill
+26
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/breaking-brake/cc-wf-studio/main/.claude/skills/pr-to-main/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/breaking-brake/cc-wf-studio/main/.claude/skills/pr-to-main/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# 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'
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有