Gestion des Changelog

VérifiéSûr

Crée et maintient les fichiers CHANGELOG.md en suivant les standards Common Changelog et Keep a Changelog. Utilisez pour ajouter des entrées de version, valider le format et documenter les modifications.

Spar Skills Guide Bot
DocumentationIntermédiaire
04/03/2026
Claude CodeCursorCodexCopilot
#changelog#release-notes#semver#versioning#documentation

Recommandé pour

Synthèse automatique

Cette compétence rédige et maintient des fichiers CHANGELOG.md conformes aux normes Common Changelog et Keep a Changelog, via des workflows dédiés à la création, à l'ajout de versions, à la mise à jour de la section Unreleased et à la validation du format.

Points forts

  • Cinq workflows explicites (création, ajout de release, mise à jour Unreleased, validation, promotion de préversion) avec étapes numérotées et déclencheurs clairs
  • Prise en charge des deux standards, Common Changelog (strict, références, auteurs) par défaut et Keep a Changelog en option
  • Règles de filtrage du bruit pour transformer un git log en entrées d'une ligne : fusion des commits liés, exclusion des reverts et des modifications de style
  • Conventions précises : versions semver, dates ISO 8601, liens de comparaison, mentions _First release._ ou _yanked_

Limites

  • L'outil n'a accès qu'à Read, Write et Edit : les changements doivent être fournis par l'utilisateur ou collés depuis un git log, aucune lecture du dépôt n'est automatisée
  • La validation de format (WF4) reste manuelle, aucun script ni linter n'est fourni
  • Aucune indication sur la gestion des monorepos ou des changelogs par paquet
Quand l'utiliser

À utiliser dès qu'un dépôt a besoin d'un CHANGELOG.md initial ou d'une nouvelle entrée de version documentée proprement.

Quand l'éviter

À ne pas utiliser pour automatiser le bump de version, le tagging Git ou la publication de releases en CI, hors de son périmètre.

Analyse de sécurité

Sûr
Score qualité86/100

The skill is a pure documentation task scoped to Read, Write, and Edit on CHANGELOG.md-style files. It contains no shell invocation, no network access, no credential or environment handling, no obfuscated payloads, and no instructions to disable safety mechanisms. The only write target is a changelog file whose content is derived from user input or git metadata, so risk of destructive or exfiltrating behavior is negligible.

Aucun point d'attention détecté

Comment cette analyse est faite

Exemples

Create a changelog
Create a CHANGELOG.md for this repo using the Common Changelog format, starting with an empty Unreleased section.
Add a release entry
Add version 1.4.0 to the changelog, dated today, and categorize these changes: added JSON export, fixed a memory leak in the cache, bumped lodash. Also move the current Unreleased entries into it.
Validate format
Check my CHANGELOG.md against Keep a Changelog: are the versions semver-valid, the dates ISO 8601, and the sections in the right order?

name: managing-changelog description: Creates, updates, and maintains CHANGELOG.md files following Common Changelog and Keep a Changelog standards. Use when creating changelogs, adding release entries, updating unreleased sections, validating changelog format, or user mentions 'changelog', 'release notes', 'version history', 'add to changelog', 'update changelog', 'create changelog', 'change log format', or needs to document version changes. allowed-tools: Read, Write, Edit

Managing Changelog

Create and maintain CHANGELOG.md files following standard formats (Common Changelog + Keep a Changelog).

When to Use

Activate when:

  • Creating new CHANGELOG.md
  • Adding release entry
  • Updating Unreleased section
  • Validating changelog format
  • User: "changelog", "release notes", "version history", "add to changelog", "update changelog"

Core Workflows

| ID | Purpose | Trigger | |----|---------|---------| | WF1 | Create CHANGELOG.md | Initial setup | | WF2 | Add Release Entry | New version | | WF3 | Update Unreleased | Pre-release changes | | WF4 | Validate Format | Quality check | | WF5 | Promote Prerelease | Stabilize alpha/beta/rc |

WF1: Create CHANGELOG.md

Purpose: Initialize new changelog file

When: No CHANGELOG.md exists, explicit request

Steps:

  1. Choose format

    • Ask user: Common Changelog (strict, references, authors) or Keep a Changelog (simpler)
    • Default: Common Changelog
  2. Write initial structure

    # Changelog
    
    All notable changes documented here.
    Format: [Common Changelog](https://common-changelog.org) / [Keep a Changelog](https://keepachangelog.com/en/1.1.0/)
    Versioning: [Semantic Versioning](https://semver.org/spec/v2.0.0.html)
    
    ## [Unreleased]
    
    [unreleased]: https://github.com/owner/repo/compare/vX.X.X...HEAD
    
  3. Confirm creation

WF2: Add Release Entry

Purpose: Add new version entry

When: New release, version bump, explicit request

Execution:

  1. Gather info

    • Version: semver-valid (e.g., 1.2.3)
    • Date: YYYY-MM-DD (ISO 8601)
    • Changes: from git log, HISTORY.md, or user input
  2. Process changes (improve quality)

    • Remove noise: Exclude dotfiles (.gitignore), dev deps, style tweaks, doc formatting | Include: refactorings, runtime changes, code style using new features, new docs
    • Rephrase: Align terminology, add missing details, remove irrelevant specifics
    • Merge related: Combine multi-commit changes (e.g., bump same dep twice → single entry)
    • Skip no-ops: Exclude negated changes (reverts)
    • Keep brief: One line per change, details in references
  3. Categorize changes

    Common Changelog: Changed, Added, Removed, Fixed
    Keep a Changelog: Changed, Added, Deprecated, Removed, Fixed, Security
    
  4. Format entry (Common Changelog example)

    ## [1.2.3] - 2025-11-26
    
    ### Changed
    
    - **Breaking:** refactor API to use async/await ([#45](url)) (Author)
    - Improve performance of data processing ([abc123](url))
    
    ### Added
    
    - Add support for JSON export ([#42](url), [#43](url))
    
    ### Fixed
    
    - Fix memory leak in cache ([#44](url)) (Author)
    
    [1.2.3]: https://github.com/owner/repo/releases/tag/v1.2.3
    
  5. Add notice (if needed)

    • First release: _First release._
    • Yanked: _This release was yanked due to [issue]._
    • Upgrade guide: _If upgrading: see UPGRADING.md._
    • Place after heading, before change groups
  6. Insert entry

    • Place after ## [Unreleased] section
    • Update unreleased link if exists
  7. Move unreleased content (if exists)

    • Migrate changes from Unreleased → new release
    • Clear Unreleased section

WF3: Update Unreleased

Purpose: Add changes to Unreleased section

When: Pre-release changes, ongoing work

Steps:

  1. Read current CHANGELOG.md

  2. Add to Unreleased (if section exists, else create)

    ## [Unreleased]
    
    ### Added
    
    - New feature description ([#XX](url))
    
  3. Use Edit tool to append changes

WF4: Validate Format

Purpose: Check changelog follows standards

When: Before release, quality check, explicit request

Checks:

Structure:
- [ ] File named CHANGELOG.md
- [ ] First-level heading: # Changelog
- [ ] Versions sorted latest-first
- [ ] Version format: ## [X.Y.Z] - YYYY-MM-DD
- [ ] Date format: YYYY-MM-DD (ISO 8601)

Categories (Common Changelog):
- [ ] Only: Changed, Added, Removed, Fixed

Categories (Keep a Changelog):
- [ ] Only: Changed, Added, Deprecated, Removed, Fixed, Security

Content:
- [ ] Changes use imperative mood (Add, Fix, Update not Added, Fixed, Updated)
- [ ] Breaking changes prefixed: **Breaking:**
- [ ] References included (commits, PRs, issues)
- [ ] Links at bottom: [X.Y.Z]: url

Common Issues:
- ⚠ Commit log dumps (verbatim copying)
- ⚠ Missing dates
- ⚠ Inconsistent categories
- ⚠ Vague descriptions

Report issues + suggestions

WF5: Promote Prerelease

Purpose: Convert prerelease to stable release

When: Promoting alpha/beta/rc to stable

Approaches:

A. Copy content (default)

  • Copy changes from prerelease(s) → release
  • Merge related, rephrase, clean as per WF2
  • Write as if prereleases don't exist

B. Skip entry (internal testing only)

  • No changelog for internal CI/CD test releases
  • Only for non-public prereleases

C. Refer to prerelease (private projects, lengthy QA)

  • Add notice: _Stable release based on [X.Y.Z-rc.N]._
  • Use when all stakeholders familiar with prerelease content
  • Example:
    ## [3.1.0] - 2021-07-05
    
    _Stable release based on [3.1.0-rc.2]._
    
    ## [3.1.0-rc.2] - 2021-07-04
    
    ### Fixed
    - Fix localization (a11eb73)
    

Decision: Use A unless B or C explicitly needed

Format Reference

Common Changelog Format

Heading:

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

Categories (order):

  1. Changed - changes in existing functionality
  2. Added - new functionality
  3. Removed - removed functionality
  4. Fixed - bug fixes

Notice format (optional, after heading):

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

_Single-sentence notice with emphasis._

### Category...
  • Use for: first release, yanked, essential upgrade guides
  • Only one per release
  • Examples: _First release._, _Yanked due to security issue._, _See UPGRADING.md._

Change format:

- [**Breaking:**|**Subsystem:**] <Imperative verb> <description> ([refs](url)) (Authors)

References (after change, same line):

  • Commits: ([abc123](url)) or submodule: ([owner/name@abc123](url))
  • PRs/Issues: ([#123](url)) or external: ([owner/name#123](url))
  • External tickets: ([JIRA-837](url))
  • Multiple same type: ([#1](url), [#2](url)) not ([#1](url)) ([#2](url))
  • Rule: Max 2 refs, pick best starting point (prefer PR over issue if both exist)

Authors (after references):

  • Format: (Name1, Name2) or (#refs; Name1, Name2) with semicolon separator
  • Example: - Fix loop ([#194](url)) (Alice) or - Fix loop ([#194](url), [#195](url); Alice, Bob)
  • Omit if single contributor project
  • Bot changes: credit human who merged PR
  • Security: Only usernames or real names allowed - NO email addresses, API keys, tokens, file paths, or personal information

Prefixes (bold):

  • Breaking: - **Breaking:** change description
  • Subsystem: - **UI:** change description or - **Installer (breaking):** change
  • Sort: breaking first per category, then by importance, then latest-first

Links (bottom):

[X.Y.Z]: https://github.com/owner/repo/releases/tag/vX.Y.Z
[unreleased]: https://github.com/owner/repo/compare/vX.Y.Z...HEAD

Keep a Changelog Format

Heading: Same as Common Changelog

Categories (order):

  1. Added
  2. Changed
  3. Deprecated
  4. Removed
  5. Fixed
  6. Security

Change format (simpler):

- <Description starting with capital>

Unreleased section:

## [Unreleased]

### Added

- Feature coming soon

Guiding Principles

From Common Changelog:

  • Changelogs for humans
  • Communicate impact of changes
  • Sort by importance
  • Skip unimportant content
  • Link changes to further info

From Keep a Changelog:

  • Humans, not machines
  • Entry for every version
  • Group same types
  • Versions linkable
  • Latest first
  • Show release dates
  • Follow Semantic Versioning

Anti-patterns

Avoid:

  • Verbatim git log dumps
  • Vague descriptions ("fix stuff")
  • Missing dates or wrong format
  • Inconsistent categories
  • No references/context
  • Past tense (use imperative: Add not Added in change text)
  • Security violations: API keys, tokens, passwords, email addresses, file paths with personal info, or sensitive data in changelog content

Tool Usage

Read: Load existing CHANGELOG.md or HISTORY.md Write: Create new CHANGELOG.md Edit: Update existing changelog (add entries, update sections)

Integration

GitHub Actions (auto-create GitHub releases from CHANGELOG.md):

name: Release
on: { push: { tags: ['*'] } }
permissions: { contents: write }
jobs:
  release:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: docker://antonyurchenko/git-release:latest
        env: { GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}' }

Workflow integration:

  • Release: Update before tagging (WF2)
  • PR merge: Add to Unreleased (WF3)
  • Version bump: Move Unreleased → release (WF2)
  • Prerelease: Use WF6 approaches

Examples

Common Changelog:

# Changelog

## [2.1.0] - 2025-11-26

### Changed

- **Breaking:** refactor config to use YAML ([#45](url)) (Alice)

### Added

- Add dark mode support ([#42](url), [#43](url))

### Fixed

- Fix memory leak in parser ([abc123](url))

[2.1.0]: https://github.com/owner/repo/releases/tag/v2.1.0

Keep a Changelog:

# Changelog

## [2.1.0] - 2025-11-26

### Added

- Dark mode support for UI

### Changed

- Config now uses YAML instead of JSON (breaking change)

### Fixed

- Memory leak in parser

[2.1.0]: https://github.com/owner/repo/releases/tag/v2.1.0

Migration Examples

HISTORY.md → CHANGELOG.md:

Input (HISTORY.md):

## VERSION: 2.0.0
date: 2025-11-26
type: update
change_summary: Major refactoring

CHANGES:
- Refactored API to async/await
- Added JSON export
- Fixed memory leaks

Output (CHANGELOG.md):

## [2.0.0] - 2025-11-26

### Changed

- **Breaking:** refactor API to use async/await

### Added

- Add JSON export support

### Fixed

- Fix memory leaks in cache

[2.0.0]: https://github.com/owner/repo/releases/tag/v2.0.0

Quick Reference

| Task | Workflow | Output | |------|----------|--------| | Create | WF1 | Initial CHANGELOG.md | | Add release | WF2 | ## [X.Y.Z] - DATE | | Update ongoing | WF3 | Append to Unreleased | | Validate | WF4 | Format compliance check | | Promote prerelease | WF5 | Alpha/beta/rc → stable |

Du fichier au premier essai

Le téléchargement contient exactement le contenu affiché sur cette fiche. Cette copie peut différer de la dernière version du dépôt source.

Consulter la source et ses fichiers annexes

Ce téléchargement contient uniquement SKILL.md. Les scripts, références, modèles et dépendances éventuels ne sont pas inclus. Récupérez les fichiers nécessaires depuis la source en conservant leur arborescence avant de poursuivre.

1. Télécharger le fichier

Télécharger SKILL.md

Depuis la racine d’un projet de test, enregistrez le fichier sous .skill-downloads/managing-changelog-mmbizjzt/SKILL.md, ou utilisez la commande suivante. Ce dossier sert à examiner la skill avant son installation.

Commande pour macOS/Linux ou WSL : un shell POSIX et curl sont nécessaires. Sous Windows sans WSL, utilisez le bouton de téléchargement et créez le dossier manuellement.

mkdir -p '.skill-downloads/managing-changelog-mmbizjzt' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/managing-changelog-mmbizjzt/download' --output '.skill-downloads/managing-changelog-mmbizjzt/SKILL.md.part' && mv '.skill-downloads/managing-changelog-mmbizjzt/SKILL.md.part' '.skill-downloads/managing-changelog-mmbizjzt/SKILL.md'

2. Vérifier les prérequis

Lisez SKILL.md avant de l’utiliser. Si le fichier cite des scripts ou services externes, examinez-les et préparez les accès nécessaires dans votre environnement de test.

Outils déclarés par l’auteur (à vérifier dans votre agent) : Read, Write, Edit

Extrait original : Quick Reference
TaskWorkflowOutput
CreateWF1Initial CHANGELOG.md
Add releaseWF2## [X.Y.Z] - DATE
Update ongoingWF3Append to Unreleased
ValidateWF4Format compliance check
Promote prereleaseWF5Alpha/beta/rc → stable

Les plateformes de la fiche sont des indications du catalogue. Les chemins ci-dessous suivent la documentation des outils ; ils ne prouvent pas que cette skill y a été exécutée. Aucune version minimale de ces outils n’est attestée pour cette fiche.

3. Charger la skill

Après vérification, copiez le dossier complet dans le projet avec l’une des commandes ci-dessous, puis ouvrez une nouvelle session de l’outil. La commande s’arrête si un dossier du même nom existe déjà : comparez les fichiers avant de le remplacer.

Claude Code
test -f '.skill-downloads/managing-changelog-mmbizjzt/SKILL.md' && test -s '.skill-downloads/managing-changelog-mmbizjzt/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/managing-changelog' && cp -R '.skill-downloads/managing-changelog-mmbizjzt' '.claude/skills/managing-changelog'

Cursor
test -f '.skill-downloads/managing-changelog-mmbizjzt/SKILL.md' && test -s '.skill-downloads/managing-changelog-mmbizjzt/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/managing-changelog' && cp -R '.skill-downloads/managing-changelog-mmbizjzt' '.cursor/skills/managing-changelog'

Codex
test -f '.skill-downloads/managing-changelog-mmbizjzt/SKILL.md' && test -s '.skill-downloads/managing-changelog-mmbizjzt/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/managing-changelog' && cp -R '.skill-downloads/managing-changelog-mmbizjzt' '.agents/skills/managing-changelog'

OpenSkills

OpenSkills doit déjà être installé. La procédure locale install/read est contrôlée avec OpenSkills 1.5.0, qui exige Node.js ≥ 20.6.0. Aucun slug du catalogue n’est résolu automatiquement.

Installation officielle d’OpenSkills
openskills install './.skill-downloads/managing-changelog-mmbizjzt'

openskills read 'managing-changelog-mmbizjzt'

La lecture doit afficher le contenu du fichier installé et son dossier de base. Elle ne lance ni la skill ni ses dépendances.

Pour un agent qui lit AGENTS.md, synchronisez ensuite l’index. Cette commande modifie AGENTS.md : relisez le diff avant de l’utiliser.

openskills sync

Mode manuel ou autre outil : joignez SKILL.md à une conversation, ou ouvrez-le dans un agent capable de lire les fichiers. Ajoutez les ressources annexes nécessaires. Il n’existe pas de dossier universel reconnu par tous les outils.

4. Faire un premier essai

Utilisez une entrée courte et fictive : un endpoint d’API, un petit document ou un brief d’interface. Dans une nouvelle conversation, joignez le fichier ou donnez son chemin à l’agent, puis adaptez cette demande :

Lis .skill-downloads/managing-changelog-mmbizjzt/SKILL.md et applique ses instructions à cet exemple : [décrire une entrée de test]. Indique les fichiers, dépendances ou accès qui manquent. Produis le résultat demandé par la skill sans inventer de données ni exécuter de script non examiné.

Résultat attendu : une sortie correspondant aux instructions de la skill, ou une liste précise des prérequis manquants. Une simple confirmation de lecture ne valide pas le premier usage. Si une ressource externe est indisponible, ce parcours reste à tester.

Skills similaires