Agent Skills › rokartur/BetterCmdTab

rokartur/BetterCmdTab

GitHub

从指定版本至HEAD生成面向用户的发布说明。验证Git范围,审查提交与PR以提取可观测变更及关联Issue,排除杂项,按规范结构输出Markdown格式的发布笔记。

1 skills 535

Install All Skills

npx skills add rokartur/BetterCmdTab --all -g -y
More Options

List skills in collection

npx skills add rokartur/BetterCmdTab --list

Skills in Collection (1)

从指定版本至HEAD生成面向用户的发布说明。验证Git范围,审查提交与PR以提取可观测变更及关联Issue,排除杂项,按规范结构输出Markdown格式的发布笔记。
用户请求生成版本发布说明 需要基于GitHub Issue引用生成Release Notes
.agents/skills/release-changelog/SKILL.md
npx skills add rokartur/BetterCmdTab --skill release-changelog -g -y
SKILL.md
Frontmatter
{
    "name": "release-changelog",
    "description": "Changelog generation for BetterCmdTab from a version or tag through HEAD. Use when the user requests release notes with verified GitHub issue references."
}

Release changelog

Create end-user release notes from a base version through the latest commit. Return Markdown unless the user names an output file.

1. Fix the range and format

Read compose_release_notes_interactively in scripts/build_release.sh. Its section names, heading levels, and order are canonical. Read the release/changelog rules in AGENTS.md for the audience and compare footer.

Use the requested base ref. Resolve a bare stable version first; only try its v-prefixed tag when reading a historical release without a bare ref. If no base was given, use git describe --tags --abbrev=0 HEAD and state that choice. The target is HEAD unless the user supplied another commit. Resolve both endpoints with git rev-parse and verify the range with git merge-base --is-ancestor.

Complete when: the exact BASE..TARGET range is valid and the canonical output structure is known from the current repository files.

2. Build an evidence ledger

Inspect every commit with git log --reverse --format=fuller "$BASE..$TARGET" and every net changed file with git diff --name-status "$BASE..$TARGET". Read patches whenever a subject does not prove the user-visible outcome. Classify every commit as either:

  • one observable user change, possibly grouped with related commits; or
  • excluded because it is only chore, refactor, build, test, ci, or documentation.

Collect issue numbers from commit messages and associated pull requests. Query pull requests with gh pr view ... --json body,closingIssuesReferences and confirm candidates with gh issue view. A printed number must identify a relevant issue, not merely the pull request containing the change. Append verified issues to the matching bullet as (#123, #456). Leave the suffix off when no issue is verified.

Complete when: every commit and changed file is accounted for, every included claim is supported by a diff, and every printed issue number is verified and relevant.

3. Write outcome-first notes

Start directly with the canonical Highlights heading. Put its one- or two-sentence summary on one physical line so extract_highlight_line can consume it.

Emit only non-empty canonical sections, in the script's order and at its exact heading depth. Each section item is one physical line in the form - User-visible outcome so extract_bullets_under_heading can consume it. Describe what users can now do, what changed for them, or what no longer breaks. Use product language rather than commit subjects, implementation symbols, or contributor workflow.

Use the Security section only for user-relevant security changes. Use Known issues only for confirmed unresolved behavior in the target. Combine duplicate outcomes and keep issue suffixes at the end of their bullets.

After a blank line, end with:

**Full changelog:** https://github.com/rokartur/BetterCmdTab/compare/<BASE>...<TARGET-REF>

Use the intended bare release tag as TARGET-REF when the user supplied it; strip a leading v from a new target tag. Otherwise use the resolved target commit SHA.

Complete when: the first line is the canonical Highlights heading, all headings exactly match build_release.sh, empty sections are absent, every bullet is user-facing, and the footer represents the inspected range.

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-23 02:34
浙ICP备14020137号-1 $お客様$