manage-changelog
О программе
Этот навык Claude помогает разработчикам вести журнал изменений в соответствии с форматом Keep a Changelog. Он управляет категоризацией записей (Добавлено, Изменено, Исправлено и т.д.), разделами версий и отслеживанием неизданных изменений. Используйте его при запуске проекта, добавлении записей о функциях или исправлениях, подготовке релизов или конвертации существующих журналов изменений в данный стандарт.
Быстрая установка
Claude Code
Рекомендуетсяnpx skills add pjt222/agent-almanac -a claude-code/plugin add https://github.com/pjt222/agent-almanacgit clone https://github.com/pjt222/agent-almanac.git ~/.claude/skills/manage-changelogСкопируйте и вставьте эту команду в Claude Code для установки этого навыка
Документация
Manage Changelog
Maintain project changelog following Keep a Changelog format. Covers creating new changelog, categorizing entries, managing [Unreleased] section, promoting entries to versioned sections upon release. Adapts to R convention (NEWS.md) when detected.
When Use
- Starting new project needing changelog
- Adding entries after completing features, fixes, other changes
- Preparing release by moving Unreleased entries to versioned section
- Reviewing changelog completeness before publishing
- Converting free-form changelog to Keep a Changelog format
Inputs
- Required: Project root directory
- Required: Description of changes to document (or git log to extract from)
- Optional: Target version number (for release promotion)
- Optional: Release date (defaults to today)
- Optional: Changelog format preference (Keep a Changelog or R NEWS.md)
Steps
Step 1: Locate or Create Changelog
Search for existing changelog in project root.
# Check for common changelog filenames
ls -1 CHANGELOG.md CHANGELOG NEWS.md CHANGES.md HISTORY.md 2>/dev/null
No changelog exists? Create one with 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
Got: Changelog file located or created with proper header and Unreleased section.
If fail: Changelog exists in non-standard format? Do not overwrite. Note format difference, adapt entries to match existing style.
Step 2: Parse Existing Entries
Read changelog, identify structure:
- Header/preamble (project name, format description)
[Unreleased]section with pending changes- Versioned sections in reverse chronological order (
[1.2.0]before[1.1.0]) - Comparison links at bottom (optional)
For each section, identify categories present:
- Added -- new features
- Changed -- changes in existing functionality
- Deprecated -- soon-to-be removed features
- Removed -- now removed features
- Fixed -- bug fixes
- Security -- vulnerability fixes
Got: Changelog structure understood. Existing entries inventoried.
If fail: Changelog malformed (missing sections, wrong order)? Note issues but do not restructure without confirmation. Add new entries correctly, flag structural issues for manual review.
Step 3: Categorize New Changes
For each change to be documented, classify into one of six categories:
| Category | When to Use | Example Entry |
|---|---|---|
| Added | New feature or capability | - Add CSV export for summary reports |
| Changed | Modification to existing feature | - Change default timeout from 30s to 60s |
| Deprecated | Feature marked for future removal | - Deprecate old_function()in favor ofnew_function()`` |
| Removed | Feature or capability removed | - Remove legacy XML parser |
| Fixed | Bug fix | - Fix off-by-one error in pagination |
| Security | Vulnerability fix | - Fix SQL injection in user search (CVE-2026-1234) |
Entry writing guidelines:
- Start each entry with verb in imperative mood (Add, Change, Fix, Remove)
- Be specific enough that user can understand impact without reading code
- Reference issue numbers or CVEs where applicable
- Keep entries to one line. Use sub-bullets only for complex changes
Got: Each change assigned to exactly one category with well-written entry.
If fail: Change spans multiple categories (e.g., both adds feature and fixes bug)? Create separate entries in each relevant category. Category unclear? Default to "Changed."
Step 4: Add Entries to Unreleased Section
Insert categorized entries under [Unreleased] section. Maintain 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 with entries. Do not include empty category headings.
Got: New entries added under [Unreleased] in correct categories, maintaining consistent formatting.
If fail: Unreleased section does not exist? Create immediately below header/preamble and above first versioned section.
Step 5: Promote to Versioned Section on Release
When cutting release, move all Unreleased entries to new versioned section:
- Create new section heading:
## [1.3.0] - 2026-02-17 - Move all entries from
[Unreleased]to new section - Leave
[Unreleased]empty (but keep heading) - Update comparison links at bottom of file
## [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
Update 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 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
...
Got: Unreleased entries moved to dated versioned section. Unreleased section cleared. Comparison links updated.
If fail: Version number conflicts with existing section? Version was already released. Check with apply-semantic-versioning to determine correct version.
Step 6: Validate Changelog Format
Verify changelog meets format requirements:
- Versions in reverse chronological order (newest first)
- Dates follow ISO 8601 format (YYYY-MM-DD)
- Each versioned section has at least one categorized entry
- No duplicate version sections
- Comparison links (if present) match 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}"
Got: Changelog passes all format checks with no warnings.
If fail: Fix any format issues found: reorder sections, correct date formats, remove duplicates. Report issues requiring human judgment (e.g., missing entries for known changes).
Checks
- Changelog file exists with proper header referencing Keep a Changelog and SemVer
-
[Unreleased]section exists at top (below header) - All new entries categorized into Added/Changed/Deprecated/Removed/Fixed/Security
- Entries start with imperative verb and describe user-facing impact
- Versioned sections in reverse chronological order
- Dates use ISO 8601 format (YYYY-MM-DD)
- No duplicate version sections exist
- Comparison links (if used) correct and up to date
- Empty categories not included (no heading without entries)
Pitfalls
- Internal-only entries: "Refactored database module" not useful to users. Focus on user-facing changes. Internal refactors go in commit messages, not changelogs.
- Vague entries: "Various bug fixes" tells user nothing. Each fix should be specific, descriptive entry.
- Forgetting Unreleased: Adding entries directly to versioned section instead of Unreleased means changes documented as already released when not.
- Wrong category: "Fix" that actually adds new feature. Fix restores expected behavior. New capability is "Added" even if requested as 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 changelog at time of change. Batch-writing entries before release → missed or poorly described changes. Write entries alongside code changes.
See Also
apply-semantic-versioning-- Determine version number that pairs with changelog entriesplan-release-cycle-- Define when changelog entries get promoted to versioned sectionscommit-changes-- Commit changelog updates with proper messagesrelease-package-version-- R-specific release workflow including NEWS.md updatescreate-github-release-- Use changelog content as GitHub release notes
GitHub репозиторий
Похожие навыки
executing-plans
ДизайнИспользуйте навык executing-plans, когда у вас есть полный план реализации для выполнения контролируемыми партиями с контрольными точками проверки. Он загружает и критически анализирует план, затем выполняет задачи небольшими партиями (по умолчанию 3 задачи), сообщая о прогрессе между каждой партией для проверки архитектором. Это обеспечивает систематическую реализацию со встроенными контрольными точками проверки качества.
requesting-code-review
ДизайнЭтот навык запускает суб-агента для ревью кода, который анализирует изменения в коде на соответствие требованиям перед дальнейшими действиями. Его следует использовать после завершения задач, реализации крупных функций или перед слиянием с основной веткой. Ревью помогает выявить проблемы на ранней стадии, сравнивая текущую реализацию с исходным планом.
connect-mcp-server
ДизайнЭтот навык предоставляет разработчикам подробное руководство по подключению серверов MCP к Claude Code с использованием транспортов HTTP, stdio или SSE. Он охватывает установку, конфигурацию, аутентификацию и безопасность для интеграции внешних сервисов, таких как GitHub, Notion и пользовательские API. Используйте его при настройке интеграций MCP, конфигурации внешних инструментов или работе с Model Context Protocol от Claude.
web-cli-teleport
ДизайнЭтот навык помогает разработчикам выбирать между веб-интерфейсом Claude Code и CLI на основе анализа задачи, а также обеспечивает бесшовное перемещение сессий между этими средами. Он оптимизирует рабочий процесс, управляя состоянием и контекстом сессии при переключении между веб-интерфейсом, CLI или мобильным приложением. Используйте его для сложных проектов, требующих различных инструментов на разных этапах работы.
