Mise à jour du CHANGELOG

VérifiéSûr

Génère et insère les notes de version dans CHANGELOG.md à partir des PR fusionnées depuis le dernier tag, en classant les changements par catégories.

Spar Skills Guide Bot
DocumentationIntermédiaire
21/10/2026
Claude CodeCursorCodex
#changelog#release-notes#git#pull-requests#documentation

Recommandé pour

Synthèse automatique

Rédige la section de CHANGELOG.md d'une nouvelle version en décrivant les changements apportés depuis le tag de version précédent.

Points forts

  • Remplace uniquement le bloc de placeholder (lignes 9 à 11) sans toucher à l'en-tête de version ni à la date
  • Impose une taxonomie ordonnée de catégories (breaking changes, fonctionnalités, corrections, CI/CD, etc.) et omet les sections vides
  • Relie chaque entrée à sa pull request GitHub et aligne le style sur les versions déjà présentes dans le fichier
  • Demande une validation explicite de l'utilisateur avant de finaliser le contenu

Limites

  • Suppose qu'un placeholder précis a déjà été inséré par le script .script/update-changelog.swift ; sinon la skill s'arrête
  • Dépend de conventions GitHub : tags git triés, PR fusionnées et CLI gh disponible pour obtenir des détails
  • Les numéros de ligne et l'URL du dépôt (leboncoin/spark-ios) sont codés en dur, ce qui limite la réutilisation telle quelle
Quand l'utiliser

À utiliser juste après avoir ajouté la nouvelle section de version via le script update-changelog, pour la remplir avec de vraies notes de version.

Quand l'éviter

À éviter sur un dépôt qui n'utilise pas ce placeholder ou qui suit un format de CHANGELOG différent.

Analyse de sécurité

Sûr
Score qualité82/100

The skill only reads repository metadata (git log/tag, gh pr view, CHANGELOG.md) and performs a narrowly scoped text replacement in CHANGELOG.md, followed by a user confirmation step. There are no destructive commands, no network exfiltration, no obfuscated payloads, and no attempts to disable safety controls. The 'do not mention Claude' line and missing tool declarations are minor editorial/operational notes rather than execution risks.

Points d'attention
  • •The 'Do not mention *Claude*' prerequisite is a branding/concealment instruction that is unnecessary for the task, though harmless in effect.
  • •The skill depends on executing git/git-tag/gh CLI commands but declares no allowed-tools, so the agent's available tooling may not match the instructions.
  • •Minor: the skill instructs 'Do not mention *Claude*', i.e. suppressing disclosure of AI authorship in published release notes — an editorial/transparency concern rather than an execution risk.
  • •Uses shell commands (`git log`, `git tag`, `gh pr view`) and edits a repository file, but all commands are read-only and the write is scoped to the placeholder block in CHANGELOG.md.
Comment cette analyse est faite

Exemples

Fill the new version section
The changelog placeholder has been added for version 2.4.0. Read CHANGELOG.md, find the previous tag, and replace the placeholder with release notes grouped by category, with PR links.
Release notes from merged PRs
Generate the release notes for the latest version in CHANGELOG.md using the merged pull requests since the last tag, and show me the result before writing it.
Match existing style
Update the new CHANGELOG.md section so it follows the same categories and wording style as the previous versions, ignoring chore(changelog) commits.

name: spark-changelog description: Update the CHANGELOG.md with the description of the changes between the last released version and the new one

Spark Changelog Skill

Overview

The .script/update-changelog.swift script adds a new version section at the top of CHANGELOG.md with a placeholder:

## [X.Y.Z]

_DD/MM/YYYY_

❗️❗️ Use the /spark-changelog skills to improve the content ❗️❗️

Release notes content

This skill replaces the placeholder (lines 9 to 11: the ❗️❗️ line, the empty line and Release notes content) with a real description of the changes.

Prerequisites

  1. CHANGELOG.md must contain the placeholder ❗️❗️ Use the /spark-changelog skills to improve the content ❗️❗️. If not, stop and tell the user to run the update-changelog script first.
  2. Do not mention Claude.

Steps

  • [ ] Read CHANGELOG.md and get the new version (first ## [X.Y.Z] after ## [Unreleased]).
  • [ ] Find the previous version tag: git tag --sort=-v:refname, take the most recent tag lower than the new version.
  • [ ] List the changes since the previous version:
    • git log <previous-tag>..HEAD --merges --pretty=format:"%s%n%b" to get merged pull requests (PR number + title).
    • If needed, git log <previous-tag>..HEAD --no-merges --oneline to complete, and gh pr view <number> to get more details on a PR.
    • Ignore changelog-only commits (chore(changelog)) and pure merges of main.
  • [ ] Group the changes into categories (omit empty ones), in this order:
    • ### 💥 Breaking Changes
    • ### ✨ New Features
    • ### 🚀 Improvements
    • ### 🐛 Bug Fixes
    • ### 📱 Demo App Improvements
    • ### 📚 Documentation
    • ### 🔧 Infrastructure & CI/CD
    • ### 🧹 Chores
  • [ ] Inside a category, use #### <Component or topic> sub-headers when several entries concern the same component.
  • [ ] Write each entry as a short sentence starting with a past-tense verb (Added, Updated, Fixed, Removed, ...), followed by the PR link: ([#1234](https://github.com/leboncoin/spark-ios/pull/1234)).
  • [ ] Replace only lines 9 to 11 (the placeholder block) with the generated content. Keep the version header and the date untouched, and keep one empty line before the next ## [ section.
  • [ ] Follow the same style as the previous versions already present in CHANGELOG.md.
  • [ ] Show the generated content to the user and ask if it is OK.

Example

## [1.0.0]

_27/03/2025_

### ✨ New Features

#### TextEditor Component
- Added SwiftUI TextEditor component for multiline text input ([#1106](https://github.com/leboncoin/spark-ios/pull/1106))

### 🐛 Bug Fixes

- Fixed Snackbar demos to ensure proper functionality ([#1105](https://github.com/leboncoin/spark-ios/pull/1105))

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/update-changelog-with-release-notes-mvda874x/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/update-changelog-with-release-notes-mvda874x' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/update-changelog-with-release-notes-mvda874x/download' --output '.skill-downloads/update-changelog-with-release-notes-mvda874x/SKILL.md.part' && mv '.skill-downloads/update-changelog-with-release-notes-mvda874x/SKILL.md.part' '.skill-downloads/update-changelog-with-release-notes-mvda874x/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.

Extrait original : Prerequisites
  1. CHANGELOG.md must contain the placeholder ❗️❗️ Use the /spark-changelog skills to improve the content ❗️❗️. If not, stop and tell the user to run the update-changelog script first.
  2. Do not mention Claude.

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/update-changelog-with-release-notes-mvda874x/SKILL.md' && test -s '.skill-downloads/update-changelog-with-release-notes-mvda874x/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/spark-changelog' && cp -R '.skill-downloads/update-changelog-with-release-notes-mvda874x' '.claude/skills/spark-changelog'

Cursor
test -f '.skill-downloads/update-changelog-with-release-notes-mvda874x/SKILL.md' && test -s '.skill-downloads/update-changelog-with-release-notes-mvda874x/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/spark-changelog' && cp -R '.skill-downloads/update-changelog-with-release-notes-mvda874x' '.cursor/skills/spark-changelog'

Codex
test -f '.skill-downloads/update-changelog-with-release-notes-mvda874x/SKILL.md' && test -s '.skill-downloads/update-changelog-with-release-notes-mvda874x/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/spark-changelog' && cp -R '.skill-downloads/update-changelog-with-release-notes-mvda874x' '.agents/skills/spark-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/update-changelog-with-release-notes-mvda874x'

openskills read 'update-changelog-with-release-notes-mvda874x'

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/update-changelog-with-release-notes-mvda874x/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