Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
dec0ccf
Tools(Changelogs): introduce @wordpress/changelog-tools and Changie f…
talldan Oct 20, 2026
20119ef
Tools(Changelogs): implement bi-directional changelog migration
talldan Oct 20, 2026
ed3c8e3
Tools(Changelogs): add contributor workflows, fragment validation, an…
talldan Oct 20, 2026
4967908
Tools(Release): support Changie batch and merge in package releases
talldan Oct 20, 2026
5c83be4
Packages: activate Changie changelog fragments for @wordpress/compone…
talldan Oct 21, 2026
65d1a4e
Tools(Changelogs): document custom PR choices and Go templates in .ch…
talldan Oct 21, 2026
e298e55
Tools(Changelogs): adopt PR__PACKAGE__KIND fragment naming with colli…
talldan Oct 21, 2026
419bac1
Tools(Changelogs): remove extra blank lines between entries in .chang…
talldan Oct 21, 2026
631ead8
Tools(Changelogs): calibrate newlines to match standard single-blank-…
talldan Oct 21, 2026
2f6672e
Docs(Agents): document scriptable Changie fragment instructions for a…
talldan Oct 21, 2026
58ceef1
Agents: add package-changelog skill and clean up agent guidance
talldan Oct 21, 2026
a53e6b8
Docs(Packages): structure changelog documentation into Automated vs M…
talldan Oct 21, 2026
9d9f35e
Docs(Changelog Tools): add guide for migrating and rolling back packages
talldan Oct 21, 2026
d506438
Changelog Tools: add --update flag to migrate script and document upd…
talldan Oct 21, 2026
9fa147f
Changelog Tools: clarify dry-run completion messaging in migrate CLI
talldan Oct 21, 2026
76547c6
Changelog Tools: delegate unreleased preview to native changie batch …
talldan Oct 21, 2026
91f6f05
Changelog Tools: use native Unreleased template and require package f…
talldan Oct 21, 2026
885ea3e
Docs(Release): document Changie batch and merge in package publishing…
talldan Oct 21, 2026
61c73d5
Changelog Tools: remove Stable Release from kinds and introduce chang…
talldan Oct 21, 2026
2019a88
Changelog Tools: rewrite CHANGELOG.md without Unreleased during migra…
talldan Oct 21, 2026
542de96
Re-migate ui and components packages
talldan Oct 21, 2026
863f273
Tools(Changelogs): ensure standard trailing newline on header templat…
talldan Oct 22, 2026
98d340e
Tools(Changelogs): fix inter-version newline formatting in migration …
talldan Oct 22, 2026
91cbdfa
Packages: update changelogs and fragments against latest trunk
talldan Oct 22, 2026
8215c4a
Fix lingering merge conflict
talldan Oct 22, 2026
36397a7
CI: add setup-node to changelog check workflow and fix package keywords
talldan Oct 22, 2026
86a6b4b
Tools(Changelogs): decouple fragment schema validation from PR number…
talldan Oct 22, 2026
e60979a
Tools(Validation): inline Changie fragment validation with declared j…
talldan Oct 22, 2026
1a62d20
Tools(Changelogs): add @types/semver dev dependency
talldan Oct 22, 2026
1da4707
Tools(Changelogs): use single baseline version file per migrated package
talldan Oct 28, 2026
a9c0454
Packages: update @wordpress/components and @wordpress/ui Changie migr…
talldan Oct 28, 2026
26c89b4
Tools(Changelogs): share TypeScript fragment validation across workflows
talldan Oct 28, 2026
5554020
CI: run changelog checks for fragment and Changie configuration changes
talldan Oct 28, 2026
3d9a60c
Tools(Changelogs): support Stable Release through native Changie batc…
talldan Oct 28, 2026
1fc5c42
Tools(Release): cover changelog fragment compilation and return to trunk
talldan Oct 28, 2026
ba6112c
Tools(Changelogs): guard migration updates without unreleased entries
talldan Oct 29, 2026
cfec624
Tools(Changelogs): remove dedicated stable promotion command
talldan Oct 29, 2026
60a6740
Tools(Changelogs): use short random suffixes for fragment filenames
talldan Oct 29, 2026
cf15cf2
Tools(Changelogs): compile fragments during changelog validation
talldan Oct 29, 2026
ae88c5c
Tools(Changelogs): reject headings in fragment descriptions
talldan Oct 29, 2026
b64e8c9
Tools(Changelogs): render rollback entries through native preview
talldan Oct 29, 2026
e34ed09
Tools(Changelogs): validate project changelog destinations before rel…
talldan Oct 29, 2026
4931b48
Tools(Changelogs): fix exports and declare release workspace dependency
talldan Oct 29, 2026
9ec5e04
Tools(Changelogs): guard native stable promotion auto bumps
talldan Oct 29, 2026
6fca70d
Packages: refresh Changie migration against rebased trunk
talldan Nov 17, 2026
2fd308c
Tools(Validation): check peer ranges against Changie previews
talldan Nov 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .agents/skills/design-system-contribution/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ Start with existing tests and stories. Add coverage only for a concrete regressi

When changing component recommendations, follow the [component status guidance](../../../packages/ui/CONTRIBUTING.md#component-status) to update Storybook status, curated `manifest` tags, ESLint recommendation lists, migration guidance, and generated manifest snapshots together. When a `@wordpress/ui` component replaces a `@wordpress/components` component, follow the stages in [Replace a legacy component](../../../docs/contributors/design/design-system-packages.md#replace-a-legacy-component).

Follow the [completion checks](../../../docs/contributors/design/design-system-packages.md#change-a-package-safely) for affected exports, documentation, generated files, and changelogs, along with the repository's required checks. State any material verification gap without claiming visual parity from snapshots or class assertions.
Follow the [completion checks](../../../docs/contributors/design/design-system-packages.md#change-a-package-safely) for affected exports, documentation, generated files, and changelogs (using the [package-changelog](../package-changelog/SKILL.md) skill), along with the repository's required checks. State any material verification gap without claiming visual parity from snapshots or class assertions.
95 changes: 95 additions & 0 deletions .agents/skills/package-changelog/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
---
name: package-changelog
description: Use when adding, consolidating, or reviewing changelog entries for Gutenberg packages across both Changie fragments and traditional CHANGELOG.md files. Triggered when the user asks to add or prepare changelogs for a PR/branch, or when preparing final PR submission once code and PR number are established.
---

# Package changelogs

Guidance and best practices for creating and maintaining package changelog entries.

## When to add changelog entries

- **Only when work is complete**: Do not generate changelog entries early in task exploration or while code is actively evolving. Wait until implementation is stabilized and ready for review or PR submission.
- **Only when the PR number is known**: Every package changelog entry requires a numeric Gutenberg pull request link.
- **Never invent, guess, or hallucinate a PR number** (e.g. do not use `#00000` or random digits).
- If the PR number is unknown (e.g. working on a local branch before opening a PR), **stop and ask the user** for the PR number, or ask if they prefer to create the changelog entry after the PR is opened.
- **Consolidate entries**: Combine related changes into a single consumer-focused entry that describes the public impact, rather than creating an entry for each internal commit or touched component.
- **Verify consumer impact**: Purely internal refactors, test additions, or documentation do not strictly require changelog entries unless requested or impactful to package consumers.

## Discovering the package format

Do not assume which workflow a package uses:

1. **Check if the package uses Changie fragments**:
- Inspect `.changie.yaml` at the repository root under `projects`.
- Check if the target package's changelog path (e.g. `changelog: packages/<pkg>/CHANGELOG.md`) is listed.
- If listed: the package uses **Changie fragments**.
- If not listed: the package uses **traditional `CHANGELOG.md`** files.

2. **Discover valid `<Kind>` categories**:
- Read `kinds` in `.changie.yaml` to inspect the allowed `label` values.
- The category must match one of the configured `label` strings exactly.
- **Do not invent custom kinds.** Always pick an exact label defined in `.changie.yaml`.

## Creating entries

### For packages using Changie fragments

Do not edit `packages/<package>/CHANGELOG.md` directly.

Create a fragment using non-interactive flags:
```bash
npm run changelog:add -- -j <package> -k "<Kind>" -m "PR=<PR>" -b "<Description>"
```

Or write a fragment file directly at `.changes/unreleased/<PR>__<package>__<kind>__<random>.yaml`, using a lowercase hyphenated kind and a fresh 12-character random hexadecimal suffix (`crypto.randomUUID().replaceAll( '-', '' ).slice( 0, 12 )` in Node.js):
```yaml
project: <package>
kind: <Kind>
body: <Description>
time: '<ISO-Timestamp>'
custom:
PR: '<PR>'
```

Use a fresh random suffix for each entry, including entries sharing the same PR, package, and kind. Existing fragments with older filename formats remain valid.

### For packages using traditional CHANGELOG.md

Add the entry under `## Unreleased` under the matching `### <Kind>` subheading in `packages/<package>/CHANGELOG.md`:
```markdown
- <Description> ([#<PR>](https://github.com/WordPress/gutenberg/pull/<PR>)).
```

Keep entries in a subsection on consecutive lines without blank lines between bullets.

## Modifying or removing existing entries

When updating an entry based on review feedback, revisions, or implementation changes:

### For Changie packages

- **Do not add a duplicate fragment**: Do not run `npm run changelog:add` if an entry for this PR and package already exists.
- **Locate the existing fragment**: Look in `.changes/unreleased/` for files matching `<PR>__<package>__*.yaml`.
- **Edit the YAML file directly**:
- Update `body` to refine or expand the description.
- Update `kind` if reclassifying the change (must match an exact `label` from `.changie.yaml`).
- **To remove an entry**: Delete the fragment file directly from `.changes/unreleased/`.
- **Do not edit `packages/<package>/CHANGELOG.md` directly**.

### For traditional packages

- Locate the entry citing `[#<PR>](...)` under `## Unreleased` in `packages/<package>/CHANGELOG.md`.
- Edit the bullet line in place, or move it under the appropriate `### <Kind>` subheading if reclassifying.
- If removing an entry, delete the bullet line. Ensure no blank lines remain between remaining bullets in that subsection.

## Verification

- Preview Changie entries:
```bash
npm run changelog:preview -- -p <package>
```
- Validate changelog structure and PR citation:
```bash
npm run lint:changelogs -- --require-pr="<PR>" packages/<package>/CHANGELOG.md
```
Loading
Loading