Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

new-release

FreeNo executable scriptsNot checked

Create a new release of the HLTB Millennium plugin. Use when the user asks to release the plugin, bump a version, create a GitHub release, or update the…

jcdollby jcdoll★ 19 GitHub stars

About this skill

New Release

Create a new release of the HLTB for Steam plugin, including version bump, build verification, GitHub release, and PluginDatabase update.

Before running this skill, run the game-id-review skill to ensure game IDs are high quality.

Usage

/new-release
/new-release 1.2.3
/new-release --dry-run

If no version is provided, suggest a patch increment.

Dry Run

When the user asks for a dry run, gather release state and present the release plan only.

Do not:

  • edit files
  • run git fetch
  • commit or push
  • trigger workflows
  • modify GitHub releases
  • touch ../PluginDatabase

Use current local remote-tracking information and state that a real release would fetch before final validation.

Workflow

Phase 1: Gather Information

  1. Read plugin.json and package.json to get the current local version.
  2. Verify versions match. Abort if they differ.
  3. Get latest GitHub release version:
gh release list --limit 1 --json tagName --jq '.[0].tagName'
  1. Check git status:
git status --porcelain
git branch --show-current
git fetch origin
git status -uno

In dry-run mode, do not run git fetch origin; use existing local remote-tracking information instead.

  1. Get commits since last release for release notes:
git log v{GITHUB_VERSION}..HEAD --oneline --no-merges
  1. Generate human-readable release notes. Read actual diffs and changes, not only commit messages. Write clear user-facing descriptions grouped by category, such as Bug fixes and Improvements.

Exclude:

  • Version bump commits such as Release v...
  • Trivial commits such as typos or formatting
  • Claude or Codex skill updates under .claude or .agents
  • CI and workflow updates under .github

If no release-worthy changes remain after exclusions, stop and report that there is nothing user-facing to release. Continue only if the user explicitly says to release anyway.

  1. Verify ../PluginDatabase exists and contains the submodule:
Test-Path ../PluginDatabase/plugins/hltb-millennium-plugin

Abort if:

  • Local versions do not match.
  • Working tree has uncommitted changes.
  • Current branch is not main.
  • Local branch is behind remote.

Phase 2: Determine New Version

  1. Parse current version as major.minor.patch.
  2. If the user provided a version argument, validate X.Y.Z format and use it.
  3. Otherwise, calculate a patch increment, such as 1.0.4 -> 1.0.5.
  4. Ask the user to confirm the version before editing.

Phase 3: Present Execution Plan

Display this format and ask for confirmation:

## Release Plan: v{NEW_VERSION}

### Current State
- Local version: {LOCAL_VERSION}
- GitHub release: {GITHUB_VERSION}
- Git: clean, on main, up-to-date

### Release Notes
- {BULLET_POINT_PER_SIGNIFICANT_CHANGE}

### Steps to Execute
1. Update plugin.json version: {OLD} -> {NEW}
2. Update package.json version: {OLD} -> {NEW}
3. Run `npm install` to update package-lock.json
4. Run `npm run build` to verify build succeeds
5. Run Lua tests to verify backend code
6. Commit: "Release v{NEW_VERSION}"
7. Push to origin/main
8. Trigger GitHub Action "Create Release"
9. Wait for release workflow to complete
10. Update GitHub release with human-readable notes
11. Update submodule in ../PluginDatabase to latest commit
12. Commit in PluginDatabase: "Update HLTB for Steam to v{NEW_VERSION}"
13. Push PluginDatabase to origin
14. Create PR to SteamClientHomebrew/PluginDatabase

Proceed with release?

Proceed only after explicit user confirmation.

Phase 4: Execute

Execute each step, reporting progress. Stop immediately on any failure.

Step 1-2: Update Versions

Use apply_patch to update version in both files.

Step 3: npm install

npm install

Step 4: Build

npm run build

Abort if build fails.

Step 5: Run Lua Tests

busted.bat tests/

If busted.bat is not available, try:

busted tests/

Abort if any tests fail. If neither Lua test command is available, stop and report the missing dependency. Point the user to docs/development.md section "Running Lua Tests".

Step 6: Commit

git add plugin.json package.json package-lock.json
git commit -m "Release v{VERSION}"

Step 7: Push

git push origin main

Step 8: Trigger GitHub Action

gh workflow run release.yml -f version={VERSION}

Step 9: Wait for Workflow

gh run list --workflow=release.yml --limit 1 --json status,conclusion,databaseId

Poll every 10 seconds until status is completed. Abort if conclusion is not success.

Step 9.5: Update GitHub Release Notes

The workflow's generated release notes only produce auto-generated commit links. Replace them with the human-readable release notes generated in Phase 1:

$releaseNotesPath = "release-notes-v{VERSION}.md"
Set-Content
Full SKILL.md on GitHub

Install new-release in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

FAQ

What does the new-release skill do?

Create a new release of the HLTB Millennium plugin. Use when the user asks to release the plugin, bump a version, create a GitHub release, or update the PluginDatabase submodule and PR.

How do I install the new-release skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the new-release skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare new-release with