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

release发布

Agent Skill

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

总安装

689

周安装

29

GitHub Stars

419

下载量

241
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/barefootford/buttercut --skill release

简介

release 用于引导 ButterCut 项目完成版本发布全流程操作。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中需要执行版本升级、变更日志生成和部署时使用。
  • 自动处理版本号更新、Git 操作、测试验证及 Gem 包发布。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • release 属于待分类类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Skill: Release ButterCut

Guides through the complete release process: version bump, changelog, git operations, gem publishing, and GitHub release creation.

When to Use

  • Publishing a new version of ButterCut
  • After merging features or fixes that should be released
  • Creating the first v0.1.0 release

Workflow

1. Run Tests First

CRITICAL: Always run tests before releasing. Never release if tests fail.

bundle exec rspec

If any tests fail, STOP immediately and ask user to fix before proceeding with release.

2. Check Current State

# Read current version
cat lib/buttercut/version.rb

# Check git status (must be clean)
git status

# Check existing tags
git tag -l

If git status is not clean, stop and ask user to commit or stash changes before proceeding.

3. Determine New Version

Ask user what type of release following Semantic Versioning:

  • MAJOR (1.0.0): Breaking changes
  • MINOR (0.2.0): New features, backward compatible
  • PATCH (0.1.1): Bug fixes, backward compatible

Calculate new version number based on current version and release type.

4. Update Version File

Edit lib/buttercut/version.rb with the new version:

class ButterCut
  VERSION = "0.2.0"  # Update this
end

5. Update Gemfile.lock

Run bundle install so Gemfile.lock reflects the new version:

bundle install

Verify the version updated in Gemfile.lock before proceeding.

6. Gather Changelog Notes

Ask user for release notes. Prompt with:

  • What changed in this release?
  • Any new features?
  • Any bug fixes?
  • Any breaking changes?

7. Update or Create CHANGELOG.md

If CHANGELOG.md exists, prepend new entry. Otherwise create it:

# Changelog

All notable changes to ButterCut will be documented in this file.

## [0.2.0] - 2025-01-21

### Added
- Feature X
- Support for Y

### Fixed
- Bug in Z

### Changed
- Improved W

8. Commit Version Bump

git add lib/buttercut/version.rb Gemfile.lock CHANGELOG.md
git commit -m "Bump version to 0.2.0"

9. Create and Push Git Tag

git tag v0.2.0
git push origin main
git push origin v0.2.0

10. Build Gem

gem build buttercut.gemspec

This creates buttercut-0.2.0.gem file.

11. Publish to RubyGems

First time setup check:

If this is the first release, verify RubyGems authentication:

gem signin

If not authenticated, provide instructions:

  1. Sign up at https://rubygems.org
  2. Run gem signin and follow prompts
  3. Store credentials for future releases

Publish the gem:

gem push buttercut-0.2.0.gem

This makes the gem available for gem install buttercut worldwide.

12. Create GitHub Release

Using GitHub CLI:

gh release create v0.2.0 \
  --title "v0.2.0" \
  --notes "[Release notes from changelog]" \
  buttercut-0.2.0.gem

If gh CLI not available:

Guide user through manual release creation:

  1. Go to https://github.com/andrewford/buttercut/releases/new
  2. Choose tag: v0.2.0
  3. Set title: v0.2.0
  4. Paste changelog notes in description
  5. Attach buttercut-0.2.0.gem file
  6. Click "Publish release"

Then wait for user confirmation that release is created before proceeding to cleanup.

13. Cleanup

# Remove local gem file (it's on RubyGems and GitHub now)
rm buttercut-0.2.0.gem

14. Verify Release

Check that everything worked:

15. Return Success Response

Provide summary:

✓ ButterCut 0.2.0 released successfully

  Version: 0.2.0
  Git tag: v0.2.0
  RubyGems: Published at https://rubygems.org/gems/buttercut
  GitHub Release: https://github.com/andrewford/buttercut/releases/tag/v0.2.0

Installation:
  gem install buttercut

Upgrade:
  gem update buttercut

Critical Principles

Always run tests first - Never release if tests fail Git must be clean - No uncommitted changes before release Push before publish - Tags must be pushed before creating GitHub release Semantic versioning - Follow semver strictly for version numbers Changelog required - Every release needs documented changes

Common Issues

Tests failing: Ask user to fix tests before proceeding Git not clean: Ask user to commit or stash changes first Tag already exists: Verify this isn't a duplicate release RubyGems authentication: Guide through gem signin process GitHub CLI not installed: Provide manual release instructions

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.2%
按下载量换算87

Claude

30.94%
按下载量换算75

Cursor

15.76%
按下载量换算38

Gemini CLI

9.26%
按下载量换算22

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills