ctx release notes

From ActiveMemory/ctx · View interactive version

ctx release notes is an AI agent skill from the GitHub repository ActiveMemory/ctx. Generate release notes for dist/RELEASE_NOTES.md. Use when preparing a release or when hack/release.sh needs release notes.

How to use this skill

Skill file

Generate release notes for the next release of Context CLI.

Before Writing

  1. "Are there commits since the last tag?" If HEAD equals the last

tag, there is nothing to release.

  1. "Does VERSION match the intended release?" If VERSION still shows

the previous version, ask the user to update it first.

When to Use

When NOT to Use

Process

  1. Read version and find baseline:
cat VERSION
# Use the latest tag globally, not ancestry-based git describe
# (git describe follows reachability and misses tags on other branches)
git tag --sort=-v:refname | head -1
  1. Gather commits since last tag (filter out noise):
# Substantive commits (skip "docs." and "minor" one-liners)
git log <tag>..HEAD --oneline --no-merges \
  | grep -v "^[a-f0-9]* docs\.$" \
  | grep -v "^[a-f0-9]* Doc update\.$" \
  | grep -v "^[a-f0-9]* minor"

# Changed file stats
git diff --stat <tag>..HEAD | tail -5

# Go code changes
git log <tag>..HEAD --oneline --no-merges -- '*.go'

# CI changes
git log <tag>..HEAD --oneline --no-merges -- '.github/**'

# Dependency changes
git log <tag>..HEAD --oneline --no-merges -- 'go.mod' 'go.sum'
  1. Read detailed commit messages for each substantive commit:
git show <hash> --format="%B" --stat | head -30
  1. Check previous release notes for format reference:
gh release view <tag> --json body -q '.body' | head -60
  1. Synthesize release notes:
  1. Write to dist/RELEASE_NOTES.md and confirm.

Output Format

<img src="https://ctx.ist/images/ctx-banner.png" />

# Context CLI v<version>

<Summary paragraph>

## Canonical Release Narrative

(coming soon) https://ctx.ist/blog/

## Highlights

- **Bold label**: 1-2 sentence description

## Features

- Description of feature

## Bug Fixes

- Description of fix

## Refactoring

- Description of refactor (only if significant)

## CI

- Description of CI change (only if present)

## Documentation

- Description of doc changes

---

Full changelog: https://github.com/ActiveMemory/ctx/compare/<last-tag>...v<version>

Quality Checklist

Style

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.