Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计提醒

generate-release-notes生成发行说明

Agent Skill

generate-release-notes 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

436

周安装

18

GitHub Stars

18,424

下载量

143
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:generate-release-notes(生成发行说明)
来源仓库:https://github.com/teambit/bit
仓库路径:skills/generate-release-notes
安装命令:
npx skills add https://github.com/teambit/bit --skill generate-release-notes
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/teambit/bit --skill generate-release-notes

简介

generate-release-notes 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词、任务场景或来源线索快速定位候选结果。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需结合原始 README 核验具体用法。
  • 安装前建议确认权限范围、维护状态及是否会触发联网、命令执行或文件读写操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Generate Release Notes for Bit

This skill helps generate release notes for Bit following the established patterns and guidelines.

Important: Intermediate Files

All intermediate steps must be saved to releases-docs/temp-files/ for review. This folder is gitignored.

Required intermediate files:

  1. raw-commits.md - Raw commit data from GitHub API
  2. filtered-commits.md - Two sections: filtered out commits and kept commits

Workflow

Follow these steps to generate release notes:

Step 1: Setup Temp Directory

First, ensure the temp directory exists:

mkdir -p releases-docs/temp-files

Step 2: Determine the Commit Range

  1. Get the latest release tag and commit: # Get latest release tag gh release view --repo teambit/bit --json tagName -q '.tagName' # Get the commit SHA for the tag (handles annotated tags) TAG="v1.12.158" # Replace with actual tag TAG_REF=$(gh api "repos/teambit/bit/git/refs/tags/$TAG" -q '.object.sha') TAG_TYPE=$(gh api "repos/teambit/bit/git/refs/tags/$TAG" -q '.object.type') if ["$TAG_TYPE" = "tag"]; then # Annotated tag - get the commit it points to RELEASE_COMMIT=$(gh api "repos/teambit/bit/git/tags/$TAG_REF" -q '.object.sha') else # Lightweight tag - already have the commit RELEASE_COMMIT=$TAG_REF fi
  2. Determine the starting point:

- If user provides a specific commit hash, use that as FROM_COMMIT - If not provided, use HEAD (latest commit on master)

Step 3: Fetch Commits and Save to raw-commits.md

Use the GitHub API to get commits between the release and the starting point:

# Compare commits between release and HEAD (or specific commit)
gh api "repos/teambit/bit/compare/${RELEASE_COMMIT}...${FROM_COMMIT}" \
    --jq '.commits[] | "\(.sha[0:7]) | \(.commit.message | split("\n")[0]) | \(.commit.author.name)"'

Save the output to releases-docs/temp-files/raw-commits.md with the following format:

# Raw Commits

Generated: {DATE}
From: {FROM_COMMIT or HEAD}
To: {RELEASE_TAG} ({RELEASE_COMMIT})
Total commits: {COUNT}

## Commits

| Hash    | Message                      | Author      |
| ------- | ---------------------------- | ----------- |
| abc1234 | feat: add new feature (#123) | Author Name |
| def5678 | fix: resolve bug (#456)      | Author Name |

...

Step 4: Filter Commits and Save to filtered-commits.md

Analyze each commit and categorize into two groups:

FILTER OUT (do not include in release notes):

  • Version bump commits: bump teambit version to X.X.X [skip ci]
  • CI-only changes: commits that only modify CircleCI config
  • Skip CI markers: commits with [skip ci] in the message
  • Auto-merge commits: Merge branch 'X' into master

KEEP (include in release notes):

  • All feature commits (feat:)
  • All fix commits (fix:)
  • All performance commits (perf:)
  • Dependency updates (go in Internal section)
  • Refactoring commits (go in Internal section)

Save to releases-docs/temp-files/filtered-commits.md with the following format:

# Filtered Commits

Generated: {DATE}

## Filtered Out ({COUNT} commits)

These commits are excluded from the release notes:

| Hash    | Message                                   | Reason       |
| ------- | ----------------------------------------- | ------------ |
| abc1234 | bump teambit version to 1.13.5 [skip ci]  | Version bump |
| def5678 | ci, temporarily set tag to increment by 2 | CI change    |

...

## Kept for Release Notes ({COUNT} commits)

These commits will be included in the release notes:

| Hash    | Message                         | Category     |
| ------- | ------------------------------- | ------------ |
| ghi9012 | feat: add new command (#123)    | New Features |
| jkl3456 | fix: resolve issue (#456)       | Bug Fixes    |
| mno7890 | chore(deps): bump lodash (#789) | Internal     |

...

Step 5: Enrich Commit Information

For commits that are merge commits or have unclear messages, fetch PR details:

# Get PR details by number
gh pr view 12345 --repo teambit/bit --json title,body,labels

# Search for PR by commit
gh pr list --repo teambit/bit --search "SHA_HERE" --state merged --json number,title,body

Look for:

  • PR title and description
  • Labels (feat, fix, perf, etc.)
  • Related issues

Step 6: Categorize Changes

Group the KEPT commits into these categories based on content:

CategoryIndicators
New FeaturesNew commands, new major functionality, "Introduce", "feat:" prefix
ImprovementsEnhancements, "Support", "Allow", "Add option", improvements to existing features
Performance"Optimize", "perf:", "Reduce memory", "Speed up", "Improve performance"
Bug Fixes"Fix", "fix:", bug corrections, issue resolutions
InternalDependency updates, refactoring, CI changes, code cleanup, test improvements

Step 7: Write Release Notes

Follow the guidelines in releases-docs/guideline.md:

  1. Section Order: New Features → Improvements → Performance → Bug Fixes → Internal
  2. Only include sections that have content
  3. Format each item:

- Start with a verb (Fix, Add, Support, Improve, Introduce) - Include PR numbers at the end: (#1234) or (#1234, #1235) - Use backticks for: commands, flags, file names, config properties - Use bold for major feature names

Step 8: Save the Release Notes

Save to releases-docs/releases/ folder:

  • If version provided: releases-docs/releases/v{VERSION}.md
  • If no version: releases-docs/releases/new-release.md

Important: Do NOT include the header metadata (title, tag, draft, etc.) - only the release content starting from the sections.

Example Output Format

### New Features

- New `bit validate` command to run a complete `test`, `lint`, `compile` and `typecheck` for a project (#10022)
- **Bit Scripts** for simple shell commands or function execution for components (#10028)

### Improvements

- `bit recover` command now supports component and glob patterns (#10033)
- Improve error messages in CLI (#10027, #9983)

### Performance

- Don't read and parse the lockfile multiple times for calculating deps graph (#10019)

### Bug Fixes

- Fix an issue where test duration had incorrect format (#9940)
- Fix an issue where `bit new` wasn't resolving a remote env (#9981)

### Internal

- Update dependencies (#10018, #10015, #10006)
- Modernize some legacy code (#10024, #10014)

Output Files Summary

FileLocationPurpose
raw-commits.mdreleases-docs/temp-files/Raw commit data for review
filtered-commits.mdreleases-docs/temp-files/Filtered/kept commits for review
v{VERSION}.md or new-release.mdreleases-docs/releases/Final release notes

Reference Files

  • Guidelines: releases-docs/guideline.md - Detailed formatting and style guidelines
  • Examples: releases-docs/releases/ - Previous release notes for reference patterns

Helper Scripts (Optional)

The releases-docs/scripts/ directory contains shell scripts for manual use:

  • get-release-commits.sh [FROM_COMMIT] [TO_TAG] - Fetches commits between releases
  • filter-commits.sh - Filters out uninteresting commits (pipe input to it)

These scripts are provided for manual/CLI use. When using this skill, Claude uses the gh API commands directly as they work from any directory without needing the local git repository.

Tips

  1. Group related PRs - Multiple PRs for the same feature should be one line item
  2. Be concise - Users scan release notes; keep items short and clear
  3. Focus on user impact - Describe what changed for the user, not implementation details
  4. Check for typos - Common in commit messages; fix them in release notes
  5. Verify PR numbers - Ensure all referenced PRs exist and are correct

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.54%
按下载量换算54

Claude

31.54%
按下载量换算45

Cursor

19.25%
按下载量换算28

Gemini CLI

8.86%
按下载量换算13

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/teambit/bit --skill generate-release-notes 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills