Agent SkillsfeigeCode/navop › navop-release-notes

navop-release-notes

GitHub

用于Navop仓库生成、审查和发布中英双语GitHub Release说明。基于git历史总结用户可见变更,遵循既定或默认模板,通过gh CLI操作并验证远程发布内容。

.codex/skills/navop-release-notes/SKILL.md feigeCode/navop

Trigger Scenarios

需要为Navop项目版本标签生成Release Notes 需要审查或发布GitHub Releases 需要验证已发布的Release内容

Install

npx skills add feigeCode/navop --skill navop-release-notes -g -y
More Options

Non-standard path

npx skills add https://github.com/feigeCode/navop/tree/dev/.codex/skills/navop-release-notes -g -y

Use without installing

npx skills use feigeCode/navop@navop-release-notes

指定 Agent (Claude Code)

npx skills add feigeCode/navop --skill navop-release-notes -a claude-code -g -y

安装 repo 全部 skill

npx skills add feigeCode/navop --all -g -y

预览 repo 内 skill

npx skills add feigeCode/navop --list

SKILL.md

Frontmatter
{
    "name": "navop-release-notes",
    "description": "Use when working in the Navop repository on version tags or GitHub Releases, especially when release notes must be generated, reviewed, published, or verified in Chinese and English."
}

Navop Release Notes

Overview

Generate Navop GitHub Release notes from git history. Preserve established Release style when it exists; otherwise use the bilingual default in this skill. Use gh for GitHub reads and writes, and verify the remote Release after saving.

Required Context

Work from the Navop repo root and confirm the remote points to feigeCode/navop:

rtk git status --short --branch
rtk git remote -v
rtk git tag --sort=-creatordate
rtk gh release list --limit 8

Default version boundary is the newest two version tags, for example v0.8.8..v0.8.9. If the user names versions, use those exact tags. Never update a release until the target tag and previous tag are explicit.

Before writing notes, inspect recent Release style:

rtk gh release view <target-tag> --json tagName,name,body,publishedAt,url
rtk gh release view <previous-tag> --json tagName,name,body,publishedAt,url
rtk gh release view <older-tag> --json tagName,name,body,publishedAt,url

If Navop has no established Release style yet, use this bilingual shape:

## 中文

### 更新内容

- ...

### 修复与调整

- ...

---

## English

### Changes

- ...

### Fixes

- ...

**Full Changelog**: https://github.com/feigeCode/navop/compare/<previous-tag>...<target-tag>

For larger releases, add short overview paragraphs and extra sections only when prior style or commit volume justifies it.

Generate Notes

Read commits and changed files:

rtk git log --reverse --format='%H%n%s%n%b%n---END---' <previous-tag>..<target-tag>
rtk git diff --stat <previous-tag>..<target-tag>
rtk git diff --name-status <previous-tag>..<target-tag>

For unclear commits, inspect targeted diffs:

rtk git show --stat --oneline --find-renames <commit>
rtk git show --format=medium --find-renames <commit> -- <path>

Summarize user-facing behavior, not implementation trivia. Use categories:

  • Chinese 更新内容: features, UX improvements, performance, workflow improvements.
  • Chinese 修复与调整: bug fixes, compatibility, stability, maintenance with user impact.
  • English Changes: faithful English version of 更新内容.
  • English Fixes: faithful English version of 修复与调整.

Include maintenance bullets only when visible in commits and useful to release readers. Keep internal refactors out unless they explain a visible behavior change.

Save Locally

Save the generated body to a temporary Markdown file first. Prefer /private/tmp on this machine:

NOTES=/private/tmp/navop-<target-tag>-release-notes.md

Create the file with normal editing tools, then review it:

rtk sed -n '1,240p' /private/tmp/navop-<target-tag>-release-notes.md

The file must contain both ## 中文 and ## English, and the final compare link must use three dots:

**Full Changelog**: https://github.com/feigeCode/navop/compare/<previous-tag>...<target-tag>

Save To GitHub

Use GitHub CLI release commands, not manual browser editing:

rtk gh release edit <target-tag> --notes-file /private/tmp/navop-<target-tag>-release-notes.md

If the release name is also wrong, set it explicitly:

rtk gh release edit <target-tag> --title "Navop <target-tag>" --notes-file /private/tmp/navop-<target-tag>-release-notes.md

Do not overwrite a non-empty hand-written Release body until you have read it and intentionally preserved or replaced the relevant parts.

Verify

Before saying the release notes are saved, run a fresh read:

rtk gh release view <target-tag> --json tagName,name,body,publishedAt,url

Verify:

  • tagName is the intended target tag.
  • body contains ## 中文, ## English, and the expected compare URL.
  • The visible content matches the local notes file.

Also check the working tree so unrelated local edits are not mistaken for release-note work:

rtk git status --short --branch

Report the target URL and the verification command result summary.

Common Mistakes

Mistake Correct Action
Using only Chinese notes Publish matching Chinese and English sections.
Assuming legacy repository details Confirm the remote is feigeCode/navop and use Navop URLs, titles, and temp-file names.
Comparing the wrong tags Confirm newest two tags or use user-specified tags before writing.
Listing raw commits Group commits into release-reader categories.
Losing existing release text Read the existing body first and decide whether to preserve or replace.
Claiming saved without verification Re-read the GitHub Release with gh release view first.

Version History

  • e768f09 Current 2026-07-19 08:48

Same Skill Collection

.codex/skills/gpui-action/SKILL.md
.codex/skills/gpui-async/SKILL.md
.codex/skills/gpui-context/SKILL.md
.codex/skills/gpui-element/SKILL.md
.codex/skills/gpui-entity/SKILL.md
.codex/skills/gpui-event/SKILL.md
.codex/skills/gpui-focus-handle/SKILL.md
.codex/skills/gpui-global/SKILL.md
.codex/skills/gpui-layout-and-style/SKILL.md
.codex/skills/gpui-style-guide/SKILL.md
.codex/skills/gpui-test/SKILL.md
.codex/skills/new-component/SKILL.md

Metadata

Files
0
Version
ba0720c
Hash
e11c8a8e
Indexed
2026-07-19 08:48

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-20 15:27
浙ICP备14020137号-1 $Carte des visiteurs$