Agent Skillsluxury-yacht/app › draft-release-notes

draft-release-notes

GitHub

根据Git提交记录自动生成符合Keep a Changelog规范的发布说明。通过解析代码变更,以用户视角分类整理新增、修改和修复内容,并格式化输出。

.agents/skills/draft-release-notes/SKILL.md luxury-yacht/app

触发场景

用户请求生成版本更新日志 需要基于Git标签范围起草发布公告

安装

npx skills add luxury-yacht/app --skill draft-release-notes -g -y
更多选项

非标准路径

npx skills add https://github.com/luxury-yacht/app/tree/main/.agents/skills/draft-release-notes -g -y

不安装直接使用

npx skills use luxury-yacht/app@draft-release-notes

指定 Agent (Claude Code)

npx skills add luxury-yacht/app --skill draft-release-notes -a claude-code -g -y

安装 repo 全部 skill

npx skills add luxury-yacht/app --all -g -y

预览 repo 内 skill

npx skills add luxury-yacht/app --list

SKILL.md

Frontmatter
{
    "name": "draft-release-notes",
    "description": "Generate release notes from git log since last tag, following [Keep a Changelog](https:\/\/keepachangelog.com) and project conventions"
}

Release Notes

Generate formatted release notes by reading commits since the last git tag.

Usage

/draft-release-notes — generate notes from the last tag to HEAD /release-notes <from-tag> — generate notes from a specific tag to HEAD /release-notes <from-tag> <to-tag> — generate notes between two tags

Steps

  1. Determine range. If no arguments, find the latest tag with git tag --sort=-v:refname | head -1 and use <latest-tag>..HEAD. If arguments provided, use those.

  2. Read commits. Run git log <range> --oneline --no-merges to get the commit list. Also run git log <range> --oneline --merges to capture PR merge commits (these have the PR title and number).

  3. Read changed code when needed. For commits with unclear messages, read the actual changed files (git show <sha> --stat then read key files) to understand what the change does from a user's perspective.

  4. Categorize. Group changes using Keep a Changelog types. Only include categories that have entries:

    • Added — new features, new UI elements, new capabilities
    • Changed — modifications to existing functionality, UX changes, behavior changes
    • Fixed — bug corrections, stability improvements
    • Security — vulnerability patches, auth fixes
    • Deprecated — features marked for future removal
    • Removed — features that were deleted
  5. Format output. Use this template:

## v<version> — <YYYY-MM-DD>

**Added:**

- Description of feature
- Sub-detail of feature if it has multiple notable parts

**Changed:**

- Description of change

**Fixed:**

- Description of fix

Writing Style

Follow the conventions established in existing releases:

  • Write for users, not developers. Describe what the user sees or can do, not implementation details. "Favorites feature enabling users to save views with associated filters" not "implement fav persistence layer with JSON serialization."
  • Lead with the feature/area name when describing additions. "Rollback functionality for Deployments, Daemonsets, Statefulsets" not "Added a new modal that lets you roll back."
  • Use sub-bullets for notable details of a larger feature. The first bullet names the feature, subsequent bullets describe specifics (e.g., "Heart icon to mark/unmark favorite views", "Cluster-specific or universal favorite support").
  • Group related fixes under a single descriptive bullet when they're part of one effort. "Improved reliability and user experience of pod logs viewer" not three separate bullets for each small fix.
  • Bold the category name followed by a colon — **Added:**, **Fixed:** — not markdown headers for categories.
  • No PR numbers or commit hashes in the output. The release notes are for users.
  • Omit version bump commits, merge commits, and CI/build-only changes.
  • Omit the Deprecated, Removed, and Security sections unless there are actual entries — but never omit them if there ARE entries. Deprecations, removals, and breaking changes are the most important things to document.

版本历史

  • ee846a6 当前 2026-08-20 13:02

同 Skill 集合

.agents/skills/add-resource/SKILL.md
.agents/skills/app-review/SKILL.md
.agents/skills/app-shell/SKILL.md
.agents/skills/branch-review/SKILL.md
.agents/skills/browse-tables/SKILL.md
.agents/skills/cluster-auth-lifecycle/SKILL.md
.agents/skills/improve-backend/SKILL.md
.agents/skills/improve-frontend/SKILL.md
.agents/skills/make-impossible-states-impossible/SKILL.md
.agents/skills/new-story/SKILL.md
.agents/skills/object-map/SKILL.md
.agents/skills/object-panel/SKILL.md
.agents/skills/operations-workflows/SKILL.md
.agents/skills/permissions-capabilities/SKILL.md
.agents/skills/refresh-subsystem/SKILL.md
.agents/skills/shared-resource-model/SKILL.md

元信息

文件数
0
版本
6f0d98f
Hash
89362126
收录时间
2026-08-20 13:02

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-09 10:36
浙ICP备14020137号-1 $访客地图$