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

release发布

Agent Skill

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

总安装

235

周安装

10

GitHub Stars

316

下载量

82
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/bonny/wordpress-simple-history --skill release

简介

release 管理 Simple History 核心插件及附加组件的版本发布流程。

  • 遵循 OneFlow 分支模型和语义化版本控制,提供发布清单和自动化钩子支持。
  • 优先发布核心插件再处理附加组件,确保兼容性并生成标准化发布说明。
  • 涉及 Git 操作和自动化脚本,需确认仓库权限及 CI/CD 环境可用性。
  • release 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Release Process

Release checklist for Simple History core plugin and add-ons.

Uses OneFlow branching model and semver versioning.

Release Order

Always release core first, then premium/add-ons.

Premium declares a minimum core version. While reversing the order won't crash (premium shows a graceful admin notice), releasing core first ensures compatibility.

Core Plugin Release

1. Create Release Branch

git checkout main
git pull
git checkout -b release-X.Y.Z

2. Bump Version

npm run bump:patch   # or bump:minor / bump:major

This updates version in all three locations:

  • index.php (plugin header Version: and SIMPLE_HISTORY_VERSION constant)
  • readme.txt (Stable tag:)
  • package.json (version)

3. Update Changelog

In readme.txt, move items from ### Unreleased to a new versioned section:

### X.Y.Z (Month Year)

Remove the ### Unreleased heading entirely so the readme is clean. Do not keep an empty Unreleased section.

Do not update CHANGELOG.md during this step — it is maintained separately.

4. Add Update Details

If the release has significant changes, add update details to class-simple-history-updates.php. This is shown to users in the WordPress update screen. Show the user the changes for review (confirmed in the pre-tag checklist).

5. Run QA

npm run php:lint
npm run php:phpstan
npm run build

Run the three test suites in parallel using three separate Bash tool calls (with run_in_background: true) in a single message:

  • PHP_CLI_VERSION=81 PHP_VERSION=8.1 npm run test:wpunit
  • PHP_CLI_VERSION=81 PHP_VERSION=8.1 npm run test:functional
  • PHP_CLI_VERSION=81 PHP_VERSION=8.1 npm run test:acceptance

Wait for all three to finish, then check results. Each suite is independent — they share the database container but don't conflict.

6. Write Blog Post

Write a blog post on simple-history.com as a draft (do not publish):

  • Detailed changelog
  • Screenshots where relevant
  • Links to updated documentation
  • Tagged with *releases* and *changelog*

The user will review and publish the blog post manually.

6b. Link Blog Post from readme.txt

Add a link to the blog post in the readme.txt changelog entry for this version. Place it right after the version heading, before the first changelog category. Use this format:

### X.Y.Z (Month Year)

Brief summary of the release highlights.
[Read more about it in the release post](https://simple-history.com/YYYY/simple-history-X-Y-Z-released/)

**Added**

The URL pattern is https://simple-history.com/YYYY/simple-history-X-Y-Z-released/ where dots in the version are replaced with hyphens.

7. Tag

Before tagging, ask the user to confirm ALL of these. Do not proceed until confirmed:

  • Changelog in readme.txt looks correct
  • Update details in class-simple-history-updates.php look good
  • All tests pass (wpunit, functional, acceptance)
  • Blog post is written on simple-history.com and linked from readme.txt changelog entry (with "Read more" link after version heading)
git tag X.Y.Z

8. Merge to Main

git checkout main
git merge release-X.Y.Z
git branch -d release-X.Y.Z

9. Push (MANUAL — do not run automatically)

STOP: Do not execute git push. Pushing the tag triggers deployment to WordPress.org and is irreversible. Remind the user to run these commands themselves:

git push origin main
git push origin X.Y.Z

Pushing the tag triggers the GitHub Actions workflow (.github/workflows/deploy.yml) which builds and deploys to WordPress.org via SVN.

10. Post-Release

- Local test site with non-symlinked plugins - https://eskapism.se/wp-admin/ - https://simple-history.com

Add-on Release (Premium and Others)

Add-ons live in a separate monorepo. See CLAUDE.local.md for the local path.

Branch and Tag Naming

Each add-on uses its own prefix:

Add-onBranch exampleTag example
Premiumpremium/release-1.8.0premium/1.8.0
Debug and Monitordebug-and-monitor/release-1.0.1debug-and-monitor/1.0.1
WooCommerce Loggerwoocommerce-logger/release-1.0.4woocommerce-logger/1.0.4

1. Test

Run tests and manual smoke testing. Verify features work with the latest core version.

2. Create Release Branch

git checkout main
git pull
git checkout -b <prefix>/release-X.Y.Z

3. Update Changelog

Update changelog in the add-on's readme.txt. Move items from ### Unreleased to a versioned section. Remove the ### Unreleased heading entirely so the readme is clean.

4. Update Translations

If texts have been added or modified, update translations using Claude's translate command.

5. Update Version

For Premium: Run Claude command version-update, which updates:

  • simple-history-premium.php — plugin header (Version: X.Y.Z)
  • simple-history-premium.phpConfig::init() array ('version' => 'X.Y.Z')
  • readme.txtStable tag: X.Y.Z

For other add-ons: Manually update:

  • readme.txt
  • index.php (or similar main file, 2 places — header and constant)

6. Update Minimum Core Version (Premium Only)

Both of these must be updated together — keep them in sync!

In inc/functions.php:

  • The version_compare() check (the actual version gate)
  • The admin notice message string (the user-facing text)

7. Build (Premium Only)

npm run build

Build artifacts are committed for the premium plugin.

8. Tag

git tag <prefix>/X.Y.Z

9. Merge to Main

git checkout main
git merge <prefix>/release-X.Y.Z
git branch -d <prefix>/release-X.Y.Z

10. Push (MANUAL — do not run automatically)

STOP: Do not execute git push. Remind the user to run these commands themselves:

git push origin main
git push origin <prefix>/X.Y.Z

11. Create Distribution Zip

Premium:

npm run plugin-zip

Other add-ons: Use Keka to zip the plugin folder and add to releases folder.

Rename zip to include version: simple-history-premium-1.8.0.zip

12. Upload to Lemon Squeezy

13. Update simple-history.com

- Update version - Update changelog - Update date on add-on product page at https://simple-history.com/add-ons/<plugin-slug>

14. Verify Update Delivery

Test that the plugin update is detected on:

If no update is found, check Lemon Squeezy API errors and debug.

15. Blog Post

Write a blog post on simple-history.com describing the release. Add categories like *premium* and *releases*.

Version Locations Reference

Core Plugin

FileLocationExample
index.phpPlugin header Version:Version: 5.22.0
index.phpSIMPLE_HISTORY_VERSION constantdefine('SIMPLE_HISTORY_VERSION', '5.22.0')
readme.txtStable tag:Stable tag: 5.22.0
package.jsonversion field"version": "5.22.0"

Premium Plugin

FileLocationExample
simple-history-premium.phpPlugin header Version:Version: 1.8.0
simple-history-premium.phpConfig::init() version'version' => '1.8.0'
readme.txtStable tag:Stable tag: 1.8.0
inc/functions.phpversion_compare() checkMinimum core version gate
inc/functions.phpAdmin notice messageUser-facing version string

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.6%
按下载量换算29

Claude

29.5%
按下载量换算24

Cursor

17.32%
按下载量换算14

Gemini CLI

9.86%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills