Skip to main content
commandsSource-backed

/draft-release-notes - Release Notes Drafting Command for Claude Code

Slash command that drafts release notes from the Conventional Commits made since the last release tag.

by jony376·added 2026-06-04·
Invocation:/draft-release-notes [from-ref]
Review first review before installing

Open the source and read safety notes before installing.

Citation facts

Source-backed facts for citing this resource, derived directly from the registry — also available as plain text for AI assistants.

Source URLs
https://www.conventionalcommits.org/en/v1.0.0/, https://github.com/conventional-commits/conventionalcommits.org
Safety notes
Read-only with respect to your repository when refs are validated and passed as git arguments; it only reads git history (tags and commit log) and never creates tags, commits, branches, or release artifacts., Validate the optional ref or discovered tag with `git rev-parse --verify --quiet <ref>^{commit}` and reject refs containing shell metacharacters before reading history., It proposes a version bump and notes for you to review; it does not publish a release or push anything.
Privacy notes
Commit subjects, bodies, and author names from the selected range are included in the model's context to draft the notes., If commit messages contain internal identifiers, customer names, or unreleased details, those become part of the prompt; review the range before running on a private history., The command writes nothing to disk on its own.
Author
jony376
Submitted by
jony376
Claim status
unclaimed
Last verified
2026-06-04

Decision playbook

Review trust signals before you adopt

Signals are present but mixed. Use the checklist below to confirm the source and operational safety for your environment.

Compare context
Selected

0

Current score

78

Baseline

Delta

No baseline selected

No major trust-signal divergence detected in the current selection.

Source and provenance checks

Complete

Confirm ownership and provenance before trusting install instructions.

  • Source link availableRequired

    Open the canonical repository and verify ownership.

    Done
  • Source provenance statusRequired

    Marked as source-backed.

    Done
  • Metadata reviewed

    Registry metadata indicates a reviewed listing.

    Done

Safety and privacy checks

Complete

Validate risk disclosures before installation or API wiring.

  • Safety notes presentRequired

    Review the listed safety guidance before running commands.

    Done
  • Privacy notes presentRequired

    Review data handling notes before connecting accounts or secrets.

    Done
  • Trust level risk gateRequired

    Trust level does not block evaluation.

    Done

Package and install checks

Needs review

Check package metadata and artifact integrity signals.

  • Install payload available

    Install or copy payload is available for review.

    Done
  • Package verification flag

    No package verification flag provided.

    Pending
  • Checksum metadata

    No checksum provided for downloaded artifact.

    Pending

Compare-driven decision checks

Needs review

Use compare context to validate trade-offs before adoption.

  • Compare tray has multiple entries

    Add at least one more entry to compare trust differences.

    Pending
  • Baseline comparison available

    No baseline peer selected yet.

    Pending
  • Diverging trust signals identified

    No major trust-signal divergence found.

    Pending

Setup at a glance

CLI install

Copy-ready — paste the snippet to get started.

Adoption plan

Balanced adoption plan

Current risk score 16/100. Use staged verification before broader rollout.

Risk 16

Pre-adoption checks

Validate source and review signals before any execution.

  • Confirm source provenanceRequired

    Source URL/provenance metadata is present.

    Done
  • Confirm metadata review state

    Listing has review metadata.

    Done
  • Verify install payload

    Install/config payload exists and can be inspected.

    Done

Security checks

Confirm safety, privacy, and package integrity signals.

  • Review safety notesRequired

    Safety notes are present.

    Done
  • Review privacy notesRequired

    Privacy notes are present.

    Done
  • Verify package integrity metadata

    No package verification/checksum metadata.

    Pending

Rollout

Adopt in controlled steps based on the selected plan.

  • Run in isolated sandbox firstRequired

    Use a constrained sandbox and observe behavior across multiple tasks.

    Pending
  • Roll out graduallyRequired

    Roll out to a small cohort before wider usage.

    Pending
  • Set monitoring and fallback

    Define rollback path and monitor errors after adoption.

    Pending

Evidence readiness

Evidence readiness matrix · balanced

Required evidence gates are covered (5/6 signals complete).

Risk 15

Source provenance

Present

Source repository/provenance is listed.

Required in this preset

Metadata review

Present

Review metadata is present.

Required in this preset

Safety notes

Present

Safety notes are present.

Required in this preset

Privacy notes

Present

Privacy notes are present.

Optional in this preset

Package integrity

Missing

Package integrity metadata is missing.

Optional in this preset

Install payload

Present

Install payload is available.

Required in this preset

Required evidence gates are covered for this preset.

Decision timeline

Decision timeline · balanced

5/6 steps complete with no blocking gaps for this preset.

Risk 14

triage

Confirm source provenanceRequired

Source/provenance metadata is available.

Done

triage

Check metadata review statusRequired

Review metadata is available.

Done

verify

Review safety notesRequired

Safety notes are available.

Done

verify

Review privacy notes

Privacy notes are available.

Done

verify

Validate package integrity metadata

Package integrity metadata is missing.

Pending

rollout

Verify install payload and commandsRequired

Install payload is available.

Done

No required blockers for this timeline preset.

Safety & privacy surface

Safety & privacy surface

3 safety and 3 privacy notes across 4 risk areas.

4 areas
  • SafetyData retentionRead-only with respect to your repository when refs are validated and passed as git arguments; it only reads git history (tags and commit log) and never creates tags, commits, branches, or release artifacts.
  • SafetyExecution & processesValidate the optional ref or discovered tag with `git rev-parse --verify --quiet <ref>^{commit}` and reject refs containing shell metacharacters before reading history.
  • SafetyGeneralIt proposes a version bump and notes for you to review; it does not publish a release or push anything.
  • PrivacyGeneralCommit subjects, bodies, and author names from the selected range are included in the model's context to draft the notes.
  • PrivacyExecution & processesIf commit messages contain internal identifiers, customer names, or unreleased details, those become part of the prompt; review the range before running on a private history.
  • PrivacyLocal filesThe command writes nothing to disk on its own.

Safety notes

  • Read-only with respect to your repository when refs are validated and passed as git arguments; it only reads git history (tags and commit log) and never creates tags, commits, branches, or release artifacts.
  • Validate the optional ref or discovered tag with `git rev-parse --verify --quiet <ref>^{commit}` and reject refs containing shell metacharacters before reading history.
  • It proposes a version bump and notes for you to review; it does not publish a release or push anything.

Privacy notes

  • Commit subjects, bodies, and author names from the selected range are included in the model's context to draft the notes.
  • If commit messages contain internal identifiers, customer names, or unreleased details, those become part of the prompt; review the range before running on a private history.
  • The command writes nothing to disk on its own.

Schema details

Install type
cli
Troubleshooting
No
Source repository stats
Scope
Source repo
Runtime and command metadata
Command syntax
/draft-release-notes [from-ref]
Full copyable content
/draft-release-notes [from-ref]

About this resource

The /draft-release-notes command turns the Conventional Commits made since your last release into clean, grouped release notes following Keep a Changelog, plus a recommended Semantic Versioning bump.

Usage

/draft-release-notes [from-ref]
  • With from-ref (a tag or commit): draft notes for everything after that ref.
  • Without an argument: use the most recent tag as the starting point.

What it does

When you invoke this command, follow these steps:

  1. Find the range. If a from-ref was given, treat it as untrusted input. Otherwise resolve the latest tag with git describe --tags --abbrev=0 and treat that tag as untrusted too; fall back to the repository root if there are no tags.
  2. Validate the ref. Before using any supplied or discovered ref, reject empty values and refs containing shell metacharacters or whitespace (for example ;, &, |, `, $, (, ), <, >, quotes, backslashes, or spaces). Then verify it resolves to a commit with git rev-parse --verify --quiet <ref>^{commit}. Stop and ask for a safe tag or commit SHA if validation fails.
  3. Read the commits safely. Do not interpolate the ref into a shell command. Pass the range as a quoted argument or argv element, for example git log "<validated-ref>..HEAD" --no-merges --pretty=format:%s%x00%b%x00%an, to collect each commit's subject, body, and author. If there is no starting ref, pass HEAD as the revision argument.
  4. Parse Conventional Commits. Classify each subject by its type(scope): prefix. Map types to Keep a Changelog groups: featAdded, fixFixed, perf/refactorChanged, deprecateDeprecated, removals → Removed, security fixes → Security. Skip pure docs, style, test, chore, ci, and build commits unless they are user-visible.
  5. Detect breaking changes. Treat any type!: marker or BREAKING CHANGE: footer as breaking and list it under a prominent heading.
  6. Recommend the bump. Any breaking change → major; otherwise any featminor; otherwise patch.
  7. Write for humans. Rewrite terse commit subjects into clear, impact-focused bullet points; collapse duplicates; link issue/PR numbers when present.

Output format

## [Unreleased] - proposed vX.Y.Z (<bump> bump)

### Added
- ...

### Fixed
- ...

### Changed
- ...

### Breaking changes
- ...

Requirements

  • git available, run from inside the repository.
  • A commit history that follows Conventional Commits gives the best grouping; non-conforming commits are listed under a generic "Other" section.

Safety notes

Read-only when refs are validated and passed safely: the command only reads git history. Treat both user-provided refs and discovered tags as untrusted input, reject refs with shell metacharacters or whitespace, verify them with git rev-parse --verify --quiet <ref>^{commit}, and pass the final range as a quoted argument or argv element rather than interpolating it into a shell command. The command does not create tags, commits, or releases, and it does not push — you review and apply the draft yourself.

Privacy notes

Commit subjects, bodies, and author names from the selected range are included in the model's context to draft the notes. If your history contains internal identifiers or unreleased details, review the range before running. Nothing is written to disk by the command.

Source and references

Source citations

Add this badge to your README

Show that /draft-release-notes - Release Notes Drafting Command for Claude Code is listed on HeyClaude. Paste this Markdown into your README — it renders the badge and links back to this page.

Listed on HeyClaude
[![Listed on HeyClaude](https://heyclau.de/badge/commands/release-notes-drafting.svg)](https://heyclau.de/entry/commands/release-notes-drafting)

How it compares

/draft-release-notes - Release Notes Drafting Command for Claude Code side by side with 3 alternatives on trust, install, platform support, and disclosed safety notes — all from reviewed registry metadata.

2 trust signals differ across this comparison (Source provenance, Submitter).

Next steps differ across entries — use the actions in the table below to copy install commands and source links per resource.

Field

Slash command that drafts release notes from the Conventional Commits made since the last release tag.

Open dossier

Read-only Claude Code Stop hook that checks the current GitHub pull request title against a Conventional Commits style pattern before the session ends, then falls back to the latest commit subject when no PR title is available.

Open dossier

A release-manager workflow collection for shipping versions safely: draft release notes from Conventional Commits, govern commits, triage red CI, checkpoint risky changes, and generate changelog artifacts before tagging.

Open dossier

Source-backed rules for contributor pull requests that need clear commit messages, release-note-ready changelog entries, issue links, breaking-change markers, and privacy-safe history.

Open dossier
Next stepsDiffers
Trust
Review statusReviewedMaintainer reviewedReviewedMaintainer reviewedReviewedMaintainer reviewedReviewedMaintainer reviewed
Package trustPackage not verifiedPackage not verifiedPackage not verifiedPackage not verified
Source provenanceDiffersSource-backedSource-backedSubmission linkedSource submissionSource-backed
SubmitterDiffersjony376MkDev11kiannidevMkDev11
Install riskReview firstReview firstReview firstReview first
Notes Safety ✓ Privacy ✓ Safety ✓ Privacy ✓ Safety ✓ Privacy ✓ Safety ✓ Privacy ✓
BrandGitHub logoGitHub
Categorycommandshookscollectionsrules
SourceSource-backedSource-backedSource-backedSource-backed
Authorjony376MkDev11kiannidevMkDev11
Added2026-06-042026-06-052026-06-162026-06-04
Platforms
Harness
Source repo
Safety notesRead-only with respect to your repository when refs are validated and passed as git arguments; it only reads git history (tags and commit log) and never creates tags, commits, branches, or release artifacts. Validate the optional ref or discovered tag with `git rev-parse --verify --quiet <ref>^{commit}` and reject refs containing shell metacharacters before reading history. It proposes a version bump and notes for you to review; it does not publish a release or push anything.Runs as a Claude Code Stop hook at the end of a session, not after every file edit. Reads the current git branch, repository root, latest commit subject, and, when GitHub CLI is available, the current branch's PR title and URL. Read-only by default: it does not edit PRs, rewrite commits, stage files, push branches, or create release notes. Default mode is advisory and exits 0 on mismatches so it will not block Claude Code from stopping. Set `PR_TITLE_REMINDER_STRICT=1` only after review; strict mode exits 2 when the PR title or fallback commit subject does not match the configured pattern. Set `PR_TITLE_REMINDER_OFFLINE=1` to skip GitHub CLI lookup and use the latest commit subject only.Release automation proposes notes and bumps—humans must approve tags and publishes. CI triage reads workflow logs; treat log content as untrusted input. Review each linked entry's safety notes before enabling hooks or skills.Commit messages, PR titles, and changelog entries become durable release history; misleading text can cause incorrect SemVer bumps, missed migrations, or hidden breaking changes. Do not hide security fixes, data migrations, dependency trust changes, deprecations, or public API changes inside vague commit messages such as update, cleanup, or misc. When release tooling parses commit history, malformed types, missing breaking-change markers, or noisy commits can publish incorrect release notes.
Privacy notesCommit subjects, bodies, and author names from the selected range are included in the model's context to draft the notes. If commit messages contain internal identifiers, customer names, or unreleased details, those become part of the prompt; review the range before running on a private history. The command writes nothing to disk on its own.The GitHub CLI lookup may send the repository remote, current branch, authentication context, and PR lookup request to GitHub. Hook output can print sanitized PR title, PR URL, branch name, latest commit subject, and allowed type pattern values to local stderr. No files are uploaded by the script itself, but terminal logs, CI transcripts, screenshots, or support bundles can retain the printed metadata. Use commit-only offline mode for repositories where branch names, PR titles, or private remote metadata should not be queried through GitHub CLI.Release notes commands include commit messages in model context—scrub sensitive subjects. Workflow completion hooks may echo branch names and paths in notifications.Commit subjects, changelog entries, issue links, and release notes can expose customer names, account IDs, private roadmap items, vulnerability details, incident context, internal hostnames, or partner information. Use synthetic examples and public-safe wording in changelog entries; move sensitive incident or vulnerability details to approved private advisories or security channels. Review generated release notes before publication because they may combine private branch names, issue titles, commit bodies, and contributor text.
Prerequisites— none listed
  • Claude Code CLI with hooks enabled.
  • bash, git, grep, sed, and tr available on PATH.
  • GitHub CLI is optional but recommended; the hook uses `gh pr view` only for read-only PR-title lookup.
  • A repository PR-title policy based on Conventional Commits or a custom `PR_TITLE_CONVENTIONAL_TYPES` allowlist.
  • Git repository with tags and GitHub Actions visible to authenticated gh CLI.
  • Claude Code with hooks enabled for workflow completion reporting.
  • Team agreement on Conventional Commits and SemVer bump rules.
  • A contributor pull request with commit history, PR title, PR body, and enough diff context to decide whether release notes are needed.
  • Repository guidance for commit style, squash/merge behavior, changelog format, issue-linking expectations, and release process.
  • Access to the current changelog, release notes, linked issues, and any generated release-preview output used by maintainers.
  • Permission to request a title, commit, changelog, or PR body update before merge.
Install
/draft-release-notes [from-ref]
mkdir -p .claude/hooks && touch .claude/hooks/pr-title-conventional-commit-reminder.sh && chmod +x .claude/hooks/pr-title-conventional-commit-reminder.sh
Config
{
  "hooks": {
    "Stop": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "$CLAUDE_PROJECT_DIR/.claude/hooks/pr-title-conventional-commit-reminder.sh"
          }
        ]
      }
    ]
  }
}
Citations
ClaimUnclaimedUnclaimedUnclaimedUnclaimed
Open 4 picks in the interactive comparison tool

Related guides

Signals

Loading live community signals…

More like this, weekly

A short, calm digest of reviewed Claude resources. Unsubscribe any time.