Skills Development Maintain Repository Changelog

Maintain Repository Changelog

v20261126
changelog
This skill automates the creation of changelog entries from merged pull requests and pushes. It consolidates changes into a single rolling pull request, ensuring the repository's changelog stays up-to-date. Users follow specific steps to identify changes, select relevant updates, and format them according to the repository's style. It supports daily sweeps and manual requests, serving as the source for other marketing skills.
Get Skill
393 downloads
Overview

Changelog

One rolling pull request holds every entry since the last merge of it. Each
line tells a user what they can now do, or what no longer breaks. Every line
comes from a commit or pull request you read.

Steps

  1. Find the changelog. site.changelog_path in marketing.json; null:

detect it as references/format.md says, and name what you found in the
pull request body so a person can set it.

  1. Open the branch. gh pr list --head kortix/marketing-changelog --state open.

It exists: check out kortix/marketing-changelog and rebase it on
origin/<trunk>. Else create it from origin/<trunk>.

  1. Find the range. Start after the newest change the changelog already

covers (its date, version or listed pull request numbers). List merged
pull requests with
gh pr list --state merged --base <trunk> --search "merged:>=<date>" --json number,title,body,mergedAt,labels,url
and direct pushes with git log --no-merges <start>..origin/<trunk>.
A webhook run adds its one pull request; the daily sweep adds all.

  1. Choose what goes in with references/selection.md. Read the diff when

the title does not say what changed for a user.

  1. Write each kept change as one line in the file's own format

(references/format.md): under the unreleased section, or under today's
date when the file is dated. Never edit a released section.

  1. Commit docs(changelog): <summary> and push. No open pull request:

open one, title docs(changelog): <first date> to <last date>, labels
marketing and marketing:changelog. Update the body every run:
included pull requests, skipped ones with the reason, Needs a person.

  1. Nothing user-visible in the range: push nothing. End with

changelog: created=0 updated=0 skipped=<n> ….

Rules

  • Never a feature, number or benefit the commit or pull request does not show.
  • An unclear change stays out, listed under Not included with the reason.
  • Never edit the changelog on <trunk> directly; a person merges the pull

request.

  • Group lines the way the file already groups them (Added, Changed, Fixed,

Removed, Security, or the file's own headings).

Info
Category Development
Name changelog
Version v20261126
Size 2.98KB
Updated At 2026-11-26
Language