원클릭으로
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.