agentleFS
ratel-airatel-ai/ratel/.claude/skills/changelog/SKILL.md

changelog

Skill466 starsChanged 4 months agoMITView on GitHub

Update per-package CHANGELOG.md files for a Ratel release. Drafts entries with git-cliff (scoped per package), lets you curate, then writes the CHANGELOGs. Handles both RC entries and GA-graduation collapse (merging X.Y.Z-rc.* sections into a single X.Y.Z section). Invoke before tagging a release.

89 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use playtest-report, team-audio and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • CoralGameSkill

    playtest-report

    Generates a structured playtest report template or analyzes existing playtest notes into a structured format. Use this to standardize playtest feedback collection and analysis.

    Also in 6 projects that use this

  • CoralGameSkill

    team-audio

    Orchestrate audio team: audio-director + sound-designer + technical-artist + gameplay-programmer for full audio pipeline from direction to implementation.

    Also in 6 projects that use this

  • cenconq25Skill

    asset-spec

    Generates per-asset visual specifications and AI-generation prompts from PRDs and the design bible. Produces structured spec files and updates a master asset manifest. Use after design bible is approved and a UX spec or PRD identifies assets to produce. Output: design/assets/<asset>.md plus design/assets/manifest.md.

    Also in 5 projects that use this

  • cenconq25Skill

    create-control-manifest

    Produces a flat, immediately-actionable rules sheet — do this, never do that, per system and per layer — extracted from accepted ADRs, technical preferences, and framework reference docs. More directly usable than ADRs for day-to-day implementation. Run after /architecture-review passes.

    Also in 5 projects that use this

  • +2 more from CoralGame
  • +6 more from cenconq25

The file

We split this skill into the rules it gives an agent

10 rules. 0 are common, 4 are distinctive, and 6 are very specific to this project.

  • 0

    Common

    Most of the 78 edited versions we read keep these.

  • 4

    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:

    Run it once per unit you're releasing.

    line 15
  2. Very specific:

    If the user hasn't named the unit, run node scripts/releasable.mjs — it lists which units have commits since their last release tag.

    line 40
  3. Distinctive:

    Read its canonical version:

    line 43
  4. Distinctive:

    If the user supplies a different version explicitly, prefer that and warn them the working tree disagrees.

    line 49
  5. Very specific:

    If $FROM is empty the unit has never shipped.

    line 61
  6. Very specific:

    Keep-a-Changelog sections (### Added, ### Fixed, ### Changed) or the sentinel _No user-facing changes._.

    line 70
  7. Very specific:

    If draft.sh exits 127, git-cliff is missing.

    line 74
  8. Very specific:

    Use today's date in YYYY-MM-DD (UTC).

    line 87
  9. Very specific:

    Leave non-matching prior versions (e.g.

    line 99
  10. Distinctive:

    If releasing more than one unit, repeat from step 1 for each.

    line 118

“Common” is measured: kept by at least 6 in 10 of the 78 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

/changelog

Updates a release unit's CHANGELOG.md in preparation for tagging it. Ratel releases per unit (ADR-0008): each unit ships on its own tag (<prefix>-v*) at its own version. For workflow-wired units, .github/workflows/release.yml rejects a tag whose unit CHANGELOG doesn't contain the version being released. vercel-ai-sdk is temporarily published manually via scripts/publish-rc.sh; still run this skill before its tag even though the workflow gate does not cover it yet.

Run it once per unit you're releasing.

Release units it touches

The units and their manifests/CHANGELOGs live in one registry — scripts/release-units.mjs — which every release tool reads. Run node scripts/release-units.mjs --list for the authoritative set; the current eight units are:

UnitRegistryCHANGELOG path
coreratel-ai-core (crates.io)src/core/CHANGELOG.md
sdk-ts@ratel-ai/sdk (npm)src/sdk/ts/CHANGELOG.md
sdk-pyratel-ai (PyPI)src/sdk/python/CHANGELOG.md
telemetry-coreratel-ai-telemetry (crates.io)src/telemetry/core/CHANGELOG.md
telemetry-ts@ratel-ai/telemetry (npm)src/telemetry/ts/CHANGELOG.md
telemetry-pyratel-ai-telemetry (PyPI)src/telemetry/python/CHANGELOG.md
vercel-ai-sdk@ratel-ai/vercel-ai-sdk (npm)src/adapters/ts-vercel-ai-sdk/CHANGELOG.md
mastra@ratel-ai/mastra (npm)src/adapters/ts-mastra/CHANGELOG.md

@ratel-ai/mcp-server lives in ratel-ai/ratel-mcp and maintains its own CHANGELOG there.

Procedure

1. Pick the unit and read its version

If the user hasn't named the unit, run node scripts/releasable.mjs — it lists which units have commits since their last release tag. Pick the unit $UNIT being released.

Read its canonical version:

node scripts/release-units.mjs --version "$UNIT"   # -> $TARGET

If the user supplies a different version explicitly, prefer that and warn them the working tree disagrees.

2. Determine the diff range

The range is from the unit's own last release tag to HEAD:

prefix=$(node scripts/release-units.mjs --tag-prefix "$UNIT")
FROM=$(git describe --tags --match "${prefix}*" --abbrev=0 2>/dev/null || true)

If $FROM is empty the unit has never shipped; the whole history is in range.

3. Generate the draft

bash .claude/skills/changelog/draft.sh --unit "$UNIT"

It emits a single ### <package-name> block for the unit, containing either Keep-a-Changelog sections (### Added, ### Fixed, ### Changed) or the sentinel _No user-facing changes._. (Omit --unit to draft every unit at once.) With no <from-ref> argument the script ranges each unit from its own last tag automatically.

If draft.sh exits 127, git-cliff is missing. Tell the user how to install it (the script's stderr already does), and stop.

4. Branch on RC vs GA

Inspect $TARGET, and edit only this unit's CHANGELOG:

  • RC (X.Y.Z-rc.N): prepend a new section above the most recent versioned section:
    ## [X.Y.Z-rc.N] - YYYY-MM-DD
    
    <draft content for the unit, or the sentinel>
    Use today's date in YYYY-MM-DD (UTC).
  • GA (no -rc suffix): enter GA-collapse mode:
    1. Find every ## [X.Y.Z-rc.*] section already present that matches the same MAJOR.MINOR.PATCH as $TARGET.
    2. Union their bullet entries (per subsection: ### Added, ### Changed, ### Fixed) with the new draft entries from step 3 (commits since the last RC tag).
    3. Deduplicate bullets within each subsection (case-insensitive, whitespace-normalised).
    4. Drop the _No user-facing changes._ sentinel if any real entries exist; keep it only if the unioned set is empty.
    5. Replace all the matched RC sections with a single ## [X.Y.Z] - YYYY-MM-DD section containing the merged content.
    6. Leave non-matching prior versions (e.g. ## [0.1.4]) untouched.

5. Curate with the user

Show the unit's CHANGELOG pending changes in the conversation. Ask the user to confirm or edit. Common curation moves:

  • Rephrase bullets for user-facing clarity (the draft uses commit subjects verbatim).
  • Drop bullets that are not user-visible (internal refactors that slipped past cliff.toml's skip rules).
  • Merge duplicates that survived deduplication.
  • Promote / demote between Added / Changed / Fixed if the commit prefix was wrong.

6. Write the file

Once approved, write only this unit's CHANGELOG using the Edit tool. Do not commit. The release commit is the user's responsibility — they typically include the CHANGELOG alongside the version bump in a single release: <unit>-vX.Y.Z commit.

If releasing more than one unit, repeat from step 1 for each.

7. Remind

Tell the user:

  • The CHANGELOG is staged in the working tree (unstaged).
  • Next step is the release commit + <unit>-v<version> tag + push.
  • For workflow-wired units, the release.yml tag-version-check job verifies the unit's CHANGELOG contains the tag version; if it doesn't, the release is blocked.
  • For vercel-ai-sdk, publish manually with scripts/publish-rc.sh after the tag push; its CHANGELOG is not workflow-gated yet.

Conventions

  • Date format: YYYY-MM-DD in UTC.
  • Subsection order: ### Added, ### Changed, ### Fixed, ### Removed, ### Deprecated, ### Security. Omit empty subsections.
  • Sentinel: _No user-facing changes._ for a unit with no in-scope commits.
  • Keep ## [Unreleased] at the top — it stays empty between releases.

Why this exists

ADR 0008 (docs/adr/0008-release-engineering.md) records the per-unit tag/version split, the CHANGELOG mechanism, and the rationale. Read it if you're unsure why something is structured the way it is.

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.