go-cli-ship — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited go-cli-ship (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
将“需求 -> 设计 -> 实现 -> 验证 -> 发版 -> 文档/技能”固化为可重复执行的交付流程。
当用户出现以下诉求时使用本技能:
先检查这些高频失败点:
go.mod Go 版本与 CI/lint 构建器是否一致。golangci-lint 是否会因编译器版本低于目标版本而 panic。Makefile/install.sh/CHANGELOG.md 版本是否一致。name/description)。code + message + retryable + 可选 details。--max = --limit),但保留主参数。最小建议结构:
cmd/ 命令层pkg/ 业务层与适配层e2e/ 端到端测试scripts/ 安装与一致性脚本.github/workflows/ CI + releaseskills/<skill-name>/SKILL.md必须绿灯:
gofmt -l .
go vet ./...
golangci-lint run
CGO_ENABLED=1 go test -count=1 ./...
make release-check如果本地与 CI 不一致,以 CI 为准并回灌本地脚本。
actions/setup-go 版本与 go.mod 主版本一致。golangci-lint-action@v7 建议:version: v2.5.0(或你锁定的版本)install-mode: goinstall(避免“linter 用旧 Go 构建”导致 panic).golangci.yml 的 run.go 与 go.mod 对齐。on.push.tags: v*linux/darwin + amd64/arm64-ldflags "-X <module>/cmd/<cli>.Version=${GITHUB_REF_NAME#v}"actions/download-artifact@v4pattern: <cli>-*merge-multiple: truesha256sum <cli>-* > SHA256SUMS版本源必须唯一且一致:
Makefile 的 VERSIONscripts/install.sh 的 VERSIONCHANGELOG.md 顶部版本发布前必跑:
make release-check如果 CLI 依赖外部认证/API,交付前至少完成一次真实 smoke:
强调:mock 测试不能替代真实认证链路验证。
README 需具备:
必须遵守:
name 与 description。description 写清“做什么 + 何时触发”。cmd 骨架和输出契约。make release-check 与 CI,再写功能。Makefile 门禁目标。Makefile、install.sh、CHANGELOG.md。make release-check。main。vX.Y.Z。application built with go1.xx 低于项目 Go 版本install-mode: goinstall + .golangci.yml run.go 对齐。download-artifact 使用 merge-multiple: true。满足以下条件才算交付完成:
SHA256SUMS。~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.