pr-release
БесплатноБез исполняемых скриптовНе проверенGenerate changelog entries, a deployment checklist, and update a release PR description. Invoke when user asks to prepare a release, generate a changelog…
от kanopi★ 18 звёзд на GitHubОб этом скилле
PR Release
Generate changelog entries, deployment checklists, and update the release PR description. The main session runs this skill directly — no orchestrator agent is involved.
⚠️ Side Effect Warning
This skill updates a PR description (a merge request on GitLab) — an action that modifies publicly visible content:
- Updates the PR description via the host CLI (
gh pr editon GitHub,glab mr updateon GitLab) - The changelog and deployment checklist are visible to all repository members
Confirmation required before updating the PR. Present all artifacts for review and wait for explicit approval before updating the PR.
This skill does not create git tags, merge the PR, or deploy. Those remain manual.
Usage
- "Prepare release artifacts for version 1.2.0"
- "Generate a changelog for this release branch"
- "Create a deployment checklist"
/pr-release [version-or-focus]
Focus options: changelog, deploy, update, or a version number like 1.2.0.
Prerequisites
- On a release branch (typically named
release/<version>or similar) - Commits follow conventional commits (
feat,fix,breaking,chore, etc.) - The host's CLI installed and authenticated for the Tier 2 path —
ghfor GitHub,glabfor GitLab. Check the host withgit remote get-url origin; never assume GitHub. Bitbucket and other hosts have no CLI and use the Environment fallback
Workflow
1. Parse arguments
- If the argument looks like a version (
1.2.0,v2.3.4,1.0.0-rc1) — use it as the target version. - If the argument is
changelog/deploy/update— focus the output on that section only. - If no argument — generate all three artifacts (changelog, deployment checklist, PR description update).
2. Determine version (if not provided)
- Read the project's version source of truth (e.g.,
.claude-plugin/plugin.jsonfor this repo,composer.json,style.cssfor WP themes,*.info.ymlfor Drupal modules). - Read
CHANGELOG.mdto find the previous released version. - Inspect commits since the last release to suggest a bump:
- Any
feat:→ minor bump (1.X.0) - Any
BREAKING CHANGE:or!:→ major bump (X.0.0) - Only
fix/chore/docs→ patch bump (1.0.X)
- Any
- Confirm the proposed version with the user before continuing.
3. Analyze commits since the last release
Run in parallel:
- Find the previous tag:
git describe --tags --abbrev=0(or readCHANGELOG.md) git log --oneline <prev-tag>..HEADgit log <prev-tag>..HEAD --pretty=format:"%s%n%b"git diff --stat <prev-tag>..HEAD
4. Categorize commits
Group by conventional commit type for the changelog:
| Commit type | Changelog section |
|---|---|
feat: |
Added |
fix: |
Fixed |
refactor: |
Changed |
perf: |
Changed |
docs: |
Changed (or Documentation) |
BREAKING CHANGE: / !: |
Breaking Changes |
security: (or fix related to vulns) |
Security |
Within each section, write one human-readable line per commit. Don't just copy the commit subject — translate to user-facing language where appropriate.
5. Detect CMS-specific deployment requirements
Scan the diff for:
Drupal:
config/sync/changes →drush config:importhook_update_N→drush updatedb- New module dependencies →
composer install --no-dev+drush en <module> - Service or render changes →
drush cache:rebuild - New
*.routing.ymlentries → rebuild routes
WordPress:
- ACF JSON files in
acf-json/→ re-sync via ACF UI or WP-CLI register_post_type,register_taxonomy, rewrite changes → flush permalinks- Theme changes → clear caching plugin (W3 Total Cache, WP Rocket, etc.)
- New plugins added → activate after deploy
block.json/src/blocks/changes → run build, clear editor cache- Multisite changes → check network-wide impact
6. Generate artifacts
Changelog (Keep a Changelog format)
## [<version>] - <YYYY-MM-DD>
### Added
- <user-facing description of feature>
### Changed
- <user-facing description of change>
### Fixed
- <user-facing description of fix>
### Security
- <vulnerability fix>
### Breaking Changes
- <breaking change with migration note>
### Drupal-Specific Upgrade Notes
- Run: `drush updatedb`
- Run: `drush config:import`
- Clear cache: `drush cache:rebuild`
### WordPress-Specific Upgrade Notes
- Flush permalinks: Settings → Permalinks → Save
- Re-sync ACF fields from `acf-json/`
Omit any section that has no entries.
Deployment Checklist
## Pre-Deployment
- [ ] Code review complete
- [ ] Tests passing in CI
- [ ] Database backup taken
- [ ] Multidev/staging validated
- [ ] Client UAT complete (if applicable)
## Deployment Steps
1. [ ] Merge release PR to main
2. [ ] Pull on production: `git pull origin main`
3. [ ] Run: `composer install --no-dev` (if dependencies changed)
4. [ ] <CMS-specific step from step 5>
5. [ ] <CMS-specific step from step 5>
## Post-Deployment
-
Установить pr-release в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл pr-release?
Generate changelog entries, a deployment checklist, and update a release PR description. Invoke when user asks to prepare a release, generate a changelog, create a deployment checklist, or uses /pr-release. Requires user confirmation before updating the PR (modifies publicly visible content). Supports version numbers and focus areas (changelog/deploy/update).
Как установить скилл pr-release?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл pr-release запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic