SKILL·347E9C

release-announcement

Necmttn
更新于 9 days ago
93
9
93
在 GitHub 上查看
ai

关于

This skill drafts release announcements and changelog pages by analyzing git commits, release ranges, and development session history. It triggers when users request release notes, changelogs, or version summaries, but not for regular commit messages. The tool generates narrative explanations of what changed in a release while maintaining separation between curated announcements and automated changelogs.

快速安装

Claude Code

推荐
主要方式
npx skills add Necmttn/ax -a claude-code
插件命令备选方式
/plugin add https://github.com/Necmttn/ax
Git 克隆备选方式
git clone https://github.com/Necmttn/ax.git ~/.claude/skills/release-announcement

在 Claude Code 中复制并粘贴此命令以安装该技能

技能文档

ax:release-announcement

Write release announcements that are grounded in the actual release range and the agent sessions that produced it. This skill owns the curated layer under docs/releases/; Release Please still owns CHANGELOG.md.

Assumes ax is on PATH and the local ax database is reachable. If ax fails with a DB connection error, tell the user to start the repo DB and continue from git evidence only if they ask.

When to fire

Use this skill for:

  • "write release notes" / "draft release announcement"
  • "prepare changelog" / "update the website changelog"
  • "release page" / "version page" / "SEO release page"
  • "what changed in vX.Y.Z"
  • "generate announcement for vX.Y.Z"
  • "explain how we got to this release"

Do not use this for a single commit message, generic README edits, or a non-release feature doc.

Workflow

1. Resolve the version and range

If the version is known:

bun run release:announcement -- X.Y.Z

This drafts docs/releases/vX.Y.Z.md and, when the Release Please compare heading is present, embeds:

  • previous release tag (BASE_REF)
  • release tag or HEAD (HEAD_REF)
  • git diff --name-status "$BASE_REF..$HEAD_REF"
  • git log --reverse --format='%h %cs %s' "$BASE_REF..$HEAD_REF"

If you need to inspect manually:

BASE_REF=<previous-release-tag>
HEAD_REF=<release-head-or-tag>
git diff --name-status "$BASE_REF..$HEAD_REF"
git log --reverse --format='%h %cs %s' "$BASE_REF..$HEAD_REF"

2. Map commits and files to agent sessions

Use the file list to identify touched subsystems. Use the commit list to pick important SHAs. Then query ax:

ax ingest here --since=30d
ax sessions here --days=30
ax sessions near <important-sha>
ax recall "<subsystem or decision>" --sources=turn,commit --scope=here

For large releases, inspect at least:

  • one SHA per major topic
  • one SHA near each major schema/API/CLI change
  • any SHA tied to a surprising bug fix or reversal
  • session windows around the merge/release PR if available

3. Write the announcement

Replace the generated draft with a topical narrative. Keep it concise, but make it useful:

  • How we got here - the problem, decision tree, tradeoffs, and why the final shape won. Cite session/commit evidence in prose.
  • What changed - grouped by topic, not one flat commit list.
  • Example - a CLI command, config snippet, output sample, schema fragment, or before/after workflow when the release changes behavior.
  • Visual evidence - screenshot, diagram, or output capture when a UI, CLI, dashboard, TUI, or workflow is easier to understand visually.
  • Why it matters - the practical day-to-day impact.

Do not invent motivation. If ax session evidence is missing, say what the commits and changed files prove and keep the story narrower.

4. Assets and rendering

Put website-visible release images here:

apps/site/public/releases/assets/

Reference them from release markdown:

![Focused release screenshot](/releases/assets/vX.Y.Z-topic.png)

The website release renderer supports headings, lists, links, bold scopes, fenced code blocks, and images. Use those instead of hand-written HTML.

5. Verify

Run:

bun run typecheck
cd site && bun run build

If the page changed, preview and smoke the specific version page:

cd site
bun run preview -- --host 127.0.0.1 --port 4175

Check /changelog and /changelog/vX.Y.Z.

GitHub 仓库

Necmttn/ax
路径: skills/release-announcement
0
agent-memoryagent-observabilityai-agentsbunclaude-codecodex
FAQ

常见问题

什么是 release-announcement Skill?

release-announcement 是一个 Claude Skill,作者为 Necmttn。Skill 将 Claude 按需加载的说明和资源打包,让 Claude 无需额外提示即可执行与 release-announcement 相关的任务。

如何安装 release-announcement?

使用本页的安装命令:将 release-announcement 作为插件添加到 Claude Code,或将其仓库克隆到 skills 目录,然后重启 Claude 以加载该 Skill。

release-announcement 属于哪个分类?

release-announcement 属于元分类。

release-announcement 可以免费使用吗?

可以。release-announcement 已收录在 AIMCP,可免费安装。

相关推荐技能

content-collections

Content Collections 是一个 TypeScript 优先的构建工具,可将本地 Markdown/MDX 文件转换为类型安全的数据集合。它专为构建博客、文档站和内容密集型 Vite+React 应用而设计,提供基于 Zod 的自动模式验证。该工具涵盖从 Vite 插件配置、MDX 编译到生产环境部署的完整工作流。

查看技能
polymarket

这个Claude Skill为开发者提供完整的Polymarket预测市场开发支持,涵盖API调用、交易执行和市场数据分析。关键特性包括实时WebSocket数据流,可监控实时交易、订单和市场动态。开发者可用它构建预测市场应用、实施交易策略并集成实时市场预测功能。

查看技能
creating-opencode-plugins

该Skill帮助开发者创建OpenCode插件,用于接入命令、文件、LSP等25+种事件。它提供了插件结构、事件API规范和JavaScript/TypeScript实现模式,适合需要拦截操作、扩展功能或自定义事件处理的场景。开发者可通过它快速构建响应式模块来增强OpenCode AI助手的能力。

查看技能
sglang

SGLang是一个专为LLM设计的高性能推理框架,特别适用于需要结构化输出的场景。它通过RadixAttention前缀缓存技术,在处理JSON、正则表达式、工具调用等具有重复前缀的复杂工作流时,能实现极速生成。如果你正在构建智能体或多轮对话系统,并追求远超vLLM的推理性能,SGLang是理想选择。

查看技能