/remote-gateway:releasefrom remote-gateway
Hands-off Gitflow ship kickoff: VERSION + CHANGELOG, commit, merge to main, tag vX.Y.Z, back-merge develop, push so TeamCity v* builds start. Then verify CDN + GitHub Release. Not a host restart (that is /cutover). Use when the user runs /release, says "cut a release", "start a hotfix", "tag and publish", or "is this version shipped".
Ships in remote-gateway. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Portable skill for bytedesk-remote-gateway. Filesystem + git + curl
(+ gh when present). Same on Claude, Codex, Grok, Kimi, Cursor.
This is the commercial ship entry. /release start (or hotfix) is the
hands-off kickoff: it tags, updates main, reverse-migrates develop, and
pushes so TeamCity can publish. /commit is for ordinary feature work, not
the version cut. /cutover restarts a host.
Canonical spec: repo docs/BRANCHING.md (joint Gitflow + Releaseflow table)
and docs/RELEASEFLOW.md (TeamCity SoT).
/commit: never
--author, never Co-Authored-By, never agent/model trailers.user.name or user.email is empty, stop./release start / hotfix own the candidate tag and the PR. They
commit VERSION, create annotated vMAJOR.MINOR.PATCH on the
release/hotfix branch, push branch + tag (TeamCity starts), and open a
PR into main. They do not update main or develop. /release finish merges that PR only after /release verify PASSes.main or develop.release-core.sh or a local Tauri build as the
commercial publish path. TeamCity release-publish → get.bytedesk.ai is
SoT for the server (gateway). GitHub Actions release-core.yml is
SoT for the desktop client (gateway-desktop). No laptop aws s3 cp.start (or hotfix) pushes v*, TeamCity is building. Run
verify when checking artifacts (CDN may still be warming). After
verify PASS, ask /cutover for dev. Do not auto-cutover prod.main + published GH Release +
get.bytedesk.ai artifacts (or a documented offline path).Resolve the skill root (directory containing this SKILL.md):
ROOT="${GROK_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT:-}}"
SKILL_DIR="${ROOT:+$ROOT/skills/release}"
SKILL_DIR="${SKILL_DIR:-<directory containing this SKILL.md>}"
RF="$SKILL_DIR/scripts/release-gitflow.sh"
| Mode | User phrases | Command |
|---|---|---|
status (default /release) | status, where is this version | "$RF" status |
start [vX.Y.Z] | cut a release, start release | "$RF" start [vX.Y.Z] |
hotfix [vX.Y.Z] | start a hotfix | "$RF" hotfix [vX.Y.Z] |
finish | optional recovery if start was interrupted | "$RF" finish |
verify [vX.Y.Z] | is it shipped, check CDN | "$RF" verify [vX.Y.Z] |
plan | dry-run, rehearse | "$RF" plan |
Default version: start bumps minor of VERSION; hotfix bumps patch.
finish and verify read VERSION / the branch name.
start / hotfix require a clean worktree, write VERSION, fold CHANGELOG
[Unreleased] into [X.Y.Z], sync src/embedded_changelog.md, commit
that cut as the local git user, annotated tag vX.Y.Z on the release
branch, push branch + tag (TeamCity +:refs/tags/v* starts), and
open a GitHub PR into main. They do not merge main or
develop. --no-push still commits and tags locally.
finish on release/vX.Y.Z or hotfix/vX.Y.Z requires verify PASS
(unless --no-push / --no-verify), then --no-ff merges into main
and back-merges develop. If already on both, finish is a no-op.
Load references/runbook.md for script flags and refuse conditions.
/release with no args → status, then stop unless they
asked to start/hotfix/finish/verify.$RF mode. Do not invent extra git commands around it
(no raw git tag on a feature branch).start/hotfix → candidate tag + PR are done; main is unchanged.
Tell the operator TeamCity is building; offer /release verify.verify PASS → offer /release finish to merge main + develop,
then /cutover on dev. Prod only if they asked.finish without verify PASS (when pushing) must refuse to merge main./commit — land ordinary feature work; not required after /release start/cutover — host process restart after artifacts existdocs/BRANCHING.md — joint workflow tabledocs/RELEASEFLOW.md — TeamCity, CDN, env URLsWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub bytedeskai/bytedesk-marketplace --plugin remote-gateway17 skills in this plugin
/commitCommit and push repo changes with human-only authorship, Keep a Changelog update, and embedded changelog sync. After a successful commit in a linked git worktree, offer to merge into the main checkout and remove the tree (Grok/Claude/Codex isolation). Never attributes coding agents or external co-authors. Use when the user runs /commit, says "commit", "commit and push", "land the changes", "update changelog and push", or wants a clean push of the current worktree.
/cutoverSafe production cutover for bytedesk-remote-gateway via this skill's bundled scripts/deploy-safe.sh, only from the develop branch. DEFAULT always restarts: preflight → stage → restart-cutover → postflight (do not stage-only or ask for restart). Use FORCE_RESTART=1 when stage is UNCHANGED but bounce is still required. Also after every completed implementation task that changes gateway/SPA runtime. After feature cutover PASS, ask the operator to /commit (do not auto-commit). Triggers: /cutover, "safe cutover", "deploy-safe", "stage binary" (stage-only only if user says stage only / no restart), "restart cutover", FORCE_RESTART, postflight healthz.
/desktop-depsCheck desktop/agents profile dependencies for the gateway on Linux, macOS, and Windows. Use when desktop profile, VNC, Xvfb, or ttyd is missing.
Other plugins' skills for the same job