ワンクリックで
github-release
Publish x-gateway artifacts to GitHub Releases using gh CLI with tag/version validation and idempotent retry behavior.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Publish x-gateway artifacts to GitHub Releases using gh CLI with tag/version validation and idempotent retry behavior.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Use when writing to X/Twitter with x-gateway-writer. Covers auth preflight, schema inspection, and project-owned GraphQL mutations such as createPost, quotePost, repostPost, unrepostPost, replyToPost, deletePost, likes, Lists, and DMs. Do not use x-gateway-reader for mutations.
Use when reading data from X/Twitter with x-gateway-reader. Covers auth preflight, schema inspection, and read-only project-owned GraphQL queries such as account lookup, post lookup, search, timelines, Lists, DMs, social graph reads, and usage. Do not use for posting or other mutations.
Build macOS Swift binary archives for the x-gateway reader and writer CLI executables.
Use when building, validating, publishing, or tap-rendering Homebrew formula tarball releases for this Swift project, including scripts/build-homebrew-release.sh, scripts/render-homebrew-formula.sh, and task build:homebrew, homebrew:formula-reader, or homebrew:formula-writer commands.
Execute Nix release validation for x-gateway by verifying flake reproducibility, lockfile integrity, and optional lock updates.
Orchestrate x-gateway release operations end-to-end across Swift binary artifacts, GitHub release assets, Homebrew formulae, and Nix validation. Use when users ask to release or publish a version.
| name | github-release |
| description | Publish x-gateway artifacts to GitHub Releases using gh CLI with tag/version validation and idempotent retry behavior. |
| allowed-tools | Bash, Read, Write, Grep, Glob |
| user-invocable | true |
| argument-hint | ["version or tag"] |
Use this skill to create or update GitHub Releases for x-gateway.
gh auth status
git status --short
VERSION unless user explicitly sets tag:VERSION=$(tr -d '[:space:]' < VERSION)
TAG="v${VERSION}"
Expected assets for release upload:
dist/homebrew/x-gateway-<version>-darwin-arm64.tar.gzdist/homebrew/x-gateway-<version>-darwin-x64.tar.gzdist/homebrew/x-gateway-<version>-darwin-arm64.tar.gz.sha256dist/homebrew/x-gateway-<version>-darwin-x64.tar.gz.sha256If artifacts are missing, invoke binary-release first.
if git rev-parse "$TAG" >/dev/null 2>&1; then
echo "Tag $TAG already exists"
else
git tag -a "$TAG" -m "Release $TAG"
git push origin "$TAG"
fi
gh release view "$TAG" >/dev/null 2>&1 || \
gh release create "$TAG" \
--title "x-gateway $TAG" \
--generate-notes
gh release upload "$TAG" dist/homebrew/x-gateway-"$VERSION"-darwin-*.tar.gz* --clobber
gh release view "$TAG" --json url --jq '.url'
git rev-list -n 1 "$TAG"
gh release view "$TAG" --json assets --jq '.assets[].name'
gh release create fails due to existing release, switch to upload-only mode.gh release upload ... --clobber for missing files.