
review-changelog
Review and complete new changelog entries after automated PR creation. Use when there's a new change
Review Changelog Entries
This skill helps complete new changelog entries after our automated release workflow creates a PR. The automation generates entries with placeholder values that need human review and completion.
Context
- Preview URL: https://zenml-announcements-preview.vercel.app/ - Paste the final JSON here to preview how it will look
- Schema docs: See
changelog_schema/README.mdfor field documentation - S3 images: Feature images are uploaded to
public-flavor-logosS3 bucket inwhats_new/folder
Required Fields (never remove)
id- unique sequential numberslug- URL-friendly identifiertitle- headlinedescription- detailed descriptionpublished_at- ISO 8601 datetime with Z suffix
Optional Fields (remove if not provided)
feature_image_url- screenshot/image URL (S3 bucket)video_url- YouTube embed URLlearn_more_url- blog post or additional info URLdocs_url- ZenML documentation URLpublished- boolean (default: true, can usually leave out)highlight_until- datetime to stop highlightingshould_highlight- boolean, makes announcement pop up for usersaudience- "oss", "pro", or "all" (default: "all")labels- array of: "feature", "improvement", "bugfix", "deprecation"
Workflow
Step 0: Find and Triage the PR Queue
Before touching any entries, find which PRs are waiting for review and process them one at a time, oldest first.
-
List the open PRs assigned to you for review. The widget PRs (the ones that touch
changelog.json) have the title prefixChangelog widget:and requeststrickvlas a reviewer. The companionRelease notes:GitBook PRs are reviewed by others and are usually already merged — ignore them.gh pr list --repo zenml-io/zenml-changelog --state open --limit 50 \ --json number,title,headRefName,createdAt,reviewRequests \ --jq 'sort_by(.createdAt)'Filter to PRs whose title starts with
Changelog widget:and whosereviewRequestsincludestrickvl. -
Order the queue oldest → newest (by
createdAt). Show the user the ordered list as a table and confirm before starting. -
Process each PR in order using the per-PR loop below. Do not start the next PR until the current one is merged — later PRs branched off an older
mainand will conflict inchangelog.json(theidnumbering and newest-first ordering collide). Merging in order keeps conflicts predictable.
Per-PR Loop
For each PR in the ordered queue:
-
Check out the PR branch:
gh pr checkout <number> --repo zenml-io/zenml-changelog git pull --rebase origin main # rebase onto latest main; resolve changelog.json conflicts if anyIf there are conflicts in
changelog.json, resolve them: keep all entries, renumberids so they stay unique and sequential, and preserve newest-first ordering. Thefix-merge-conflictsskill can help. -
Run Steps 1–3 below to identify, review, and complete the new entries.
-
Validate locally:
uv run scripts/validate_changelog.py. -
Commit and push the completed entries to the PR branch.
-
Wait for CI to pass, then merge:
gh pr checks <number> --repo zenml-io/zenml-changelog --watch gh pr merge <number> --repo zenml-io/zenml-changelog --squashmainrequires 1 approving review, so a plain--squashis blocked withthe base branch policy prohibits the merge. Ask the user how to clear the gate (approve as them, admin override, or they approve manually); admin override isgh pr merge <number> --repo zenml-io/zenml-changelog --squash --admin. Because you rebased the branch, push withgit push --force-with-leasebefore merging. -
Move to the next PR. After merging, the next PR's branch is now behind
main— rebasing it (step 1) is where you resolve the conflicts that the just-merged PR introduced.
Step 1: Identify New Entries
After checking out the PR branch, find the new entries:
git branch --show-current
git diff main -- changelog.json
Parse the diff to identify entries that were added (look for lines starting with +). New entries typically have:
- Empty strings for
feature_image_urlandvideo_url - Placeholder URLs like "https://example.com/REPLACE-ME" or "https://docs.zenml.io/REPLACE-ME"
Step 2: Review Each Entry
For each new entry, use the AskUserQuestion tool to gather information. IMPORTANT: Always check recent entries (last ~5) in changelog.json for overlapping content before proceeding.
2.0 Should Include (Ask First)
Before asking about details, first ask whether this entry should be included at all:
- Yes, include this - Proceed with remaining questions
- No, duplicate of recent entry - Remove this entry entirely (content already covered in a recent changelog entry)
- No, not significant enough - Remove this entry entirely (too minor for the changelog)
- Merge with another entry - Combine with another new entry in this PR
When asking this question, provide context by:
- Showing the entry title and a brief summary
- Listing any recent entries (last ~5) that might overlap
- Noting any obvious duplications
If the user chooses to remove or merge, skip all remaining questions for this entry and handle the deletion/merge accordingly.
2.0.1 Update Entry Content (if keeping)
If the user chooses to include the entry but mentions it needs updating (e.g., wrong focus, inaccurate description, or should be based on a specific PR), ask:
- Keep current title/description - The generated content is accurate
- Update based on specific PR - User provides a PR URL with better context (fetch and read it)
- Manual update - User will provide new title/description text
When updating based on a PR:
- Fetch the PR description using
gh pr view <number> --repo <repo> --json title,body - Extract the key user-facing changes
- Rewrite the entry title and description to accurately reflect the PR's changes
- Show the proposed update to the user for approval before applying
2.0.2 Split over-grouped entries (common)
The automation's LLM groups several PRs into 2–3 "buckets" per release to keep the widget compact, but that grouping is a guess and frequently fuses unrelated features into one entry (e.g. "nested dynamic pipelines AND a Databricks step operator", or "bigger secrets AND Run:AI settings"). Splitting these into separate cards gives each a clean headline, the correct label, and its own natural docs page.
Heuristic for where to split: count the distinct source PRs behind a bucket (from the GitBook markdown). Several unrelated PRs → split into one entry each. A cluster of genuinely small fixes (keyboard-interrupt handling, an import-failure fix) → keep them together as one "reliability roundup". A standalone example or a one-line fix bullet that the markdown lists under another release's "Fixed" section → usually drop it or fold it in, rather than give it a headline card.
When splitting, ask the user how granular they want each bucket (per the 0.94.x examples in this repo's history). After splitting, renumber so ids stay unique and sequential, newest on top.
2.1 Audience
- oss - Only open-source users see this
- pro - Only ZenML Pro users see this
- all - Everyone sees this (default)
2.2 Labels
Verify the labels are correct. Options:
feature- New functionalityimprovement- Enhancement to existing functionalitybugfix- Bug fixdeprecation- Deprecated features
2.3 Feature Image
Ask if there's a feature image/screenshot. Options:
- No image - This field will be removed from the entry
- Already uploaded - User provides existing S3 URL
- Local file - User has a local image that needs processing (see Processing Local Images)
Images are hosted at: https://public-flavor-logos.s3.eu-central-1.amazonaws.com/whats_new/
2.4 Video URL
Ask if there's a video demonstration. If yes, get the YouTube embed URL.
- Format:
https://www.youtube-nocookie.com/embed/VIDEO_ID - If no video, this field will be removed from the entry
2.5 Learn More URL
Ask if there's a blog post or article. If yes, get the URL.
- Usually a zenml.io/blog post
- If no blog post, this field will be removed from the entry
2.6 Docs URL
Don't just ask the user to find a docs page — investigate the source PRs first and suggest a verified URL. The change behind an entry almost always shipped docs alongside the code, so the work is to find them:
-
Find the source PRs for the entry. For the OSS path, the companion
Release notes:GitBook PR (usually already merged intogitbook-release-notes/server-sdk.md) lists every source PR with a link — extract the section for this release:awk '/## <TAG>/{f=1} f{print} /## <PREV_TAG>/{if(f)exit}' gitbook-release-notes/server-sdk.mdFor the Pro path,
pro-control-plane.mdomits PR links by convention, so you may only have the prose description (source repos are the privatezenml-cloud-api/zenml-cloud-ui). -
Check each source PR for docs it added. A PR that touches
docs/or*.mdfiles almost certainly has a docs page:gh pr view <PR_NUMBER> --repo zenml-io/zenml --json title,files \ --jq '.title, (.files[].path | select(test("docs/|\\.md$")))'The PR file list is the source of truth for whether docs exist — do not guess from the entry text alone. (A PR with no
docs/files, e.g. a pure API endpoint, legitimately has no docs page — leavedocs_urloff.) -
Map the
docs/book/*.mdfile path to the live URL and verify it. The live site does not mirror the file path (e.g.docs/book/component-guide/step-operators/databricks.md→https://docs.zenml.io/stacks/stack-components/step-operators/databricks). Verify every candidate with an HTTP check against a known-bad control so you don't trust a soft-404:probe() { curl -sL -o /dev/null -w "%{http_code} %{url_effective}\n" "$1"; } probe "https://docs.zenml.io/<candidate-path>" probe "https://docs.zenml.io/this-path-should-404" # control: must return 404Common path rewrites:
component-guide/...→stacks/stack-components/...;how-to/steps-pipelines/...→concepts/steps_and_pipelines/.... -
Suggest the verified URL to the user as the recommended option (they can override). If no source PR added docs, present "No docs link" as the recommendation.
2.7 Should Highlight
Ask if this announcement should be highlighted (pops up for users).
- Default: false
- Set to true for major features
Step 3: Update changelog.json
Use the Edit tool to update each entry:
- Update
audienceif different from default - Update or verify
labels - Either set valid URLs or remove placeholder fields entirely
- Set
should_highlightif true
Important: Remove optional fields with empty/placeholder values rather than leaving them. A cleaner entry looks like:
{
"id": 10,
"slug": "enhanced-pipeline-scheduling",
"title": "Enhanced Pipeline Scheduling",
"description": "You can now pause and resume schedules...",
"published_at": "2026-01-14T09:20:00Z",
"published": true,
"audience": "all",
"labels": ["improvement"],
"docs_url": "https://docs.zenml.io/concepts/schedules"
}
Step 4: Prompt Preview
After updating all entries, tell the user:
Next Steps:
- Copy the updated
changelog.jsoncontent- Go to https://zenml-announcements-preview.vercel.app/
- Paste the JSON to preview how your entries will appear
- If everything looks good, commit and push the changes
Example AskUserQuestion Flow
For entry "Enhanced Stack Management with Update Functionality":
Questions to ask (can batch related questions):
0. Should we include this entry?
Context: "Enhanced Stack Management with Update Functionality" - Allows updating stacks from the UI.
Recent entries that might overlap:
- ID 10: "Enhanced Pipeline Scheduling and Stack Management" - Already mentions stack update page
Options:
- Yes, include this (Recommended if it adds significant new detail)
- No, duplicate of recent entry (content already in ID 10)
- No, not significant enough
- Merge with another entry in this PR
[If user chooses "Yes, include this", continue with remaining questions...]
1. Audience: Is this feature available to...
- OSS users only
- Pro users only
- All users (Recommended)
2. Labels: The current labels are ["feature"]. Is this correct?
- Yes, keep as feature
- Change to improvement
- Change to bugfix
- Other (specify)
3. Do you have a feature image URL for this entry?
- No image
- Yes (will prompt for URL)
4. Do you have a video URL?
- No video
- Yes (will prompt for URL)
5. Do you have a blog post URL (learn more)?
- No blog post
- Yes (will prompt for URL)
6. Do you have a docs URL?
- No documentation link
- Yes (will prompt for URL)
7. Should this entry be highlighted (pop up for users)?
- No (default)
- Yes, highlight this
Processing Local Images
When a user has a local image file that needs to be used as a feature image:
Step 1: Get the Local File Path
Ask the user for the full path to their local image file (PNG, JPG, etc.).
Step 2: Convert to AVIF
Use the avif-image-compressor skill to convert and compress the image:
~/.claude/skills/avif-image-compressor/scripts/convert_to_avif.sh "/path/to/image.png" --quality 30 --output "/tmp/output-name.avif"
- Quality 30 provides good visual fidelity for UI screenshots
- Typical compression: 80-90% size reduction
Note: The AVIF compressor skill is available in the private
zenml-io/skillsrepository. Team members who don't have it installed can clone it from there.
Step 3: Upload to S3
Upload both the AVIF and the original PNG to the public-flavor-logos S3 bucket:
# Upload the AVIF version (used by the dashboard widget)
aws s3 cp /tmp/output-name.avif s3://public-flavor-logos/whats_new/output-name.avif --profile default
# Upload the PNG version (needed for email newsletters - many email clients don't support AVIF)
aws s3 cp /path/to/original-image.png s3://public-flavor-logos/whats_new/output-name.png --profile default
- Try the
defaultAWS profile first - If that fails, try the
zenmlprofile - All PR reviewers on this repo should have permissions to upload
Step 4: Get the Final URL
The final URLs will be:
https://public-flavor-logos.s3.eu-central-1.amazonaws.com/whats_new/output-name.avif (dashboard)
https://public-flavor-logos.s3.eu-central-1.amazonaws.com/whats_new/output-name.png (email)
Use the AVIF URL for the feature_image_url field in the changelog entry. The PNG version will be used when building email newsletters.
Naming Convention
Use descriptive, kebab-case names for images:
- ✅
enhanced-logs.avif - ✅
pipeline-scheduling-ui.avif - ❌
screenshot1.avif - ❌
image.avif
Tips
- Batch questions where possible to reduce back-and-forth
- For entries with no supplementary content (no images, videos, blog, docs), just clean up the entry by removing placeholder fields
- The
published: truefield can usually be left in or removed (defaults to true) - Make sure URLs are valid - schema validation will fail otherwise