Agent skill

release-new-version

Use when preparing a Nexus release commit that requires syncing app/build.gradle.kts version fields with the latest GitHub release.

niki62★ · 1 repos on radarProfile →
claude-codeships scriptsMIT
Install
npx skills add niki914/agentic-nexus --skill release-new-version --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 3 KB
Bundled scripts: yes
Path: .claude/skills/release-new-version/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 97
Language: Kotlin
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Release New Version ## Overview 这个 skill 用于执行 Nexus 的发版提交流程。 它的核心规则只有三条: - 版本事实以 `app/build.gradle.kts` 为准 - GitHub 最新 release tag 作为下一次 `versionCode` 的基线 - `versionName` 必须先询问用户,默认只建议递增一个小版本号 当前仓库已验证的版本映射规则如下: - GitHub tag 格式:`<versionCode>-<versionName>` - 例如:`1-0.0.1` - 对应端上: - `versionCode = 1` - `versionName = "0.0.1"` ## When to Use 在以下场景使用: - 用户明确要求“发版”“升版本”“准备 release 提交” - 需要根据 GitHub 最新 release 自动推导下一个 `versionCode` - 需要修改 `app/build.gradle.kts` 中的版本字段并产出 release APK 不要用于: - 只查询当前版本,不需要修改文件 - 只构建 debug 包 - 普通功能开发或 bug 修复 ## Required Inputs 开始前必须确认以下事实: - 读取 `app/build.gradle.kts` - 找到 `defaultConfig` 下的 `versionCode` 与 `versionName` - 读取 GitHub 最新 release tag - 询问用户希望的新 `versionName` 如果用户没有明确指定新版本号,默认建议: - 旧版本:`0.0.1` - 新版本:`0.0.2` ## Version Rule ### 1. 读取本地版本 只读取以下文件: - `app/build.gradle.kts` 目标字段: - `versionCode = <Int>` - `versionName = "<String>"` ### 2. 读取 GitHub 最新 release 优先使用备用脚本: ```bash python3 .trae/skills/release-new-version/get_latest_release_version.py ``` 默认目标仓库: - `Xposed-Modules-Repo/com.niki914.nexus.agentic` 脚本输出应为单行 tag,例如: ```text 1-0.0.1 ``` ### 3. 解析与校验 将 tag 按第一个 `-` 拆分: - 左侧:GitHub 最新 `versionCode` - 右侧:GitHub 最新 `versionName` 示例: ```text 1-0.0

What's inside
Steps it walks through
  1. Overview
  2. When to Use
  3. Required Inputs
  4. Version Rule
  5. 1. 读取本地版本
  6. 2. 读取 GitHub 最新 release
  7. 3. 解析与校验
  8. 4. 计算下一版
  9. Execution Workflow
  10. Step 1. 读取并核对版本
  11. Step 2. 询问用户新版本号
  12. Step 3. 修改版本字段
  13. Step 4. 构建 release
  14. Step 5. 打开产物目录
Ships with 1 file
  • get_latest_release_version.py
Commands it runs
python3 .trae/skills/release-new-version/get_latest_release_version.py
open app/build/outputs/apk/release/
More from agentic-nexus
All skills →
About this skill
What does the release-new-version skill do?

Use when preparing a Nexus release commit that requires syncing app/build.gradle.kts version fields with the latest GitHub release.

How do I install it?

Run `npx skills add niki914/agentic-nexus --skill release-new-version --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From niki914/agentic-nexus, a repository with 97 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going