/pbr:release runs instead · from pbr
Generates and updates changelogs and release notes from git history, supporting draft, update, and clean modes.
This skill never runs in Claude Code
It ships in pbr at skills/, but /pbr:release (a command, or a skill Claude Code finds first) has the same name: typing it, or Claude choosing it, runs that one instead.
STOP — DO NOT READ THIS FILE. You are already reading it. This prompt was injected into your context by Claude Code's plugin system. Using the Read tool on this SKILL.md file wastes tokens. Begin executing Step 1 immediately.
Before ANY tool calls, display this banner:
╔══════════════════════════════════════════════════════════════╗
║ PLAN-BUILD-RUN ► RELEASE ║
╚══════════════════════════════════════════════════════════════╝
Then proceed to Step 1.
You are running the release skill. This skill generates polished, user-facing changelog entries from project history — milestone summaries, commit logs, and planning artifacts. It produces Keep a Changelog format with bolded feature names and impact-focused descriptions.
This skill runs inline (no subagents).
Parse $ARGUMENTS:
$ARGUMENTS format: [version] [--flag]
Examples:
"" → mode=draft, version=auto-detect from package.json
"v2.2.0" → mode=draft, version=v2.2.0
"--draft" → mode=draft, version=auto-detect
"--update v2.1.0" → mode=update, version=v2.1.0
"--clean" → mode=clean, run clean-changelog.js on existing CHANGELOG.md
Modes:
draft (default) — Generate a new changelog entry for unreleased workupdate — Regenerate the entry for an existing versionclean — Run the scope-cleaning script on the current CHANGELOG.mdcleanRun the changelog cleaning script to strip internal scopes from existing entries:
node scripts/clean-changelog.js --write
Display the result and exit.
draft or updateDetermine version:
v if missing)package.json version field and use thatRead current CHANGELOG.md (if exists):
update mode: find the section for the target version to replaceDetermine the change range:
For draft mode (unreleased work):
git describe --tags --abbrev=0git log {tag}..HEAD --onelineFor update mode (existing version):
Read SUMMARY.md files from the relevant phases (archived or active):
.planning/milestones/ for version-matched archives.planning/phases/ for active phase summariesprovides, key_files, and key_decisions fields from frontmatterGenerate a changelog entry in Keep a Changelog format:
## [{version}] - {YYYY-MM-DD}
### Added
- **Feature name** — What it does and why it matters
- **Another feature** — User-facing description
### Changed
- **Existing feature** — What changed and why
### Fixed
- **Bug description** — What was broken and how it's resolved
Rules:
### Changed if nothing changed)Install/upgrade: \npx @sienklogic/plan-build-run@latest``Present the draft to the user:
Use AskUserQuestion:
question: "Here's the draft changelog for {version}. Review and approve?"
header: "Changelog Draft"
options:
- label: "Looks good" description: "Write this to CHANGELOG.md"
- label: "Edit" description: "I'll provide corrections or additions"
- label: "Regenerate" description: "Try again with different grouping"
- label: "Cancel" description: "Don't write anything"
Write to CHANGELOG.md:
draft: insert the new entry after the file header, before existing versionsupdate: replace the existing entry for that versionCommit:
git add CHANGELOG.md
git commit -m "docs: update changelog for {version}"
Update GitHub Release (if tag exists):
Check if a GitHub release exists for this version:
gh release view {tag} --json tagName 2>/dev/null
If it exists, offer to update the release body:
Use AskUserQuestion:
question: "A GitHub release exists for {tag}. Update its release notes too?"
header: "GitHub Release"
options:
- label: "Yes" description: "Update the GitHub release body with the new notes"
- label: "No" description: "Only update CHANGELOG.md"
If "Yes":
gh release edit {tag} --notes-file - <<< "{changelog entry}"
Display:
╔══════════════════════════════════════════════════════════════╗
║ PLAN-BUILD-RUN ► CHANGELOG UPDATED ║
╚══════════════════════════════════════════════════════════════╝
Version: {version}
Sections: {Added: N, Changed: N, Fixed: N}
File: CHANGELOG.md
{if GitHub release updated: "GitHub release also updated."}
### Changed with no entriesWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
changelog, release-notes, keep-a-changelog, git-history, pbr
46 skills in this plugin
/auditReview past Claude Code sessions for PBR workflow compliance and UX quality./audit-fixRun audit, prioritize findings, auto-fix via quick tasks, test, and commit./autonomousRun multiple phases hands-free. Chains discuss, plan, build, and verify automatically./backlogManage backlog items — ideas not ready for active planning. Add, review, promote, or remove./beginStart a new project. Deep questioning, research, requirements, and roadmap./buildExecute all plans in a phase. Spawns agents to build in parallel, commits atomically.Generated from the plugin's indexed repository (sienklogic/plan-build-run) — no native marketplace selected
npx claudepluginhub p/sienklogic-pbr-plugins-pbrOther plugins' skills for the same job