Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问许可证需确认审计通过

go-release去释放

Agent Skill

go-release 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

242

周安装

10

GitHub Stars

公开资料未说明

下载量

79
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:go-release(去释放)
来源仓库:https://github.com/akhy/agent-skills
仓库路径:skills/go-release
安装命令:
npx skills add https://github.com/akhy/agent-skills --skill go-release
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/akhy/agent-skills --skill go-release

简介

用于处理 GitHub 仓库、Issue 和 Pull Request 协作信息。

  • 适合在代码变更管理和协作事项整理等场景中使用。
  • 可帮助 Agent 围绕仓库状态进行信息梳理和下一步操作建议。
  • 使用时需区分只读查询与写入操作的安全边界。go-release 属于前端设计类 Skill,可作为该场景下的辅助能力补充。
  • 安装前应确认 token 权限和维护状态,避免触发未授权操作。

SKILL.md

Go Release Setup Skill

Sets up release infrastructure for Go CLI apps: GoReleaser config, Dockerfile, and GitHub Actions workflows.

Step 1 — Gather Project Info

Read go.mod to infer:

  • Module path (e.g. github.com/owner/repo)
  • Go version — use the version from the go directive in go.mod if present; if go.mod doesn't exist or has no go directive, fetch the current latest stable Go version from https://go.dev/VERSION?m=text and use that
  • Binary name — check cmd/ subdirectories; if multiple, ask which one(s) to release; if absent, use the last segment of the module path

Derive <github-owner> and <github-repo> from the module path.

If any of the following cannot be inferred, ask the user:

  • CGO required? — scan source files for import "C"; if found, CGO = true, else CGO = false
  • App description — one-line description for the Homebrew formula and release header
  • License — check LICENSE file; if absent, ask (default: MIT)
  • Distribution channels to enable (ask the user; suggest all as default):

- github — GitHub Releases binary archives + checksums (always required) - docker — Dockerfile + GHCR image push via docker.yml workflow - homebrew — Homebrew formula pushed to <github-owner>/homebrew-tap repo

  • Homebrew tap repo *(homebrew only)* — default <github-owner>/homebrew-tap

Step 2 — Check What Already Exists

Before generating each file, check if it exists. Skip or ask to confirm overwrite:

  • Dockerfile
  • .goreleaser.yaml
  • .github/workflows/release.yml
  • .github/workflows/docker.yml

Step 3 — Generate .goreleaser.yaml

Use assets/goreleaser.yaml as the template. Substitute all <placeholder> values. Then:

  • Set CGO_ENABLED=1 and remove windows from goos if CGO is required
  • Remove the brews section if homebrew is not enabled
  • Remove the Docker **Docker:** block from release.header if docker is not enabled
  • Remove the Homebrew **Homebrew:** block from release.header if homebrew is not enabled
  • Remove TAP_GITHUB_TOKEN from the env block in release.yml if homebrew is not enabled

Step 4 — Generate Dockerfile *(only if docker channel enabled)*

  • No CGO: use assets/Dockerfile.alpine as template
  • CGO required: use assets/Dockerfile.debian as template

Substitute <go-version>, <module-path>, and <binary-name>. Adjust main path if the project doesn't use cmd/<binary-name> layout.

Step 5 — Generate GitHub Workflows

Create .github/workflows/ if it doesn't exist.

WorkflowSource templateWhen to generate
release.ymlassets/workflows/release.ymlAlways (github channel)
docker.ymlassets/workflows/docker.ymlOnly if docker channel enabled

Substitute <go-version> in each workflow. For release.yml, remove the TAP_GITHUB_TOKEN env line if homebrew is not enabled.

Note: CI workflows (tests, lint) are handled by the go-ci skill. Only add them here if the user hasn't already set up go-ci.

Step 6 — Optional: Create internal/version Package

If no version package exists and the project's ldflags reference internal/version, create internal/version/version.go:

package version

var (
    Version   = "dev"
    GitCommit = "unknown"
    BuildDate = "unknown"
)

Step 7 — Post-Setup Instructions

Tell the user:

  1. GitHub Secrets required:

- GITHUB_TOKEN — auto-provided by GitHub Actions - TAP_GITHUB_TOKEN *(homebrew only)* — GitHub PAT with repo scope for the tap repo

  1. Homebrew tap repo *(homebrew only)* — create <github-owner>/homebrew-tap with a Formula/ directory if it doesn't exist
  2. First release: git tag v0.1.0 git push origin v0.1.0
  3. Test locally (snapshot, no publish): goreleaser release --snapshot --clean

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.52%
按下载量换算29

Claude

29.35%
按下载量换算23

Cursor

17.94%
按下载量换算14

Gemini CLI

9.18%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills