Agent Skillsdyad-sh/dyad › dyad:promote-beta-to-stable

dyad:promote-beta-to-stable

GitHub

自动将 dyad 项目的最新预发布版本提升为稳定版,包括查找预发布标签、创建发布分支、修改版本号并推送。

.claude/skills/promote-beta-to-stable/SKILL.md dyad-sh/dyad

Trigger Scenarios

需要将 beta 版本升级为正式稳定版 执行自动化发布流程中的版本提升步骤

Install

npx skills add dyad-sh/dyad --skill dyad:promote-beta-to-stable -g -y
More Options

Non-standard path

npx skills add https://github.com/dyad-sh/dyad/tree/main/.claude/skills/promote-beta-to-stable -g -y

Use without installing

npx skills use dyad-sh/dyad@dyad:promote-beta-to-stable

指定 Agent (Claude Code)

npx skills add dyad-sh/dyad --skill dyad:promote-beta-to-stable -a claude-code -g -y

安装 repo 全部 skill

npx skills add dyad-sh/dyad --all -g -y

预览 repo 内 skill

npx skills add dyad-sh/dyad --list

SKILL.md

Frontmatter
{
    "name": "dyad:promote-beta-to-stable",
    "description": "Promote the latest pre-release to a stable release by creating a release branch, bumping the version, and pushing."
}

Promote Beta to Stable

Promote the latest pre-release of dyad-sh/dyad to a stable release.

IMPORTANT: This skill MUST complete all steps autonomously. Do NOT ask for user confirmation at any step.

Instructions

  1. Look up the latest pre-release:

    gh release list --repo dyad-sh/dyad --limit 10 --json tagName,isPrerelease
    

    Find the most recent release where isPrerelease is true. Extract the version from the tag name (e.g., v0.39.0-beta.1).

    If no pre-release is found, report this and stop.

  2. Get the commit for the pre-release tag:

    git fetch upstream --tags
    git rev-parse <tag>
    

    Where <tag> is the tag name from step 1 (e.g., v0.39.0-beta.1).

  3. Determine the release branch name:

    Parse the version to extract MAJOR and MINOR components. The branch name should be release-MAJOR.MINOR.x.

    For example:

    • v0.39.0-beta.1release-0.39.x
    • v1.2.0-beta.3release-1.2.x
  4. Create the release branch from the pre-release commit:

    git checkout -b release-MAJOR.MINOR.x <commit-sha>
    
  5. Bump the version in package.json:

    Read package.json and change the version field from the pre-release version to the stable version by stripping the pre-release suffix.

    For example:

    • 0.39.0-beta.10.39.0
    • 1.2.0-beta.31.2.0

    Use the Edit tool to make this change.

  6. Create the commit:

    Stage and commit the change:

    git add package.json
    git commit -m "Bump to v<STABLE_VERSION>"
    

    For example: git commit -m "Bump to v0.39.0"

  7. Push the branch to upstream (dyad-sh/dyad):

    git push upstream release-MAJOR.MINOR.x
    
  8. Summarize the results:

    • Report the pre-release that was promoted (e.g., v0.39.0-beta.1)
    • Report the stable version (e.g., v0.39.0)
    • Report the release branch name (e.g., release-0.39.x)
    • Confirm the branch was pushed to upstream

Version History

  • 7158f6f Current 2026-08-20 16:43

Same Skill Collection

.claude/skills/add-models/SKILL.md
.claude/skills/check-workflows/SKILL.md
.claude/skills/debug-minified-error/SKILL.md
.claude/skills/debug-with-playwright/SKILL.md
.claude/skills/deflake-e2e-from-run/SKILL.md
.claude/skills/deflake-e2e-recent-commits/SKILL.md
.claude/skills/deflake-e2e/SKILL.md
.claude/skills/e2e-rebase/SKILL.md
.claude/skills/feedback-to-issues/SKILL.md
.claude/skills/fix-issue/SKILL.md
.claude/skills/plan-to-issue/SKILL.md
.claude/skills/pr-fix-ci/SKILL.md
.claude/skills/pr-fix-comments/SKILL.md
.claude/skills/pr-fix/SKILL.md
.claude/skills/pr-push/SKILL.md
.claude/skills/pr-rebase/SKILL.md
.claude/skills/pr-screencast/SKILL.md
.claude/skills/remember-learnings/SKILL.md
.claude/skills/swarm-pr-review/SKILL.md
.claude/skills/swarm-to-plan/SKILL.md
.claude/skills/multi-pr-review/SKILL.md

Metadata

Files
0
Version
157ab55
Hash
7c4e7b05
Indexed
2026-08-20 16:43

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-29 21:46
浙ICP备14020137号-1 $Гость$