Release notes

From FgForrest/evitaDB · View interactive version

Release notes is an AI agent skill from the GitHub repository FgForrest/evitaDB. Generate enriched release notes for a major or patch release of evitaDB. Runs the deterministic skeleton generator and adds short user-facing prose to all breaking changes and to the features deemed "interesting", then writes the result to release-notes.md. Invokable locally as /release-notes and he

How to use this skill

Skill file

Release Notes

Overview

Produces the final release notes body for an evitaDB release. Combines a deterministic markdown skeleton (built by tools/generate-release-notes.sh) with short, user-facing prose summaries that the model writes for the bullets that warrant explanation. The result is written to release-notes.md in the working tree so the calling workflow can PATCH it onto the GitHub draft release.

The deterministic skeleton already contains the four canonical sections in the correct order — the skill never fabricates new sections or new bullets. It only rewrites existing bullets to bold their title and append a prose continuation line where appropriate.

When to Use

Inputs

The skill resolves its inputs in this order:

  1. Explicit arguments passed in the prompt: version=v2026.1.3 base=v2026.1.2 milestone=2026.1
  2. Environment variables (set by the CI workflow): RELEASE_VERSION, BASE_VERSION, MILESTONE
  3. Auto-detection:

If both RELEASE_VERSION ends with .0 and the matching MILESTONE exists on GitHub, treat the run as MAJOR mode. Otherwise treat it as PATCH mode.

Workflow

Execute these steps in order. Stop and report to the user if any step fails. Do not modify any file other than release-notes.md. Do not stage, commit, push, or create branches.

Step 1: Resolve inputs

Determine VERSION, BASE, and MILESTONE per the rules above. Echo them to the run output for traceability.

Step 2: Build the deterministic skeleton

Run the orchestrator and capture stdout. Use --milestone only when in MAJOR mode.

./tools/generate-release-notes.sh --version "<VERSION>" --base "<BASE>" [--milestone "<MILESTONE>"]

If the orchestrator exits non-zero, abort the skill and report the error. The CI workflow will treat this as a soft failure and keep the skeleton body already attached to the draft release.

The skeleton always begins with ## What's Changed and ends with a **Full Changelog**: ... line. Between them are zero or more of these sections, in this fixed order:

  1. ### ☢️ Breaking changes
  2. ### 🚀 Features
  3. ### 🐛 Bug Fixes
  4. ### ⛓ Dependencies upgrades

Step 3: Identify enrichment candidates

Parse the skeleton and collect the list of bullets that need a prose continuation:

When unsure, include the bullet — over-enrichment is cheaper than under-enrichment for the maintainer to clean up.

Step 4: Look up source material for each candidate

For each candidate bullet:

  1. Extract the issue number from the trailing (#NNN) if present.
  2. If an issue number was found, fetch the issue:

```shell

gh issue view <NNN> --repo FgForrest/evitaDB --json title,body,labels,url

```

Read the issue body — it is the primary source of user-facing context.

  1. If no issue number is present (typical for PATCH-mode commits without Ref: #NNN), look up the commit body instead. Use git log --grep="<bullet description>" -1 --format=%B to find the matching commit. The commit body is a weaker source than an issue body — keep the prose conservative.
  2. If neither lookup yields meaningful prose-worthy content, skip the bullet (do not invent text). For breaking-change bullets that have no source material, fall back to a one-sentence factual paraphrase of the bullet itself.

Step 5: Generate prose continuation lines

For each candidate, write a 1-2 sentence prose continuation that meets all of these rules:

  1. Voice: user-facing. Explain what the user can now do, what changed for them, or what they need to migrate. Never describe internal implementation.
  2. Vocabulary: never mention internal Java class names, package paths, gRPC stub names, internal method names, or BASH_REMATCH-style implementation jargon. Public API names (e.g. entityFetch, referenceContent, evitaQL, EntityContract) are fine when they correspond to documented API surface.
  3. Length: maximum 2 sentences. Aim for one when possible. No bullet lists, no headings, no code fences inside the prose.
  4. Tone: neutral and factual, matching the voice of the v2025.1.0 release notes. Avoid marketing words ("powerful", "blazing", "exciting", "robust").
  5. Completeness: prose must stand alone — a reader should not need to click the issue link to understand what the change is.

Step 6: Rewrite the bullets in place

For each enriched bullet, replace the original line:

* Added X for Y (#123)

with the bolded-title two-line continuation form:

* **Added X for Y** (#123)<br/>
  Short user-facing explanation of what this unlocks for the user.

Format rules — follow exactly:

Bullets that were not selected for enrichment are left byte-for-byte unchanged — they remain plain (no bolding, no <br/>, no prose continuation). The order of bullets within each section is preserved.

Step 7: Apply light dedupe (best-effort)

Within each section, if the same change appears as both an issue-derived bullet (with (#NNN)) and a commit-derived bullet (without an issue number, lower in the section), drop the commit-derived duplicate. Match conservatively — only drop when the descriptions are clearly the same change written two ways. Never delete a bullet that has a unique issue number you have not seen before.

This step is purely subtractive and runs only on sections that contain bullets from both sources (i.e. MAJOR mode). PATCH-mode runs skip this step.

Step 8: Write `release-notes.md`

Write the final body to release-notes.md in the current working directory using the Write tool. Overwrite any existing file. Do not append a trailing newline beyond what is already present in the body. Do not modify any other file.

Step 9: Report

Print a one-paragraph summary to the run output:

The CI workflow uses this summary only as human-readable log output — no machine parsing.

Important Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.