AgentSkillsCN

s-release

准备并执行插件发布,包括版本升级、更新变更日志、git标记和验证。当准备好发布新版本时使用。触发词:发布、版本升级、变更日志、git标记、发布。

SKILL.md
--- frontmatter
name: s-release
description: >
  Prepare and execute an addon release, including version bumping, changelog
  updates, git tagging, and validation. Use when ready to publish a new version.
  Triggers: release, version bump, changelog, git tag, publish.

Releasing WoW Addons

Expert guidance for the full addon release workflow using Mechanic automation.

Related Commands

CLI Commands (Use These First)

MANDATORY: Always use CLI commands before manual exploration.

TaskCommand
Full Releasemech release MyAddon 1.2.0 "Release message"
Bump Versionmech call version.bump -i '{"addon": "MyAddon", "version": "1.2.0"}'
Add Changelogmech call changelog.add -i '{"addon": "MyAddon", "version": "1.2.0", "message": "..."}'
Commit Changesmech call git.commit -i '{"addon": "MyAddon", "message": "Release 1.2.0"}'
Create Tagmech call git.tag -i '{"addon": "MyAddon", "version": "1.2.0"}'

Capabilities

  1. Full Automation — Single-command release workflow (bump → changelog → commit → tag)
  2. Version Management — Consistent version bumping across .toc files
  3. Changelog Maintenance — Structured CHANGELOG.md updates with categories
  4. Git Integration — Automated commits and annotated tags

Routing Logic

Request typeLoad reference
Release workflow, changelog format../../docs/integration/release.md
CLI Reference../../docs/cli-reference.md

Quick Reference

The One-Command Release

bash
# Recommended: Validates → Bumps → Changelogs → Commits → Tags
mech release MyAddon 1.2.0 "Added cooldown tracking and fixed memory leaks"

Pre-Release Checklist

  1. Validate: mech call addon.validate -i '{"addon": "MyAddon"}'
  2. Lint: mech call addon.lint -i '{"addon": "MyAddon"}'
  3. Test: mech call addon.test -i '{"addon": "MyAddon"}'
  4. Audit: mech call addon.deprecations -i '{"addon": "MyAddon"}'

Changelog Categories

  • ### Added: New features
  • ### Changed: Changes to existing features
  • ### Fixed: Bug fixes
  • ### Removed: Removed features
  • ### Deprecated: Features to be removed
  • ### Security: Security-related changes