release

GitHub

用于发布 @qingchencloud/cj2api 包。流程包括检查工作区状态、询问版本类型、执行 npm version、npm publish 及 git push,最后输出包含版本号及链接的发布摘要。

.claude/skills/release/SKILL.md qingchencloud/cj2api

触发场景

用户要求发布新版本 用户要求 bump 版本号并推送

安装

npx skills add qingchencloud/cj2api --skill release -g -y
更多选项

非标准路径

npx skills add https://github.com/qingchencloud/cj2api/tree/main/.claude/skills/release -g -y

不安装直接使用

npx skills use qingchencloud/cj2api@release

指定 Agent (Claude Code)

npx skills add qingchencloud/cj2api --skill release -a claude-code -g -y

安装 repo 全部 skill

npx skills add qingchencloud/cj2api --all -g -y

预览 repo 内 skill

npx skills add qingchencloud/cj2api --list

SKILL.md

Frontmatter
{
    "name": "release",
    "license": "MIT",
    "metadata": {
        "tags": [
            "npm",
            "release",
            "publish"
        ],
        "author": "QingChen Cloud",
        "version": "1.0.0"
    },
    "description": "版本发布:bump 版本号 → npm publish → git tag → push"
}

发版 Release

发布新版本到 npm 并推送到 GitHub。

流程

  1. 确认当前工作区干净(无未提交变更)
  2. 询问版本号类型:patch / minor / major
  3. 执行 npm version <type> 自动更新 package.json 并创建 git tag
  4. 执行 npm publish 发布到 npm
  5. 执行 git push && git push --tags 推送代码和标签到 GitHub
  6. 输出发布摘要:版本号、npm 地址、GitHub tag 地址

注意事项

  • npm 包名为 @qingchencloud/cj2api,scoped public 包
  • 发布前确保 npm whoami 已登录且属于 @qingchencloud 组织
  • 如果有 TypeScript 编译错误,先修复再发版

版本历史

  • c831e14 当前 2026-07-19 09:01

同 Skill 集合

.agents/skills/deploy/SKILL.md
.agents/skills/release/SKILL.md
.agents/skills/update-page/SKILL.md
.claude/skills/deploy/SKILL.md
.claude/skills/update-page/SKILL.md

元信息

文件数
0
版本
c831e14
Hash
d03d844d
收录时间
2026-07-19 09:01

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-21 14:39
浙ICP备14020137号-1 $访客地图$