fit-framework: Command for Claude Code

.claude/commands/create-release-note.md

create-release-note is a command for Claude Code from ModelEngine-Group/fit-framework. It costs 24 tokens per session (3,223 once invoked), scanned A, original, MIT.

A command that gathers pull requests, commits, and issues to produce structured release notes for a specified version, with an option to create a draft GitHub release.

In plain words
What is it for?
Use it for patch or minor releases by providing the current version and, optionally, the previous version.
Why use it?
It turns scattered development history into a consistent summary and can combine earlier patch releases for a new minor release.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

This is ModelEngine-Group/fit-framework's own configuration. It tells Claude Code how to work on fit-framework itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything fit-framework configures →

About the project

FIT is an enterprise AI development framework with a multilingual function engine, a flow orchestration engine, and Java tools for connecting language models, knowledge bases, and external tools. It is for Java-oriented teams building AI applications that can run locally or in distributed deployments with plugins. The catalogue add-ons provide commands, skills, instructions, and settings for working with FIT.

ModelEngine-Group/fit-framework · 2,117 stars · on GitHub · modelengine-ai.net

Reuse

Borrowing it

Nothing to install: this file belongs to ModelEngine-Group/fit-framework. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ModelEngine-Group/fit-framework/main/.claude/commands/create-release-note.md
Clone the repo
git clone --depth 1 https://github.com/ModelEngine-Group/fit-framework

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for create-release-note

README.md
[![agentmods](https://agentmods.dev/badge/commands/modelengine-group/fit-framework/create-release-note/github.svg)](https://agentmods.dev/commands/modelengine-group/fit-framework/create-release-note)
Your own site
<a href="https://agentmods.dev/commands/modelengine-group/fit-framework/create-release-note"><img src="https://agentmods.dev/badge/commands/modelengine-group/fit-framework/create-release-note/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for create-release-note

Your own site · 80×15
<a href="https://agentmods.dev/commands/modelengine-group/fit-framework/create-release-note"><img src="https://agentmods.dev/badge/commands/modelengine-group/fit-framework/create-release-note.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,223 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00024 $0.03223
Opus 5.5 $0.00010 $0.01289
Sonnet 5.5 $0.00005 $0.00645
Haiku 4.5 $0.00002 $0.00322

Measured 2mo ago against content hash e7989aa20b0e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

create-release-note scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.claude/commands/create-release-note.md · 322 lines

How it starts

The opening of the file, as written. The whole thing — 322 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Create Release Note Command

功能说明

自动从 PR、commit 和 Issue 中收集变更信息,按模块和类型分类,生成符合项目格式的 Release Notes。支持创建 GitHub Draft Release。

对于 x.y.0 版本,支持合并前一 minor 系列的已发布 release notes,无需重复计算。

用法

/release-notes <version>                # 自动推断上一版本
/release-notes <version> <prev-version> # 手动指定版本范围

例如:

/create-release-note 3.6.3           # 自动推断上一版本为 3.6.2
/create-release-note 3.6.3 3.6.2     # 手动指定范围
/create-release-note 3.7.0           # x.y.0 版本:合并 3.6.x 系列的所有 release notes

参数说明

  • <version>: 当前发布版本号,格式为 X.Y.Z(必需)
  • <prev-version>: 上一版本号,格式为 X.Y.Z(可选,不提供则自动推断)

参数来源:$ARGUMENTS

执行步骤

步骤 1-3 为公共步骤,步骤 3 根据版本类型分流:

  • 合并路径(PATCH == 0,如 3.7.0):步骤 4-7 → 跳到步骤 14
  • 常规路径(PATCH > 0,如 3.6.3):步骤 8-13 → 继续步骤 14

步骤 14-15 为公共步骤。

步骤 1:解析参数

从 $ARGUMENTS 中提取参数。支持两种形式:

  • 单参数:<version> — 当前版本号
  • 双参数:<version> <prev-version> — 当前版本号和上一版本号

版本号格式验证:

  • 必须匹配 X.Y.Z 格式(X、Y、Z 均为非负整数)
  • 如果格式不正确,报错退出:错误:版本号格式不正确,期望格式为 X.Y.Z(例如 3.6.3)

步骤 2:确定版本范围

当前版本 tag: v<version>(如 v3.6.3)

上一版本 tag 推断逻辑(仅当未指定 <prev-version> 时):

# 获取所有已排序的 tag
git tag --sort=-v:refname
  • 如果 PATCH > 0(如 3.6.3):查找同一 minor 系列中的前一个 tag(如 v3.6.2)
  • 如果 PATCH == 0(如 3.6.0):查找前一个 minor 系列的最后一个 tag(如 v3.5.x 中最大的)

验证 tag 存在:

git rev-parse v<version>
git rev-parse v<prev-version>

如果任一 tag 不存在,报错退出:错误:Tag v<version> 不存在,请确认 tag 已创建

步骤 3:判断版本类型并选择路径

根据版本号的 PATCH 部分选择不同的生成路径:

  • 如果 PATCH == 0(如 3.7.0)→ 走合并路径,从步骤 4 开始
  • 如果 PATCH > 0(如 3.6.3)→ 走常规路径,从步骤 8 开始

合并路径(PATCH == 0,x.y.0 版本)

步骤 4:查找前一 minor 系列的所有已发布 release

gh release list --limit 50 --json tagName,isDraft,isPrerelease

从结果中筛选满足以下条件的条目:

  • tagName 以 vX.(Y-1). 开头(例如版本 3.7.0 则筛选 v3.6. 开头)
  • isDraft == false
  • isPrerelease == false

如果未找到任何已发布的 release,提示用户并回退到常规路径(步骤 8)。

步骤 5:按版本号升序获取各 release body

对步骤 4 筛选出的每个 release tag,按版本号升序获取其内容:

gh release view v<tag> --json body --jq .body

Read the full file on GitHub · 322 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 322 lines · 24 tokens per session scan A e7989aa20b0e

Subscribe to this mod's changes

create-release-note is a command published in the GitHub repository ModelEngine-Group/fit-framework (2,117 stars, last pushed 7mo ago), licensed MIT. It adds 24 tokens to every session and 3,223 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.