Github release note
Skill Bruno-Cunha-Souza/ValarMindSkills/skills/github-release-note
A library of reusable skills for AI agents. Each skill/plugin is a Markdown file with YAML frontmatter that can be invoked as a slash command within Claude Code CLI or Antigravity IDE.
npx -y skills add Bruno-Cunha-Souza/ValarMindSkills --skill github-release-noteAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 5 stars5 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Generate GitHub Release notes / changelog from tag range. Triggers: 'release notes', 'changelog', 'version notes'.
SKILL.md
6.2 KB, as published. Nobody here has run it
GitHub Release Note
Goal
Generate release notes following the project's standard, using only real project information. Compare the current version against the previous version.
Inputs you must collect before starting
- Project (short name)
- New version (e.g.: v2.4.0)
- Comparison base (e.g.: v2.3.1)
- Repository URL (if you cannot infer it)
If the user does not provide the comparison base, use the tag immediately before the new version. If there is no previous tag, use v0.0.0. If the user does not provide the new version, auto-detect it by running step 0 (git tag discovery), then show the detected latest tag to the user and confirm before proceeding.
[!IMPORTANT] Never trust tag values remembered from earlier in the session or from prior conversations. Tags can be created, deleted, or pushed at any moment — including mid-session. Step 0 is mandatory on every invocation, even if you already saw the "latest tag" minutes ago. Treat any tag value not freshly read from
gitin this turn as unknown.
Procedure
-
Discover real tags first (mandatory, always re-run, hard gate) — before assuming any version, run these commands and show their full output to the user:
git remote -v git fetch --tags --force --prune origin 2>&1 git tag --sort=-version:refname | head -10 git describe --tags --abbrev=0 2>/dev/null || echo "(no local tags)" gh release view --json tagName,name,publishedAt 2>&1 || echo "(gh release view failed)" gh release list --limit 5 2>&1 || echo "(gh release list failed)"Mandatory cross-checks:
a. Fetch must succeed. If
git fetchprints any error (auth, network, no remote), STOP and report the exact error to the user. Do not continue with stale local tags unless the user explicitly says "use local only".b. Compare local vs. remote. If
gh release viewreturns a tag that is newer thangit tag --sort=-version:refname | head -1, the local clone is out of date even after fetch — STOP and tell the user the remote latest release tag verbatim. Ask whether they want to (i) pull the tag and retry, or (ii) generate notes for a different range.c. Hard assertion on the chosen new version. Whatever version you are about to use as
<NEW>MUST appear in the output ofgit tag --sort=-version:refnamefrom this turn. If it does not appear, STOP — do not run anygit rev-list,git log,git diff --stat, or validation commands against that version. Tell the user the tag is missing locally and list the tags that DO exist.d. Forbidden inference sources for
<NEW>. Do not pick the new version from any of these — they are not source of truth:- The
v2.4.0/v2.3.1examples in this skill file (SKILL.md,EXAMPLE.md). - Filenames of existing
release-v*.mdfiles in the working directory. - Versions in
package.json,Cargo.toml,pyproject.toml,go.mod. - Tag values remembered from earlier in the session or prior conversations.
The only authoritative sources are:
git tagoutput (post-fetch) andgh releaseoutput, both produced in the current turn.
e. Always print and confirm. After running the commands, print this block verbatim and wait for explicit user confirmation before continuing:
Detected: - Local latest tag: <from git tag> - Remote latest tag: <from gh release view, or "unknown"> - Proposed NEW: <value> - Proposed BASE: <value> Confirm to proceed (yes / change).Also look for the most recent
release-v*.mdfile in the current directory and detect the language it was written in (for language detection only, per the Language rule below). The release-note filename is not a source of truth for the latest tag. - The
-
Validate that the tags or commits exist in the repository.
-
Collect range metrics: commits, files changed, lines added and removed.
-
Read commits and relevant changes, grouping by topic.
-
Build the final text with an executive summary and sections: New Features, Performance, Refactors, Bug Fixes, Security, Tests, Infrastructure.
-
If there are relevant dependency changes, list them in a table with final versions.
-
List documentation changes (files in docs/ or equivalent).
-
Include contributors extracted from git log.
-
Generate a compare link in GitHub format:
/compare/<BASE>...<NEW>. -
Write the final release note to a file named
release-<NEW>.mdin the current directory (e.g.:release-v2.4.0.md). Use the Write tool to create the file.
Constraints
- Do not invent features, metrics, or numbers.
- If there is no evidence in git, do not mention it.
Language rule
- Detect the language of the most recent
release-v*.mdfile found in the current directory. Write all descriptive content (summaries, bullet text, table values, contributor lines) in that same language. - If no previous release file exists, default to English.
- Section titles and topic headings (e.g.
Executive summary,New Features,Bug Fixes,Performance,Refactors,Security,Tests,Infrastructure,Dependencies,Documentation,Contributors,Breaking changes) must always remain in English, regardless of the content language.
Output format
Follow exactly the template in EXAMPLE.md (same directory as this skill), adapting
all content to the current project range.
Adaptation rules:
- If a section has no content in the range (e.g.: no Security changes), omit it entirely — do not include an empty section.
- Keep the section order as shown in the example.
- Replace the fictional project with the real project name.
- Replace fictional metrics with the real metrics collected in step 2 of the procedure.
- Use the same writing style: user-centered language, concise bullets, concrete numbers where available.
Example request
"Create release notes for nexus-api v2.4.0 comparing with v2.3.1"