Token导航 LogoToken导航TokenDH.com
运维和基础设施需要联网github未标认证来源可访问clear审计异常

changelog-generator变更日志生成器

Agent Skill

changelog-generator 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

315

周安装

13

GitHub Stars

公开资料未说明

下载量

103
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/hiccup-za/qa-skills --skill changelog-generator

简介

changelog-generator 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需确认权限和维护状态。
  • 使用前建议核验具体用法,注意是否会触发联网、命令执行或文件读写操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Changelog Generator

Automated changelog generation following semantic versioning (SemVer) and Keep a Changelog standards. This skill guides agents through reviewing staged changes, determining appropriate version bumps, and updating both @package.json and @CHANGELOG.md files consistently.

Overview

The Changelog Generator skill automates the process of:

  • Analyzing staged git changes to determine change types
  • Calculating appropriate semantic version bumps (MAJOR.MINOR.PATCH)
  • Updating the version in @package.json
  • Generating properly formatted changelog entries in @CHANGELOG.md
  • Ensuring consistency between version numbers and changelog entries

This skill follows the Semantic Versioning 2.0.0 specification and the Keep a Changelog format standards.

When to Apply

Reference this skill when:

  • User requests to "update changelog" or "generate changelog"
  • User asks to "bump version" or "create release"
  • Preparing for a new release
  • Need to document changes in a standardized format
  • Ensuring version numbers follow semantic versioning
  • Maintaining consistent changelog formatting

Preconditions:

  • Git repository with staged changes
  • Existing @package.json file with a version field
  • Existing @CHANGELOG.md file following Keep a Changelog format
  • Access to git commands (git diff, git status)

Workflow

The changelog generation process follows these 7 steps:

Step 1: Review All Staged Changes

Objective: Understand what changes have been staged and categorize them.

Actions:

  1. Check git status to see what's staged: git status
  2. Review all staged changes: git diff --cached
  3. Analyze the changes to identify:

- Breaking changes: API changes, removed features, incompatible changes - New features: Added functionality, new APIs, new components - Bug fixes: Fixes to existing functionality - Documentation: README updates, doc changes (usually don't affect version) - Refactoring: Code improvements without behavior changes (usually PATCH)

  1. Review commit messages if available: git log --oneline --cached

Categorization Guidelines:

  • Breaking changes → MAJOR version bump
  • New features → MINOR version bump
  • Bug fixes → PATCH version bump
  • Documentation only → Usually no version bump (or PATCH if significant)
  • Refactoring → Usually PATCH version bump

Output: List of categorized changes ready for changelog entry.

Step 2: Determine the Appropriate Version Bump

Objective: Calculate the new version number based on semantic versioning rules.

Actions:

  1. Read current version from @package.json: # Read the version field cat package.json | grep '"version"'
  2. Apply semantic versioning rules:

- MAJOR (X.0.0): Increment when you make incompatible API changes - Breaking API changes - Removed features - Changed behavior that breaks existing code - Example: 1.2.32.0.0 - MINOR (0.X.0): Increment when you add functionality in a backward-compatible manner - New features - New APIs (backward compatible) - Deprecated features (still functional) - Example: 1.2.31.3.0 - PATCH (0.0.X): Increment when you make backward-compatible bug fixes - Bug fixes - Security patches - Performance improvements - Documentation updates (if versioned) - Example: 1.2.31.2.4

  1. Priority order: If multiple change types exist, use the highest:

- MAJOR > MINOR > PATCH - If any breaking changes exist → MAJOR - Else if any new features exist → MINOR - Else → PATCH

Decision Tree:

Are there breaking changes?
├─ Yes → MAJOR version bump (X.0.0)
└─ No → Are there new features?
    ├─ Yes → MINOR version bump (0.X.0)
    └─ No → PATCH version bump (0.0.X)

Output: New version number (e.g., 1.2.4).

Step 3: Update @package.json Version Accordingly

Objective: Update the version field in the root @package.json file.

Actions:

  1. Read the current @package.json file
  2. Locate the "version" field (usually near the top)
  3. Update the version number to the new version determined in Step 2
  4. Preserve all formatting:

- Keep the same indentation (spaces or tabs) - Maintain the same JSON structure - Don't modify other fields - Don't reorder fields - Keep trailing commas if they exist

Example:

// Before
{
  "name": "qa-skills",
  "version": "0.4.0",
  "private": true,
  ...
}

// After (PATCH bump)
{
  "name": "qa-skills",
  "version": "0.4.1",
  "private": true,
  ...
}

Important:

  • Only update the version field
  • Don't change any other content
  • Maintain JSON validity
  • Preserve file formatting and style

Output: Updated @package.json with new version number.

Step 4: Update @CHANGELOG.md with a New Version Block

Objective: Add a new version section to @CHANGELOG.md following Keep a Changelog format.

Actions:

  1. Read the current @CHANGELOG.md file
  2. Locate the ## [Unreleased] section (should be at the top)
  3. Insert a new version block after ## [Unreleased] and before the previous version
  4. Use the format: ## [X.Y.Z] - YYYY-MM-DD

- X.Y.Z is the new version number - YYYY-MM-DD is the current date (see Step 5)

Example Structure:

# Changelog

## [Unreleased]

## [0.4.1] - 2026-01-25

### Added
- New feature description

## [0.4.0] - 2026-01-25
...

Important:

  • Place new version block between [Unreleased] and the previous release
  • Use exact format: ## [X.Y.Z] - YYYY-MM-DD
  • Maintain consistent spacing with existing entries
  • Don't modify existing version entries

Output: @CHANGELOG.md with new version header added.

Step 5: Add the Version and the Date

Objective: Ensure the version block has the correct version number and current date.

Actions:

  1. Get the current date in YYYY-MM-DD format

- Use system date/time information - Never assume or hardcode dates - Format: YYYY-MM-DD (e.g., 2026-01-25)

  1. Verify the version number matches Step 2 and Step 3

- Version in changelog header must match @package.json version - Format: [X.Y.Z] where X, Y, Z are numbers

  1. Update the version block header if needed: ## [0.4.1] - 2026-01-25

Date Format Rules:

  • Always use YYYY-MM-DD format
  • Use 4-digit year
  • Use 2-digit month (01-12)
  • Use 2-digit day (01-31)
  • Match the format of existing changelog entries

Example:

## [1.2.4] - 2026-01-25

Output: Version block with correct version number and date.

Step 6: Add the Changelog Data

Objective: Populate the version block with categorized change entries.

Actions:

  1. Organize changes from Step 1 into appropriate sections
  2. Use the standard Keep a Changelog sections:

- ### Added - New features - ### Changed - Changes in existing functionality - ### Deprecated - Soon-to-be removed features - ### Removed - Removed features - ### Fixed - Bug fixes - ### Security - Security vulnerabilities

  1. Format each entry:

- Use bullet points with - prefix - Start with a capital letter - End without a period (unless it's a full sentence) - Be concise and descriptive - Focus on user-facing changes

  1. Section Guidelines:

- Added: New features, new APIs, new components, new capabilities - Changed: Modified behavior, API changes (non-breaking), improvements - Deprecated: Features marked for removal in future versions - Removed: Features that were removed (usually indicates MAJOR bump) - Fixed: Bug fixes, corrections, patches - Security: Security-related fixes and improvements

  1. Only include sections that have changes
  2. Order sections: Added, Changed, Deprecated, Removed, Fixed, Security

Example:

## [0.4.1] - 2026-01-25

### Added
- New changelog generator skill for cursor agents
- Support for semantic versioning automation

### Fixed
- Corrected version bump logic for patch releases
- Fixed date formatting in changelog entries

### Changed
- Improved changelog entry categorization

Writing Guidelines:

  • Write from the user's perspective
  • Use present tense ("Adds feature" not "Added feature")
  • Be specific but concise
  • Group related changes together
  • Avoid technical jargon when possible
  • Focus on what changed, not how it was implemented

Output: Complete version block with all categorized changes.

Step 7: One Final Review

Objective: Verify everything is correct and consistent before completion.

Checklist:

  1. Version Consistency:

- Version in @package.json matches version in @CHANGELOG.md header - Version format is correct (X.Y.Z where X, Y, Z are numbers)

  1. Date Format:

- Date is in YYYY-MM-DD format - Date matches current date (not future or past) - Date format matches existing changelog entries

  1. Changelog Content:

- All staged changes are represented in the changelog - Changes are in the correct sections - No duplicate entries - Entries are clear and descriptive

  1. Formatting:

- Markdown formatting is correct - Version block is in the correct location (after [Unreleased]) - Proper spacing between sections - Consistent with existing changelog style

  1. Semantic Versioning:

- Version bump type matches change types (MAJOR/MINOR/PATCH) - Breaking changes → MAJOR bump - New features → MINOR bump - Bug fixes → PATCH bump

  1. File Integrity:

- @package.json is valid JSON - @CHANGELOG.md is valid markdown - No syntax errors - Files are properly formatted

If any issues are found:

  • Fix them before completing
  • Re-verify the checklist
  • Ensure consistency across all files

Output: Verified and consistent changelog and version updates.

File References

This skill references files using the @ syntax convention:

  • @package.json: The root package.json file in the repository

- Contains the version field that needs updating - Located at the repository root

  • @CHANGELOG.md: The changelog file following Keep a Changelog format

- Contains version history and change documentation - Located at the repository root - Format: Markdown with version blocks

Usage in skill: When the skill mentions @package.json or @CHANGELOG.md, it refers to these specific files at the repository root. Always read these files before making changes and verify their current state.

Semantic Versioning Rules

Follow Semantic Versioning 2.0.0 specification:

Version Format: MAJOR.MINOR.PATCH

  • MAJOR version (X.0.0): Increment when you make incompatible API changes

- Breaking changes to public APIs - Removed features or functionality - Changed behavior that breaks existing code - Example: 1.2.32.0.0

  • MINOR version (0.X.0): Increment when you add functionality in a backward-compatible manner

- New features added - New APIs (backward compatible) - Deprecated features (still functional) - Example: 1.2.31.3.0

  • PATCH version (0.0.X): Increment when you make backward-compatible bug fixes

- Bug fixes - Security patches - Performance improvements - Documentation updates (if versioned) - Example: 1.2.31.2.4

Pre-release and Build Metadata

  • Pre-release versions: 1.0.0-alpha.1, 1.0.0-beta.2, 1.0.0-rc.1
  • Build metadata: 1.0.0+20130313144700

For standard releases, use the three-part version number (X.Y.Z).

Decision Priority

When multiple change types exist:

  1. Any breaking changes → MAJOR bump
  2. Any new features (without breaking changes) → MINOR bump
  3. Only bug fixes → PATCH bump

Keep a Changelog Format

Follow the Keep a Changelog format standards:

Structure

# Changelog

## [Unreleased]

## [X.Y.Z] - YYYY-MM-DD

### Added
- New features

### Changed
- Changes in existing functionality

### Deprecated
- Soon-to-be removed features

### Removed
- Removed features

### Fixed
- Bug fixes

### Security
- Security vulnerabilities

Section Guidelines

  • Added: New features, capabilities, or functionality
  • Changed: Modifications to existing functionality
  • Deprecated: Features that will be removed in a future version
  • Removed: Features that have been removed
  • Fixed: Bug fixes and corrections
  • Security: Security-related fixes and improvements

Formatting Rules

  • Use ## for version headers: ## [X.Y.Z] - YYYY-MM-DD
  • Use ### for change type sections: ### Added
  • Use - for bullet points
  • Date format: YYYY-MM-DD
  • Only include sections that have changes
  • Order: Added, Changed, Deprecated, Removed, Fixed, Security

Best Practices

  • Write from the user's perspective
  • Be clear and concise
  • Group related changes
  • Use present tense
  • Focus on what changed, not implementation details
  • Keep [Unreleased] section for future changes

Quick Reference

Git Commands

# Check staging status
git status

# Review staged changes
git diff --cached

# View commit history
git log --oneline --cached

Version Bump Examples

# Current: 1.2.3

# Breaking change → 2.0.0
# New feature → 1.3.0
# Bug fix → 1.2.4

Changelog Entry Template

## [X.Y.Z] - YYYY-MM-DD

### Added
- Description of new feature

### Changed
- Description of change

### Fixed
- Description of fix

Common Patterns

Pattern: Feature Release

  • Changes: New features, no breaking changes
  • Version: MINOR bump (0.X.0)
  • Sections: ### Added, possibly ### Changed

Pattern: Bug Fix Release

  • Changes: Only bug fixes
  • Version: PATCH bump (0.0.X)
  • Sections: ### Fixed

Pattern: Major Release

  • Changes: Breaking changes
  • Version: MAJOR bump (X.0.0)
  • Sections: ### Removed, ### Changed, possibly ### Added

Pattern: Security Release

  • Changes: Security fixes
  • Version: PATCH bump (usually) or MAJOR (if breaking)
  • Sections: ### Security, ### Fixed

Troubleshooting

Issue: Version mismatch between files

Solution: Ensure Step 3 and Step 4 use the same version number. Re-check both files.

Issue: Can't determine version bump type

Solution: Review Step 1 changes carefully. Use priority: MAJOR > MINOR > PATCH.

Issue: Changelog format doesn't match existing

Solution: Review existing @CHANGELOG.md entries and match their style exactly.

Issue: Missing changes in changelog

Solution: Re-run Step 1 to ensure all staged changes are reviewed and categorized.

References

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

Cursor

26.66%
按下载量换算27

OpenCode

25.61%
按下载量换算26

Gemini CLI

16.32%
按下载量换算17

Antigravity

11.55%
按下载量换算12

Claude Code

7.55%
按下载量换算8

windsurf

3.51%
按下载量换算4

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills