---
name: gh-release-status
description: >-
  Release status snapshot for the current GitHub repo — what's unreleased, diff against the last release, changes since the last release, release status, what shipped since the last release, what's in main but not yet tagged. Shows the most recent releases table plus a per-area file-change breakdown between the latest release tag and the default branch. Trigger this skill whenever the user types /gh-release-status, asks "what's unreleased", "what are the changes since the last release", "show the release status", "diff against last release", "what shipped since the last release", "what's in main that hasn't been released", "what's between the last tag and HEAD", or any similar request about what has changed since the most recent release. Hybrid: deterministic script output + a single LLM prose step.
title: gh-release-status
canonical_url: https://skilld.dev/gh/glitchwerks/claude-github-tools/gh-release-status
last_updated: 2026-09-25T20:46:23.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> Supporting files, fetch one when the Skill refers to it: [triggers.yml](https://skilld.dev/api/skills-raw/glitchwerks/claude-github-tools/gh-release-status/triggers.yml).
>
> If the user asked to install this Skill, run `npx skilld install glitchwerks/claude-github-tools/gh-release-status`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/gh-release-status`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/glitchwerks/claude-github-tools/gh-release-status) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/gh-release-status`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/gh-release-status --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/gh-release-status --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# /gh-release-status

Two-step recipe. The script fetches the recent releases table and the
compare diff between the latest release tag and the default branch via
`gh` and the GitHub compare API — zero LLM tokens. The LLM step then
writes a short prose section grouping the diff by feature area.

## Step 1 — Run the deterministic script

Run the script and surface its stdout verbatim:

```bash
PY="${CLAUDE_PLUGIN_DATA}/venv/Scripts/python.exe"
[ -f "$PY" ] || PY="${CLAUDE_PLUGIN_DATA}/venv/bin/python"
"$PY" "${CLAUDE_PLUGIN_ROOT}/scripts/gh-release-status.py"
```

Paste the script's output directly into the conversation without
modification or interpretation. If the script exits non-zero, surface
its stderr and stop — do not proceed to Step 2.

The script supports these flags:

- `--repo OWNER/REPO` — target a specific repo (default: auto-detected
  from the current directory via `gh repo view`)
- `--limit N` — number of recent releases to show in the table
  (default: 5)

Pass flags through if the user has specified them.

### What the script outputs

1. **Recent releases** table — the last N releases with tag name,
   published date (`YYYY-MM-DD`), and release title.
2. **Changes since `<tag>`** — total commits, files changed,
   insertions/deletions, and a markdown table breaking down the diff
   by top-level directory area (e.g. `scripts`, `skills`, `.github`).

### Edge cases the script handles

- **No releases yet** — emits `_No releases yet — nothing to diff
  against._` and exits 0. Do not proceed to Step 2.
- **Up to date** — emits an explicit "up to date" line when there are
  no commits since the last release. Acknowledge this and skip Step 2.
- **Large diffs** — the GitHub compare API caps `files[]` at 300.
  The script renders top-level totals and a truncation note; do not
  attempt to enumerate every file.

## Step 2 — Write the changes narrative

After pasting the script's output verbatim, write a `### Changes since
<tag>` prose section. This is the **only** step that spends LLM tokens.

Use the per-area stats from the script output and the commit subjects
to write a short (4–6 sentences) grouped narrative covering:

- **Feature/area themes** — which top-level dirs saw the most activity
  and what the work is broadly about (e.g. "Most changes are in
  `scripts/` — new release-status script and extraction of the shared
  `render_recent_releases` helper")
- **Notable changes** — any new skills, scripts, or significant
  refactors visible in the diff
- **Size signal** — call out unusually large or small diffs relative
  to the release cadence if relevant

Do **not** re-render the area table or restate numbers already in the
script output — this section adds narrative on top of the structured
data. Keep it under 150 words.

If there are no unreleased commits, skip Step 2 entirely and note that
the repo is current with the last release.

## Notes

- The script fetches the compare diff via the GitHub REST compare API
  (`/repos/{owner}/{repo}/compare/{tag}...{branch}`) — no local `git`
  clone or `git log` is performed.
- Step 1's output is the structural source of truth. Do not paraphrase
  or re-render it from JSON; paste verbatim.
- The per-area table groups files by their first path segment (e.g.
  `scripts/gh-release-status.py` → area `scripts`). Root-level files
  (e.g. `README.md`) are grouped under their own filename.
