スキル一覧に戻る

manage-changelog

pjt222
更新日 2 days ago
7 閲覧
17
2
17
GitHubで表示
デザインgeneral

について

このスキルは、開発者がKeep a Changelog形式でプロジェクトの変更履歴を作成・管理するのを支援します。カテゴリ別エントリ(追加、修正など)やバージョンセクション、未リリースの変更追跡を管理できます。新規プロジェクト開始時、作業後のエントリ追加時、リリース準備時、既存の変更履歴をこの標準形式に変換する際にご利用ください。

クイックインストール

Claude Code

推奨
メイン
npx skills add pjt222/agent-almanac -a claude-code
プラグインコマンド代替
/plugin add https://github.com/pjt222/agent-almanac
Git クローン代替
git clone https://github.com/pjt222/agent-almanac.git ~/.claude/skills/manage-changelog

このコマンドをClaude Codeにコピー&ペーストしてスキルをインストールします

ドキュメント

Changelog verwalten

Warten a project changelog following the Keep a Changelog format. This skill covers creating a new changelog, categorizing entries, managing the [Unreleased] section, and promoting entries to versioned sections upon release. Adapts to R convention (NEWS.md) when detected.

Wann verwenden

  • Starting a new project that needs a changelog
  • Adding entries nach completing features, fixes, or other changes
  • Preparing a release by moving Unreleased entries to a versioned section
  • Reviewing changelog completeness vor publishing
  • Converting a free-form changelog to Keep a Changelog format

Eingaben

  • Erforderlich: Project root directory
  • Erforderlich: Description of changes to document (or git log to extract from)
  • Optional: Target Versionsnummer (for release promotion)
  • Optional: Release date (defaults to today)
  • Optional: Changelog format preference (Keep a Changelog or R NEWS.md)

Vorgehensweise

Schritt 1: Lokalisieren or Erstellen Changelog

Suchen for an existing changelog in das Projekt root.

# Check for common changelog filenames
ls -1 CHANGELOG.md CHANGELOG NEWS.md CHANGES.md HISTORY.md 2>/dev/null

If no changelog exists, create one with the standard header:

# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

For R packages, use NEWS.md with R convention formatting:

# packagename (development version)

## New features

## Bug fixes

## Minor improvements and fixes

Erwartet: Changelog file located or created with proper header and an Unreleased section.

Bei Fehler: If a changelog exists in a non-standard format, nicht overwrite it. Instead, note the format difference and adapt entries to match the existing style.

Schritt 2: Parsen Existing Entries

Lesen the changelog and identify its structure:

  1. Header/preamble (project name, format description)
  2. [Unreleased] section with pending changes
  3. Versioned sections in reverse chronological order ([1.2.0] vor [1.1.0])
  4. Comparison links at the bottom (optional)

Fuer jede section, identify the categories present:

  • Added -- new features
  • Changed -- changes in existing functionality
  • Deprecated -- soon-to-be removed features
  • Removed -- now removed features
  • Fixed -- bug fixes
  • Security -- Schwachstelle fixes

Erwartet: Changelog structure understood, existing entries inventoried.

Bei Fehler: If the changelog is malformed (missing sections, wrong order), note das Problems but nicht restructure ohne confirmation. Hinzufuegen new entries korrekt and flag structural issues for manual review.

Schritt 3: Categorize New Changes

Fuer jede change to be documented, classify it into one of the six categories:

CategoryWhen to UseExample Entry
AddedNew feature or capability- Add CSV export for summary reports
ChangedModification to existing feature- Change default timeout from 30s to 60s
DeprecatedFeature marked for future removal- Deprecate old_function()in favor ofnew_function()``
RemovedFeature or capability removed- Remove legacy XML parser
FixedBug fix- Fix off-by-one error in pagination
SecurityVulnerability fix- Fix SQL injection in user search (CVE-2026-1234)

Entry writing guidelines:

  • Starten each entry with a verb in imperative mood (Add, Change, Fix, Remove)
  • Be specific enough that a user can understand the impact ohne reading code
  • Reference issue numbers or CVEs where applicable
  • Keep entries to one line; use sub-bullets only for complex changes

Erwartet: Each change assigned to exactly one category with a well-written entry.

Bei Fehler: If a change spans multiple categories (e.g., both adds a feature and fixes a bug), create separate entries in each relevant category. If the category is unclear, default to "Changed."

Schritt 4: Hinzufuegen Entries to Unreleased Section

Insert categorized entries under the [Unreleased] section. Warten category order: Added, Changed, Deprecated, Removed, Fixed, Security.

## [Unreleased]

### Added

- Add batch processing mode for large datasets
- Add `--dry-run` flag to preview changes without applying

### Fixed

- Fix memory leak when processing files over 1GB
- Fix incorrect timezone handling in date parsing

Only add categories that have entries; nicht include empty category headings.

Erwartet: New entries added under [Unreleased] in the correct categories, maintaining consistent formatting.

Bei Fehler: If the Unreleased section nicht exist, create it sofort unter the header/preamble and ueber the first versioned section.

Schritt 5: Promote to Versioned Section on Release

When cutting a release, move all Unreleased entries to a new versioned section:

  1. Erstellen a new section heading: ## [1.3.0] - 2026-02-17
  2. Move all entries from [Unreleased] to the new section
  3. Leave [Unreleased] empty (but keep the heading)
  4. Aktualisieren comparison links at the bottom of die Datei
## [Unreleased]

## [1.3.0] - 2026-02-17

### Added

- Add batch processing mode for large datasets

### Fixed

- Fix memory leak when processing files over 1GB

## [1.2.0] - 2026-01-15

### Added

- Add CSV export for summary reports

Aktualisieren comparison links (if present at bottom):

[Unreleased]: https://github.com/user/repo/compare/v1.3.0...HEAD
[1.3.0]: https://github.com/user/repo/compare/v1.2.0...v1.3.0
[1.2.0]: https://github.com/user/repo/compare/v1.1.0...v1.2.0

For R NEWS.md, use the R convention:

# packagename 1.3.0

## New features

- Add batch processing mode for large datasets

## Bug fixes

- Fix memory leak when processing files over 1GB

# packagename 1.2.0
...

Erwartet: Unreleased entries moved to a dated versioned section; Unreleased section cleared; comparison links updated.

Bei Fehler: If die Version number conflicts with an existing section, die Version was already released. Check with apply-semantic-versioning to determine the correct version.

Schritt 6: Validieren Changelog Format

Verifizieren the changelog meets format requirements:

  1. Versions are in reverse chronological order (newest first)
  2. Dates follow ISO 8601 format (YYYY-MM-DD)
  3. Each versioned section has mindestens one categorized entry
  4. No duplicate version sections
  5. Comparison links (if present) match die Version sections
# Check for duplicate version sections
grep "^## \[" CHANGELOG.md | sort | uniq -d

# Verify date format
grep "^## \[" CHANGELOG.md | grep -v "Unreleased" | grep -vE "\d{4}-\d{2}-\d{2}"

Erwartet: Changelog passes all format checks with no warnings.

Bei Fehler: Beheben any format issues found: reorder sections, correct date formats, remove duplicates. Report issues that require human judgment (e.g., missing entries for known changes).

Validierung

  • Changelog file exists with proper header referencing Keep a Changelog and SemVer
  • [Unreleased] section exists at the top (unter header)
  • All new entries are categorized into Added/Changed/Deprecated/Removed/Fixed/Security
  • Entries start with imperative verb and describe user-facing impact
  • Versioned sections are in reverse chronological order
  • Dates use ISO 8601 format (YYYY-MM-DD)
  • No duplicate version sections exist
  • Comparison links (if used) are correct and up to date
  • Empty categories sind nicht included (no heading ohne entries)

Haeufige Stolperfallen

  • Internal-only entries: "Refactored database module" ist nicht useful to users. Fokussieren auf user-facing changes. Internal refactors go in commit messages, not changelogs.
  • Vague entries: "Various bug fixes" tells der Benutzer nothing. Each fix sollte a specific, descriptive entry.
  • Forgetting Unreleased: Adding entries directly to a versioned section stattdessen of Unreleased means changes are documented as already released when they sind nicht.
  • Wrong category: "Fix" that actually adds a new feature. A fix restores expected behavior; a new capability is "Added" even if it was requested as a bug report.
  • Missing Security entries: Security fixes should always be documented with CVE identifiers when available. Users need to know if they should upgrade urgently.
  • Changelog drift: Not updating the changelog at the time of the change. Batch-writing entries vor release leads to missed or poorly described changes. Schreiben entries alongside code changes.

Verwandte Skills

  • apply-semantic-versioning -- Bestimmen die Version number that pairs with changelog entries
  • plan-release-cycle -- Definieren when changelog entries get promoted to versioned sections
  • commit-changes -- Commit changelog updates with proper messages
  • release-package-version -- R-specific release workflow einschliesslich NEWS.md updates
  • create-github-release -- Use changelog content as GitHub release notes

GitHub リポジトリ

pjt222/agent-almanac
パス: i18n/de/skills/manage-changelog
0
agentsagentskillsai-assisted-developmentclaude-codeskillsteams

関連スキル

executing-plans

デザイン

executing-plansスキルは、完全な実装計画があり、それを管理されたバッチでレビューチェックポイントを設けながら実行する場合に使用します。このスキルは計画を読み込んで批判的にレビューした後、小さなバッチ(デフォルトは3タスク)でタスクを実行し、各バッチの間に進捗状況を報告してアーキテクトのレビューを受けます。これにより、品質管理チェックポイントが組み込まれた体系的な実装が保証されます。

スキルを見る

requesting-code-review

デザイン

このスキルは、コードレビュアーサブエージェントを起動し、処理を進める前に要件に対してコード変更を分析します。タスク完了後、主要な機能の実装後、またはmainブランチへのマージ前などに使用すべきです。このレビューは、現在の実装と元の計画を比較することで、問題を早期に発見するのに役立ちます。

スキルを見る

connect-mcp-server

デザイン

このスキルは、開発者がHTTP、stdio、またはSSEトランスポートを使用してMCPサーバーをClaude Codeに接続するための包括的なガイドを提供します。GitHub、Notion、カスタムAPIなどの外部サービスを統合するためのインストール、設定、認証、セキュリティについて解説しています。MCP統合のセットアップ、外部ツールの設定、またはClaudeのModel Context Protocolを扱う際にご利用ください。

スキルを見る

web-cli-teleport

デザイン

このスキルは、タスク分析に基づいて開発者がClaude Code WebとCLIインターフェースの選択を支援し、これらの環境間でのシームレスなセッションテレポーテーションを可能にします。Web、CLI、モバイル環境を切り替える際のセッション状態とコンテキストを管理することで、ワークフローを最適化します。様々な段階で異なるツールを必要とする複雑なプロジェクトにご活用ください。

スキルを見る