跳到正文
cccskills
免费在 GitHub 公开

release

Create a new zen-ui release with proper version bump, build, tag, and GitHub release with HACS-compatible asset. Use when the user says "make a release", "cut a release", "bump version", "publish a new version", "release X.Y.Z", or anything about releasing/publishing zen-ui.

中文简介正在准备中。当前显示原文说明。

集成工具GitHub
查看安装方法

包含的文件(1)

  • SKILL.md1.9 KB

SKILL.md(原文)

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

Release

Create a release using the justfile recipes. The release script handles: version bump in package.json, lint/format/test checks, build, git commit + tag, push, and GitHub release creation with the built zen-ui.js asset (required for HACS installs).

Workflow

Step 1: Determine the version

If the user provided a version (e.g., "release 1.3.0"), use it.

If not, check the current version and recent changes to suggest one:

just version
git log --oneline $(git describe --tags --abbrev=0)..HEAD

Based on commits since last tag, suggest a version following semver:

  • patch (1.2.x): bug fixes only
  • minor (1.x.0): new features, backwards compatible
  • major (x.0.0): breaking changes

Ask the user to confirm the version before proceeding.

Step 2: Verify clean state

git status --short

If there are uncommitted changes, warn the user and ask whether to proceed or stash first. The release script commits only package.json, so other changes won't be included in the release commit but could cause confusion.

Step 3: Run the release

just release <version>

This runs scripts/release.sh which does everything: version bump, checks, build, commit, tag, push, and gh release create with dist/zen-ui.js attached.

Step 4: Verify

After the release completes, confirm success:

gh release view v<version> --json tagName,assets --jq '{tag: .tagName, assets: [.assets[].name]}'

Verify that zen-ui.js appears in the assets list — this is critical for HACS installs. If the asset is missing, notify the user immediately. Do not attempt to fix it automatically.

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

ha-sync

免费

Sync zen-ui plugin to local Home Assistant. Use when user asks to sync, deploy, or push to HA.

中文简介正在准备中。当前显示原文说明。

shashanktomar/zen-ui162026年3月26日 更新

Label unlabeled GitHub issues with priority and type labels. Use when triaging issues, cleaning up the backlog, or when asked to label/triage issues.

中文简介正在准备中。当前显示原文说明。

shashanktomar/zen-ui162026年3月26日 更新

查看 shashanktomar 的全部技能

报告此技能的问题