← 返回 Skills 市场
oschina

Create Release

作者 开源中国 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
280
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install gitee-create-release
功能描述
Use this skill when the user asks to publish a release, create a release, "create release", "create-release", "tag a release", or generate a changelog. Requi...
使用说明 (SKILL.md)

Note: If you have mcporter installed locally, you should use mcporter to invoke the MCP tool instead of directly calling the MCP tool. The mcporter CLI provides a more convenient interface and better error handling.

Create Release via Gitee MCP

Auto-generate a changelog from merged PR history and publish a well-structured release on Gitee.

Prerequisites

  • Gitee MCP Server configured (tools: list_releases, list_repo_pulls, create_release)
  • User must provide: repository owner, repository name, version number
  • Optional: previous version number (to determine the changelog range)

Steps

Step 1: Confirm the Version Number

Confirm the version number with the user, following Semantic Versioning:

vMAJOR.MINOR.PATCH

- MAJOR: incompatible API changes
- MINOR: backward-compatible new features
- PATCH: backward-compatible bug fixes

If the user hasn't provided one, suggest an appropriate version based on the nature of the changes.

Step 2: Review Release History

Use list_releases to retrieve existing releases:

  • Confirm the previous version number
  • Understand the version naming convention (e.g., whether a v prefix is used)
  • Avoid version number conflicts

Step 3: Collect PR Changes

Use list_repo_pulls to get PRs merged since the last release:

  • state: merged
  • Sort by merge time, filtering for PRs after the last release

Classify each PR:

  • feat / feature: new feature
  • fix / bugfix: bug fix
  • refactor: code refactoring
  • perf: performance improvement
  • docs: documentation update
  • chore: dependency / build / toolchain changes
  • breaking: breaking change (title contains breaking or !:)

Step 4: Analyze Code Changes

As a supplement to PR titles, use compare_branches_tags to get a more detailed diff analysis:

compare_branches_tags(owner="[owner]", repo="[repo]", target="[current_branch]", base="[previous_version_tag]")

This returns:

  • Files changed (added, modified, deleted)
  • Commit history between versions
  • Code statistics (additions, deletions)

Use this to understand the actual code changes behind each PR, especially useful when PR titles are unclear.

Step 5: Generate Changelog

Generate the changelog using this template:

## [v{version}] - YYYY-MM-DD

### ⚠️ Breaking Changes
- [PR title] (#PR number) @author

### ✨ New Features
- [PR title] (#PR number) @author
- [PR title] (#PR number) @author

### 🐛 Bug Fixes
- [PR title] (#PR number) @author

### ⚡ Performance
- [PR title] (#PR number) @author

### 📖 Documentation
- [PR title] (#PR number) @author

### 🔧 Other
- [PR title] (#PR number) @author

---

**Full changelog**: [link comparing previous version...current version]

Omit sections with no changes.

Step 6: Confirm and Create the Release

Show the generated changelog to the user for confirmation. After confirmation, use create_release with these parameters:

  • tag_name: version number (e.g., v1.2.0)
  • name: release title (e.g., Release v1.2.0)
  • body: changelog generated in Step 4
  • prerelease: set to true for pre-release versions (alpha / beta / rc)

After successful creation, output the link to the Release page.

Notes

  • Use the v prefix in version numbers (e.g., v1.2.0) to match common project conventions
  • Breaking changes must be prominently highlighted to warn users upgrading
  • If PR titles are not semantic, lightly rephrase them in the changelog while preserving the original intent
  • Pre-release versions (alpha / beta / rc) should be marked prerelease=true so they don't affect the stable release line
安全使用建议
This skill appears to do what it says: generate a changelog and create a Gitee release using an already-configured Gitee MCP Server. Before installing or enabling it, confirm: (1) the Gitee MCP Server you will use is trusted and uses least-privilege credentials (who stores the repo token and where?), (2) the MCP server commands (list_releases, list_repo_pulls, compare_branches_tags, create_release) operate in the environment you expect (e.g., they run on your CI or in a remote service), and (3) you are comfortable with the guideline to 'lightly rephrase' PR titles (ensure original intent and attribution are preserved). Note: the scanner found no code to analyze (instruction-only), which reduces on-disk risk but means you should validate the operational security of the configured MCP server that this skill calls.
功能分析
Type: OpenClaw Skill Name: gitee-create-release Version: 1.0.0 The skill provides a legitimate workflow for automating Gitee releases by analyzing pull requests and generating changelogs. It utilizes standard Gitee MCP tools (list_releases, list_repo_pulls, create_release) and follows a transparent process that includes user confirmation before final execution, with no evidence of malicious intent or data exfiltration.
能力评估
Purpose & Capability
The SKILL.md describes creating a release and generating a changelog via Gitee MCP server commands (list_releases, list_repo_pulls, compare_branches_tags, create_release). Nothing requested (no unrelated env vars, binaries, or install steps) is out of scope for a release-publishing tool.
Instruction Scope
Instructions focus on version confirmation, listing releases/PRs, classifying PRs, comparing versions to generate changelogs, and creating the release. The steps do not instruct reading unrelated files or environment variables and they explicitly require a configured Gitee MCP Server, which explains the external calls.
Install Mechanism
This is an instruction-only skill with no install spec or code files. No downloads, extracts, or third-party package installs are requested, which minimizes disk/runtime risk.
Credentials
The skill declares no required environment variables or credentials; it relies on a preconfigured Gitee MCP Server. This is proportionate, but users should verify where repository credentials are stored and that the MCP server has appropriate, least-privilege access. The SKILL.md's lack of explicit credential handling is reasonable for an instruction-only skill but worth confirming operationally.
Persistence & Privilege
always is false and the skill is not requesting permanent presence or modifying other skills. It does not request elevated platform privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install gitee-create-release
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /gitee-create-release 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of the "gitee-create-release" skill: - Publishes well-structured releases and auto-generates changelogs on Gitee using MCP Server. - Guides users to confirm version numbers following Semantic Versioning. - Retrieves existing releases and merged PRs to prepare accurate changelogs. - Categorizes changes (breaking, features, fixes, etc.) and generates a markdown changelog template. - Presents the changelog for user confirmation before creating the release. - Supports pre-release tags and notifies users with a release link after publishing.
元数据
Slug gitee-create-release
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Create Release 是什么?

Use this skill when the user asks to publish a release, create a release, "create release", "create-release", "tag a release", or generate a changelog. Requi... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 280 次。

如何安装 Create Release?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install gitee-create-release」即可一键安装,无需额外配置。

Create Release 是免费的吗?

是的,Create Release 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Create Release 支持哪些平台?

Create Release 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Create Release?

由 开源中国(@oschina)开发并维护,当前版本 v1.0.0。

💬 留言讨论