鱼皮AI导航
鱼皮AI导航
  • 主页
  • 社区
  • AI工具
  • AI知识库
  • AI提示词
  • MCP
  • Skills
  • AI学习资源
  • AI资讯
  • GitHub开源
登录/注册

release-skills

自动化 baoyu-skills 插件的版本发布流程,支持分析代码变更、生成双语更新日志、按规则升级版本号、同步更新市场配置与文档,并完成本地提交与打标操作,确保每次发布符合语义化版本规范和多语言维护要求。

开发运维
访问 GitHub
文档Skills.MD
name
release-skills
description
Release workflow for baoyu-skills plugin. Use when user says "release", "发布", "push", "推送", "new version", "新版本", "bump version", "更新版本", or wants to publish changes to remote. Analyzes changes since last tag, updates CHANGELOG (EN/CN), bumps marketplace.json version, commits, and creates version tag. MUST be used before any git push with uncommitted skill changes.

Release Skills

Automate the release process for baoyu-skills plugin: analyze changes, update changelogs, bump version, commit, and tag.

CRITICAL: Mandatory Release Checklist

NEVER skip these steps when releasing:

  1. ✅ Update CHANGELOG.md (English)
  2. ✅ Update CHANGELOG.zh.md (Chinese)
  3. ✅ Update marketplace.json version
  4. ✅ Update README.md / README.zh.md if needed
  5. ✅ Commit all changes together
  6. ✅ Create version tag

If user says "直接 push" or "just push" - STILL follow all steps above first!

When to Use

Trigger this skill when user requests:

  • "release", "发布", "create release", "new version"
  • "bump version", "update version"
  • "prepare release"
  • "push to remote" (with uncommitted changes)

Workflow

Step 1: Analyze Changes Since Last Tag

▼
bash
复制代码
# Get the latest version tag LAST_TAG=$(git tag --sort=-v:refname | head -1) # Show changes since last tag git log ${LAST_TAG}..HEAD --oneline git diff ${LAST_TAG}..HEAD --stat

Categorize changes by type based on commit messages and file changes:

TypePrefixDescription
featfeat:New features, new skills
fixfix:Bug fixes
docsdocs:Documentation only
refactorrefactor:Code refactoring
stylestyle:Formatting, styling
chorechore:Build, tooling, maintenance

Breaking Change Detection: If changes include:

  • Removed skills or scripts
  • Changed API/interfaces
  • Renamed public functions/options

Warn user: "Breaking changes detected. Consider major version bump (--major flag)."

Step 2: Determine Version Bump

Current version location: .claude-plugin/marketplace.json → metadata.version

Version rules:

  • Patch (0.6.1 → 0.6.2): Bug fixes, docs updates, minor improvements
  • Minor (0.6.x → 0.7.0): New features, new skills, significant enhancements
  • Major (0.x → 1.0): Breaking changes, only when user explicitly requests with --major

Default behavior:

  • If changes include feat: or new skills → Minor bump
  • Otherwise → Patch bump

Step 3: Check and Update README

Before updating changelogs, check if README files need updates based on changes:

When to update README:

  • New skills added → Add to skill list
  • Skills removed → Remove from skill list
  • Skill renamed → Update references
  • New features affecting usage → Update usage section
  • Breaking changes → Update migration notes

Files to sync:

  • README.md (English)
  • README.zh.md (Chinese)

If changes include new skills or significant feature changes, update both README files to reflect the new capabilities. Keep both files in sync with the same structure and information.

Step 4: Update Changelogs

Files to update:

  • CHANGELOG.md (English)
  • CHANGELOG.zh.md (Chinese)

Format (insert after header, before previous version):

▼
markdown
复制代码
## {NEW_VERSION} - {YYYY-MM-DD} ### Features - `skill-name`: description of new feature ### Fixes - `skill-name`: description of fix ### Documentation - description of docs changes ### Other - description of other changes

Only include sections that have changes. Omit empty sections.

For Chinese changelog, translate the content maintaining the same structure.

Step 5: Update marketplace.json

Update .claude-plugin/marketplace.json:

▼
json
复制代码
{ "metadata": { "version": "{NEW_VERSION}" } }

Step 6: Commit Changes

▼
bash
复制代码
git add README.md README.zh.md CHANGELOG.md CHANGELOG.zh.md .claude-plugin/marketplace.json git commit -m "chore: release v{NEW_VERSION}"

Note: Do NOT add Co-Authored-By line. This is a release commit, not a code contribution.

Step 7: Create Version Tag

▼
bash
复制代码
git tag v{NEW_VERSION}

Important: Do NOT push to remote. User will push manually when ready.

Options

FlagDescription
--dry-runPreview changes without executing. Show what would be updated.
--majorForce major version bump (0.x → 1.0 or 1.x → 2.0)
--minorForce minor version bump
--patchForce patch version bump
--pre <tag>(Reserved) Create pre-release version, e.g., --pre beta → 0.7.0-beta.1

Dry-Run Mode

When --dry-run is specified:

  1. Show all changes since last tag
  2. Show proposed version bump (current → new)
  3. Show draft changelog entries (EN and CN)
  4. Show files that would be modified
  5. Do NOT make any actual changes

Output format:

▼
text
复制代码
=== DRY RUN MODE === Last tag: v0.6.1 Proposed version: v0.7.0 Changes detected: - feat: new skill baoyu-foo added - fix: baoyu-bar timeout issue - docs: updated README Changelog preview (EN): ## 0.7.0 - 2026-01-17 ### Features - `baoyu-foo`: new skill for ... ### Fixes - `baoyu-bar`: fixed timeout issue README updates needed: Yes/No (If yes, show proposed changes) Files to modify: - README.md (if updates needed) - README.zh.md (if updates needed) - CHANGELOG.md - CHANGELOG.zh.md - .claude-plugin/marketplace.json No changes made. Run without --dry-run to execute.

Example Usage

▼
text
复制代码
/release-skills # Auto-detect version bump /release-skills --dry-run # Preview only /release-skills --minor # Force minor bump /release-skills --major # Force major bump (with confirmation)

Post-Release Reminder

After successful release, remind user:

▼
text
复制代码
Release v{NEW_VERSION} created locally. To publish: git push origin main git push origin v{NEW_VERSION}
开发运维

快捷安装

复制到终端去安装 Skill

npxskillsaddJimLiu/baoyu-skills--skill"release-skills"
站长:程序员鱼皮 老鱼简历 商务合作 增值电信业务经营许可证
2026 鱼皮AI导航 | 沪ICP备19026706号-6
站长:程序员鱼皮 老鱼简历 商务合作 增值电信业务经营许可证
2026 鱼皮AI导航 | 沪ICP备19026706号-6
🔥热门工具
朱雀AI检测朱雀AI检测
朱雀AI检测助手朱雀AI检测助手
LovartLovart
老鱼简历老鱼简历
WritePass官网WritePass官网
面多多面多多
CursorCursor
星月写作星月写作
朱雀AI检测助手朱雀AI检测助手
零感AI零感AI
Skills 推荐
retrieving-developer-knowledge
retrieving-developer-knowledge 用于搜索、获取和整合 Google 官方开发者文档,覆盖 Google Cloud、AI/Gemini、Android、Chrome、Web、Flutter、Go、Firebase 等平台,适用于查询 gcloud CLI 命令、API 语法、IAM 权限或架构对比等场景。
diff-intake
diff-intake 读取 PR 或分支差异,生成结构化 YAML 变更摘要,用于下游 analytics instrumentation 技能。适用于用户提交 PR 链接、分支对比或原始 diff 后需理解变更内容、评估分析覆盖或启动埋点流程的场景。
load-balancer-configurator
根据用户需求自动生成各类负载均衡器的生产级配置,覆盖 ALB、NLB、Nginx 和 HAProxy 等主流类型,适配不同协议、端口、健康检查及后端服务拓扑,支持直接集成到基础设施即代码流程中。
implement
实现 Linus Dashboard 的功能开发与集成,基于 TypeScript 和 Python 构建前后端组件,遵循严格的代码规范与架构模式,完成视图、卡片、服务及传感器等模块的创建与验证,确保高质量交付并兼容 Home Assistant 生态。
cloud-scheduler-job-creator
自动处理 Google Cloud Platform 中的云调度任务创建,提供符合最佳实践的配置方案与生产级代码生成,支持计算、存储、大数据及机器学习服务的集成部署。