Skip to main content

mui-release

Run or assist a release in any MUI repo, at any stage - release PR, npm publish, docs deploy, GitHub release.

来源信息

仓库
mui/material-ui
最近来源活动
2026年10月6日 05:47
检测到的 SKILL.md 语言
英语
星标
99,272
分支
32,490

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
5 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
mui-release
description
Run or assist a release in any MUI repo, at any stage - release PR, npm publish, docs deploy, GitHub release.
argument-hint
[target-version]
# MUI Release Every MUI repo releases through the same staged pipeline. Each stage depends on the previous one completing — never start a stage before its predecessor is done. This skill describes the shared skeleton; the details vary per repo. **Resumable:** the skill can be invoked at any stage — a release often spans multiple sessions (e.g. the PR was created and merged earlier, and the user now wants to trigger the npm publish). In the pipeline diagram below, each arrow out of a stage states the observable evidence that the stage is complete: resume at the first stage whose evidence is missing. Confirm the detected stage with the user before continuing; earlier stages' outputs are inputs, not work to redo. **Source of truth:** the target repo's `scripts/README.md` is the authoritative, evolving runbook. Always read it in the target checkout before releasing; use this skill to know what the stages mean and what to expect. Where the README contradicts this skill, the README wins. Repo-specific steps (docs release pages, hotfix flows, prerelease progressions, docs-only deploys, first-time package publishing) live only there. Repos without that runbook: read their release workflow directly. ## The pipeline Each stage's instructions live in its own file — after detecting and confirming the current stage, read **that stage's file**: ```mermaid flowchart TD S1["Stage 1: Prepare the release PR\n(stage-1-prepare-pr.md)"] S2["Stage 2: Merge the PR, then publish\n(stage-2-publish-packages.md)"] S3["Stage 3: Publish the docs\n(stage-3-publish-docs.md)"] S4["Stage 4: Publish the GitHub release, then announce\n(stage-4-github-release.md)"] S1 -- "open PR with the release label,\napproved, CI green" --> S2 S2 -- "release PR merged, packages on npm at\nthe new version, draft GitHub release created" --> S3 S3 -- "docs live for the new version" --> S4 S4 -- "published non-draft GitHub release for the\ncurrent root package.json version\n(release done, next one starts at Stage 1)" --> S1 ``` Verify each stage's evidence with read-only commands (run in the target checkout; `<version>` is the root `package.json` version): ```bash # release PR: open (stage 1) or merged (stage 2 done merging) gh pr list --label release --state open --json number,title,reviewDecision gh pr list --label release --state merged --limit 1 --json number,title,mergedAt gh pr checks <number> # CI green? # packages on npm at the new version npm view <main-package>@<version> version # GitHub release: exists? still a draft? gh release list --limit 5 --json tagName,isDraft,isLatest gh release view "v<version>" --json tagName,isDraft # docs live for the new version curl -s <docs-url> | grep "<version>" # or check the Netlify dashboard ```
在 GitHub 查看