跳到正文
cccskills
免费在 GitHub 公开中文介绍

minor-release

为 Storybook 的主版本或次版本汇总预发布版本中的变更,排除已纳入补丁版本的内容,选出重点更新,并将重点与完整变更列表写入 CHANGELOG.md。

原文查看原文说明

Write the changelog entry for a new minor or major Storybook release. Use when preparing a CHANGELOG.md entry for a X.Y.0 version.

实测评分 未实测

查看安装方法

适用场景

  • 准备发布 Storybook 次版本
  • 总结主版本的重要更新
  • 汇总多个预发布版本的变更
  • 写入前预览变更日志

中文介绍

功能

为 Storybook 的主版本或次版本编写 CHANGELOG.md 条目。辅助脚本会汇总预发布版本中的变更,并排除已纳入补丁版本的内容。随后从列表中选出重要新功能、新增的环境支持、开发体验及性能改进,将这些重点与完整变更列表合并。

适用场景

适合在经历多个预发布版本后准备正式发布,或为变更多的版本整理摘要。通常选择四至八项重点;重要变更不足时不会凑数。错误修复和维护工作不列为重点,但仍保留在完整变更列表中。

使用示例

  • “为下一个 Storybook 次版本编写变更日志。”
  • “选出主版本的重要更新,生成 CHANGELOG.md 条目。”
  • “写入之前,先预览完整的版本条目。”

注意事项

仅适用于 X.Y.0 格式的版本。需要在仓库根目录使用 node 运行指定的两个 TypeScript 辅助脚本。可以指定版本,也可以根据最近的预发布版本自动识别。已有的同版本条目会被覆盖。使用 --dry-run 可在写入前查看结果。

本介绍由 AI(OpenAI Codex)根据公开的 SKILL.md 撰写。准确的规格请查看下方原文。

文档检查

AI 根据 SKILL.md 的内容检查了需要注意的操作和使用前提。评分只依据实际运行的结果(实测对比)。

安全性发送数据、删除文件、执行命令等是否有说明
B部分不足说明了覆盖同版本条目及预览方法,但未要求写入前确认。
安装难易度所需工具和 API 密钥是否少且有说明
B部分不足明确列出 node 命令和辅助脚本路径,但未说明运行环境的安装方法。

不计入评分。 由 AI(OpenAI Codex)于 2026年10月21日 评估。仅供参考,安装前请同时查看原文。

如果您认为评估有误,请申请复核

请写明哪一项有误以及原因。无需登录。我们会对照 SKILL.md 重新评估,并在此处更新结果。

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

包含的文件(3)

  • SKILL.md6.3 KB
  • get-minor-changelog-summary.ts6.9 KB
  • write-minor-changelog-section.ts5.0 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Write Minor/Major Release Changelog

Assembles and writes a polished changelog entry for a Storybook minor or major (X.Y.0) release into CHANGELOG.md.

Rules — read before doing anything

  • The two helper scripts are at .agents/skills/minor-release/get-minor-changelog-summary.ts and .agents/skills/minor-release/write-minor-changelog-section.ts. Do not search for them anywhere else in the repo. Do not look in scripts/, package.json, AGENTS.md, or elsewhere. Do not read the script source files. Just run them.
  • Do not read CHANGELOG.md or CHANGELOG.prerelease.md before running the scripts. The scripts handle version detection and entry collection automatically.
  • Do not read CHANGELOG.md for style guidance. The style examples in Step 3 of this skill are the authoritative reference. Do not grep or read the changelog to infer format.
  • Run all commands from the repository root.

Step 1: Collect the changelog entries

Run the helper script to see all unique changelog entries from the prereleases, with patch-backported changes filtered out:

node .agents/skills/minor-release/get-minor-changelog-summary.ts [version]
  • Omit [version] to auto-detect from the most recent prerelease in CHANGELOG.prerelease.md
  • Pass --verbose to see which prerelease versions were found and how many patch PRs were filtered
  • The output is a plain list of - Entry text lines, one per change

Read the output carefully — you will use these entries in Step 2 to choose highlights.

Step 2: Select highlights

From the entries collected in Step 1, identify the 4–8 most significant changes to feature as highlights. If fewer than 4 significant changes exist, include all available significant changes rather than padding the list with minor items. Good candidates:

  • Major new features or capabilities
  • New framework/ecosystem support (new renderer, builder, or major version support)
  • Prominent DX or performance improvements
  • Significant experimental features worth calling out

Exclude from highlights (they still belong in the full list):

  • Bug fixes
  • Maintenance, cleanup, dependency updates
  • Minor improvements or internal refactors
  • Reverts

Step 3: Compose the highlights text

Based on the entries from Step 2, write the highlights section — the text that goes between the ## X.Y.0 heading and the full entry list. This is what you will pass to the write script. Follow the Writing style rules below.

Writing style

The highlights text should contain only these parts, in order:

  • An optional tagline line in the form > _..._
  • One intro sentence
  • One or more highlight bullet lists

Do not include the ## X.Y.0 heading — the script adds that.

The default format is:

> _Tagline phrase_

Storybook X.Y [intro sentence]:

- 🔣 Highlight one: brief description
- 🔣 Highlight two: brief description
- 🔣 Highlight three: brief description

For releases with 7-8 highlights, a second group of bullets with its own intro sentence is fine (see 10.1.0 example).

Style rules:

  • The tagline is wrapped in > _italics_. It is a short (5–10 word) noun phrase summarising the release theme — no verbs, no "we".
  • Each highlight bullet: relevant emoji, feature/area name, brief description. Terse and specific.
  • The intro sentence uses Storybook X.Y contains hundreds of fixes and improvements including: for most releases. For a major version, the intro is more impactful (see 10.0.0 example).

Examples

10.3.0 — a typical release with a single highlight group:

> _Improved developer experience, AI-assisting tools, and broader ecosystem support_

Storybook 10.3 contains hundreds of fixes and improvements including:

- 🤖 Storybook MCP: Agentic component dev, docs, and test (Preview release for React)
- ⚡ Vite 8 support
- ▲ Next.js 16.2 support
- 📝 ESLint 10 support
- 〰️ Addon Pseudo-States: Tailwind v4 support
- 🔧 Addon-Vitest: Simplified configuration - no more setup files required
- ♿ Numerous accessibility improvements across the UI

10.1.0 — a release with multiple highlight groups:

> _Easier to setup, more accessible to use_

Storybook 10.1 focuses on two key improvements: installation and accessibility:

- ♿ UI overhaul to fix hundreds of a11y issues
- 🧑‍💻 CLI overhaul for faster, more reliable install
- ✅ Checklist-based onboarding guide for new users

The release also contains compatibility fixes for:

- 🅰️ Angular 21 support
- 🦀 RSbuild install support in CLI
- ⚡️ Preact support for Vitest addon

Finally, it contains two highly-requested experimental features:

- 📋 Component manifest for Storybook MCP
- ⚛️ Improved JSX code snippets for React

10.0.0 — a major release with a more impactful intro (no > tagline, two-sentence intro):

Storybook 10 contains one breaking change: it's ESM-only. This simplifies our distribution and reduces install size by 29% while simultaneously unminifying dist code for easier debugging.
It also includes features to level up your UI development, documentation, and testing workflows:

- 🧩 Module automocking for easier testing
- 🏭 Typesafe CSF factories Preview for React
- 💫 UI editing and sharing optimizations
- 🏷️ Tag filtering exclusion and configuration for sidebar management
- 🔀 Next 16, Vitest 4, Svelte async components, and more!

Step 4: Write the changelog entry

Pass the highlights text to the write script via stdin. The script will call the summary script internally, combine the full entry list with your highlights, and write the complete section to CHANGELOG.md — inserting at the top or overwriting any existing section for this version.

node .agents/skills/minor-release/write-minor-changelog-section.ts [version] << 'HIGHLIGHTS'
> _Your tagline here_

Storybook X.Y contains hundreds of fixes and improvements including:

- 🔣 Highlight one
- 🔣 Highlight two
HIGHLIGHTS

Use --dry-run to preview the composed section before writing:

node .agents/skills/minor-release/write-minor-changelog-section.ts --dry-run << 'HIGHLIGHTS'
...
HIGHLIGHTS

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

canary

免费有简介

查找Storybook指定分支的试验版软件包,必要时执行发布流程,跟踪发布状态,并提供用于新建项目或更新现有项目的命令。

  • 查找指定分支的试验版
  • 发布来自派生仓库的拉取请求试验版
  • 确认发布状态与安装命令
storybookjs/storybook9.1万2026年10月23日 更新

component-docs

免费有简介

通过Storybook查询项目现有界面组件、配置参数和使用示例,用于回答组件用法问题,并在重复实现前判断能否复用现有组件。

  • 查找现有界面组件
  • 查看组件配置参数和使用示例
  • 询问组件用法
storybookjs/storybook9.1万2026年10月23日 更新

docs-review

免费有简介

根据读者和页面目的,审核、改进或新写Storybook的/docs文档。既可调整结构和示例、统一格式,也可讨论页面定位与文档规划。

  • 改进说明页面的结构和示例
  • 起草新功能文档
  • 讨论页面类型和目录
storybookjs/storybook9.1万2026年10月23日 更新

检出GitHub的PR,修复lint代码规范问题和TypeScript类型错误,完成提交与推送。支持来自分支仓库的PR,并通过重复类型检查验证修复。

  • 修复PR中的lint错误
  • 修复PR中的TypeScript错误
  • 修复来自分支仓库的PR
storybookjs/storybook9.1万2026年10月23日 更新

github-qa-labels

免费有简介

为QA测试发现的GitHub Issue和PR添加发布版本追踪标签,并按影响程度与变通方案为漏洞分类。支持批量添加标签,严重程度标签仅用于程序缺陷。

  • 按发布版本整理QA发现的问题
  • 划分程序缺陷的严重程度
  • 批量为Issue和PR添加标签
storybookjs/storybook9.1万2026年10月23日 更新

handle-pr-comments

免费有简介

逐条整理 GitHub 拉取请求中尚未解决的审查意见,说明问题并提出修改方案,再按用户选择修改代码、回复或跳过,处理提交及将讨论标为已解决。

  • 处理 PR 中未解决的审查意见
  • 选择修改、回复或跳过
  • 合并处理重复审查意见
storybookjs/storybook9.1万2026年10月23日 更新

查看 storybookjs 的全部技能

报告此技能的问题