一键导入
nix-release
Execute Nix release validation for x-gateway by verifying flake reproducibility, lockfile integrity, and optional lock updates.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Execute Nix release validation for x-gateway by verifying flake reproducibility, lockfile integrity, and optional lock updates.
用 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.
Publish x-gateway artifacts to GitHub Releases using gh CLI with tag/version validation and idempotent retry behavior.
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.
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 | nix-release |
| description | Execute Nix release validation for x-gateway by verifying flake reproducibility, lockfile integrity, and optional lock updates. |
| allowed-tools | Bash, Read, Write, Grep, Glob |
| user-invocable | true |
| argument-hint | ["validate-only|update-lock"] |
Use this skill for release-time Nix validation and optional lock refresh.
x-gateway defines a development shell and release-backed Darwin package
outputs in flake.nix.
Package outputs:
.#x-gateway-reader: installs only x-gateway-reader.#x-gateway-writer: installs only x-gateway-writerApp outputs:
.#x-gateway-reader.#x-gateway-writerFor this repository, Nix release scope means:
nix flake check)nix build .#x-gateway-reader,
nix build .#x-gateway-writer)nix run .#x-gateway-reader -- version,
nix run .#x-gateway-writer -- version)nix develop -c ...)flake.lock when requestednix flake show
nix flake check
nix build .#x-gateway-reader
nix build .#x-gateway-writer
nix run .#x-gateway-reader -- version
nix run .#x-gateway-writer -- version
nix develop -c task --version
Only when user requests dependency refresh:
nix flake update
git diff -- flake.lock
If updates are accepted, include flake.lock in the release commit before tagging.
nix flake check passes.nix build .#x-gateway-reader and nix build .#x-gateway-writer pass on a
supported Darwin system.nix run .#x-gateway-reader -- version and
nix run .#x-gateway-writer -- version report the release version.nix develop successfully exposes the expected toolchain.flake.lock diff is intentional and reviewed.nix flake check fails, stop release and report exact failing derivation or check.