Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问clear审计未展示

release发布

Agent Skill

release 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

343

周安装

14

GitHub Stars

公开资料未说明

下载量

111
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

AgentSkills.tonpx skills
npx skills add intrusive-memory/skills --skill "release"

简介

release 用于发现并安装 AI 代理的技能,支持版本发布流程自动化。

  • 适用于 Codex、Claude、Cursor、Gemini CLI 等平台的项目管理增强需求。
  • 通过 npx skills add intrusive-memory/skills --skill "release" 安装。
  • 需验证宿主兼容性及 Git 操作权限,注意分支保护和 CI/CD 集成。
  • 建议查看仓库路径 skills/release 和原始文档了解发布流程定义。

SKILL.md

name
release
description
Release a merged PR by tagging and creating a GitHub release. Use when asked to "release", "tag", or "create a release".
allowed-tools
Bash, Read, AskUserQuestion

Release Workflow

This skill manages the release process for projects that use PR-based releases with git tags and GitHub releases.

When to Use This Skill

Use this skill when:

  • A PR has already been merged to main
  • You need to tag the merge commit
  • You need to create a GitHub release
  • You need to sync development with main after release

Pre-flight Checks

Before starting the release process, verify:

1. Find the PR to Release

# Check for open PRs ready to merge
gh pr list --state open --base main --json number,title,statusCheckRollup

If no open PR exists, STOP and ask: "Which PR should be released?"

If PR has failing checks, STOP and report: "PR has failing CI checks. Fix them before releasing."

2. Determine Next Version Number

# Get the last tag
git fetch --tags
git describe --tags --abbrev=0 2>/dev/null || echo "No tags found"

The next version is always the last tag + 1:

  • If last tag is v29, next is v30
  • If last tag is v1.2.3, next is v1.2.4

Ask the user to confirm the version number before proceeding.

Release Process

Once pre-flight checks pass:

Step 1: Merge the PR (DO NOT USE LOCAL GIT MERGE)

gh pr merge <PR_NUMBER> --merge --delete-branch=false --subject "..." --body "..."

CRITICAL: ALWAYS use gh pr merge to merge into main, NEVER use local git merge.

Step 2: Checkout main and pull the merge commit

git checkout main
git pull origin main

Step 3: Verify we're on the merge commit

git log -1 --oneline

Step 4: Create and push the tag

git tag -a "v<VERSION>" -m "$(cat <<'EOF'
Release v<VERSION>

<Brief description of what's in this release>

🤖 Tagged with [Claude Code](https://claude.com/claude-code)
EOF
)"

git push origin v<VERSION>

Step 4: Create GitHub release

gh release create "v<VERSION>" \
  --title "v<VERSION>" \
  --notes "$(cat <<'EOF'
## What's New in v<VERSION>

<List key features/fixes in this release>

### Changes
See the [CHANGELOG](https://github.com/OWNER/REPO/blob/main/CHANGELOG.md) for detailed release notes.

## Installation

Download from the App Store or TestFlight.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
EOF
)"

Step 5: Rebase development around main (main is source of truth)

git checkout development
git rebase main
git push origin development --force-with-lease

This rebases development around main's history. Main is the source of truth - we replay development's commits on top of main's canonical history.

Step 6: Report Success

Report:

  • ✅ Released version v<VERSION>
  • 📦 GitHub release: https://github.com/OWNER/REPO/releases/tag/v<VERSION>
  • 🔄 Development rebased around main (main is source of truth)

Important Rules

  1. ALWAYS use gh pr merge to merge PRs - NEVER use local git merge to merge into main
  2. ALWAYS ask user to confirm version number - Don't guess
  3. ALWAYS use annotated tags (git tag -a) - Include metadata
  4. ALWAYS rebase development around main after release - Main is the source of truth
  5. Use --force-with-lease when rebasing development - Safe force push
  6. NEVER use local git merge commands - All merges happen via GitHub PR mechanism
  7. Main branch is the canonical source of truth - Development rebases around it, not the other way

Workflow Summary

1. Find open PR ready to merge
2. Verify PR has passing CI checks
3. Determine next version (last tag + 1)
4. Ask user to confirm version
5. Merge PR using gh pr merge (NEVER local git merge)
6. Checkout main and pull the merge commit
7. Tag the merge commit
8. Push the tag
9. Create GitHub release
10. Rebase development around main (main is source of truth)

Example Usage

User: "Release PR #78"

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

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

平台分布

windsurf

32.11%
按下载量换算36

Codex

22.89%
按下载量换算25

Claude Code

17.93%
按下载量换算20

Antigravity

13.95%
按下载量换算15

Gemini CLI

7.75%
按下载量换算9

kilo

3.49%
按下载量换算4

安全审计

暂无安全审计结果可展示。

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills