agentleFS
jugoljugol/workcell/.agents/skills/release-changelog/SKILL.md

release-changelog

Skill1 starsChanged 4 months agoMITView on GitHub

Generate the stable Workcell release changelog at releases/vYYYY.MDD.P.md by reading commits, changesets, and merged PR context since the last stable tag.

20 other projects use a version of this, 5 of them edited.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

19 rules. 0 are common, 13 are distinctive, and 6 are very specific to this project.

  • 0

    Common

    Most of the 19 edited versions we read keep these.

  • 13

    Distinctive

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    do not derive versions from semver bump types

    line 30
  2. Distinctive:

    do not create canary changelog files

    line 31
  3. Distinctive:

    Before generating anything, check whether the file already exists:

    line 35
  4. Distinctive:

    ask whether to keep it, regenerate it, or update specific sections

    line 45
  5. Distinctive:

    never overwrite it silently

    line 46
  6. Very specific:

    Do not derive the changelog version from a canary tag or prerelease suffix.

    line 63
  7. Very specific:

    Do not derive major/minor/patch bumps from API intent — calver uses the date and same-day stable slot.

    line 64
  8. Distinctive:

    If breaking changes are detected, flag them prominently — they must appear in the Breaking Changes section with an upgrade path.

    line 101
  9. Distinctive:

    Use these stable changelog sections:

    line 106
  10. Distinctive:

    write from the user perspective

    line 119
  11. Distinctive:

    keep highlights short and concrete

    line 120
  12. Distinctive:

    When a bullet item clearly maps to a merged pull request, add inline attribution at the end of the entry in this format:

    line 125
  13. Very specific:

    Only add a PR link when you can confidently trace the bullet to a specific merged PR.

    line 134
  14. Very specific:

    Use merge commit messages (Merge pull request #N from user/branch) to map PRs.

    line 135
  15. Very specific:

    If multiple PRs contributed to a single bullet, list them all: (#10, #12, @user1, @user2).

    line 137
  16. Distinctive:

    If you cannot determine the PR number or contributor with confidence, omit the attribution parenthetical — do not guess.

    line 138
  17. Very specific:

    Never expose contributor email addresses: Use @username only.

    line 178
  18. Distinctive:

    If there are no contributors left after exclusions, then just skip this section and don't mention it.

    line 185
  19. Distinctive:

    Before handing it off:

    line 189

“Common” is measured: kept by at least 6 in 10 of the 19 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Release Changelog Skill

Generate the user-facing changelog for the stable Workcell release.

Versioning Model

Workcell uses calendar versioning (calver):

  • Stable releases: YYYY.MDD.P (e.g. 2026.318.0)
  • Canary releases: YYYY.MDD.P-canary.N (e.g. 2026.318.1-canary.0)
  • Git tags: vYYYY.MDD.P for stable, canary/vYYYY.MDD.P-canary.N for canary

There are no major/minor/patch bumps. The stable version is derived from the intended release date (UTC) plus the next same-day stable patch slot.

Output:

  • releases/vYYYY.MDD.P.md

Important rules:

  • even if there are canary releases such as 2026.318.1-canary.0, the changelog file stays releases/v2026.318.1.md
  • do not derive versions from semver bump types
  • do not create canary changelog files

Step 0 — Idempotency Check

Before generating anything, check whether the file already exists:

ls releases/vYYYY.MDD.P.md 2>/dev/null

If it exists:

  1. read it first
  2. present it to the reviewer
  3. ask whether to keep it, regenerate it, or update specific sections
  4. never overwrite it silently

Step 1 — Determine the Stable Range

Find the last stable tag:

git tag --list 'v*' --sort=-version:refname | head -1
git log v{last}..HEAD --oneline --no-merges

The stable version comes from one of:

  • an explicit maintainer request
  • ./scripts/release.sh stable --date YYYY-MM-DD --print-version
  • the release plan already agreed in doc/RELEASING.md

Do not derive the changelog version from a canary tag or prerelease suffix. Do not derive major/minor/patch bumps from API intent — calver uses the date and same-day stable slot.

Step 2 — Gather the Raw Inputs

Collect release data from:

  1. git commits since the last stable tag
  2. .changeset/*.md files
  3. merged PRs via gh when available

Useful commands:

git log v{last}..HEAD --oneline --no-merges
git log v{last}..HEAD --format="%H %s" --no-merges
ls .changeset/*.md | grep -v README.md
gh pr list --state merged --search "merged:>={last-tag-date}" --json number,title,body,labels

Step 3 — Detect Breaking Changes

Look for:

  • destructive migrations
  • removed or changed API fields/endpoints
  • renamed or removed config keys
  • BREAKING: or BREAKING CHANGE: commit signals

Key commands:

git diff --name-only v{last}..HEAD -- packages/db/src/migrations/
git diff v{last}..HEAD -- packages/db/src/schema/
git diff v{last}..HEAD -- server/src/routes/ server/src/api/
git log v{last}..HEAD --format="%s" | rg -n 'BREAKING CHANGE|BREAKING:|^[a-z]+!:' || true

If breaking changes are detected, flag them prominently — they must appear in the Breaking Changes section with an upgrade path.

Step 4 — Categorize for Users

Use these stable changelog sections:

  • Breaking Changes
  • Highlights
  • Improvements
  • Fixes
  • Upgrade Guide when needed

Exclude purely internal refactors, CI changes, and docs-only work unless they materially affect users.

Guidelines:

  • group related commits into one user-facing entry
  • write from the user perspective
  • keep highlights short and concrete
  • spell out upgrade actions for breaking changes

Inline PR and contributor attribution

When a bullet item clearly maps to a merged pull request, add inline attribution at the end of the entry in this format:

- **Feature name** — Description. ([#123](https://github.com/jugol/workcell/pull/123), @contributor1, @contributor2)

Rules:

  • Only add a PR link when you can confidently trace the bullet to a specific merged PR. Use merge commit messages (Merge pull request #N from user/branch) to map PRs.
  • List the contributor(s) who authored the PR. Use GitHub usernames, not real names or emails.
  • If multiple PRs contributed to a single bullet, list them all: ([#10](url), [#12](url), @user1, @user2).
  • If you cannot determine the PR number or contributor with confidence, omit the attribution parenthetical — do not guess.
  • Core maintainer commits that don't have an external PR can omit the parenthetical.

Step 5 — Write the File

Template:

# vYYYY.MDD.P

> Released: YYYY-MM-DD

## Breaking Changes

## Highlights

## Improvements

## Fixes

## Upgrade Guide

## Contributors

Thank you to everyone who contributed to this release!

@username1, @username2, @username3

Omit empty sections except Highlights, Improvements, and Fixes, which should usually exist.

The Contributors section should always be included. List every person who authored commits in the release range, @-mentioning them by their GitHub username (not their real name or email). To find GitHub usernames:

  1. Extract usernames from merge commit messages: git log v{last}..HEAD --oneline --merges — the branch prefix (e.g. from username/branch) gives the GitHub username.
  2. For noreply emails like user@users.noreply.github.com, the username is the part before @.
  3. For contributors whose username is ambiguous, check gh api users/{guess} or the PR page.

Never expose contributor email addresses. Use @username only.

Exclude bot accounts (e.g. lockfile-bot, dependabot) from the list. Exclude Workcell founders from the list (e.g. cryppadotta, forgottendev, devinfoley, sockmonster, scotttong)

List contributors in alphabetical order by GitHub username (case-insensitive).

If there are no contributors left after exclusions, then just skip this section and don't mention it.

Step 6 — Review Before Release

Before handing it off:

  1. confirm the heading is the stable version only
  2. confirm there is no -canary language in the title or filename
  3. confirm any breaking changes have an upgrade path
  4. present the draft for human sign-off

This skill never publishes anything. It only prepares the stable changelog artifact.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.