release-please
БесплатноБез исполняемых скриптовНе проверенUse when the user wants to automate releases, versioning or changelogs with GitHub Actions; set up or configure release-please (pipelines, pre-releases…
от bmad-labs★ 20 звёзд на GitHubОб этом скилле
release-please
Overview
release-please automates versioning and releases by analyzing Conventional Commit messages:
- Push conventional commits to your default branch
- release-please creates/updates a Release PR with version bump and changelog
- Merge the Release PR to trigger a GitHub Release
- Publish step runs when a release is created (npm, PyPI, crates.io, etc.)
release-please handles version determination, changelog generation, and git tagging. You write good commit messages; it does the rest.
Commit Message Assistance
When a user asks for help writing a commit message (not setting up a pipeline):
- Ask what changed — "What did you change and why?" (skip if already described)
- Suggest the type — Pick from the type table in the Commit Message Guide below, explain why that type fits
- Draft the message — Write the full commit message (header + body if needed + footers)
- Confirm — Present it for the user to approve or adjust
If the change is breaking, always include a BREAKING CHANGE: footer explaining migration impact.
Pipeline Setup Flow
When a user wants to set up release-please, follow this interactive protocol.
If .github/workflows/release.yml (or similar) already exists, read it first, compare against the templates in references/workflow-templates.md, and suggest specific improvements rather than replacing it wholesale. Common improvement opportunities: missing concurrency groups, publish not gated on release_created, missing idempotent publish check, overly broad permissions.
Step 1: Detect Project Type
Scan the repository for package manifests:
| File | Release Type |
|---|---|
package.json |
node |
pyproject.toml / setup.py |
python |
pom.xml |
java |
go.mod |
go |
Cargo.toml |
rust |
*.gemspec |
ruby |
composer.json |
php |
pubspec.yaml |
dart |
mix.exs |
elixir |
Chart.yaml |
helm |
If multiple manifests exist at the root, ask which is primary. If none found, use simple.
Step 2: Ask Configuration Questions
Ask these questions (skip any already answered or obvious from context):
- Is this a monorepo? (multiple packages in subdirectories)
- What is the default branch? (default:
main) - Do you need pre-release support? (manual alpha/beta/rc releases)
- Where do you publish? (npm, GitHub Packages, PyPI, Maven Central, crates.io, Docker, none)
- What is the current version? (check package manifest, default:
0.0.0)
Step 3: Generate Files
Create three files based on the answers:
release-please-config.json
{
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
"packages": {
".": {
"release-type": "node",
"changelog-path": "CHANGELOG.md",
"bump-minor-pre-major": true,
"bump-patch-for-minor-pre-major": false,
"draft": false,
"prerelease": false,
"versioning": "default",
"extra-files": []
}
}
}
Adjust release-type based on detected project type. For monorepos, add multiple entries under packages with component names.
.release-please-manifest.json
{
".": "1.0.0"
}
Set to the current released version. Use "0.0.0" for new projects.
.github/workflows/release.yml
For Node.js → npm public registry (most common), use this base template:
name: Release
on:
push:
branches: [main]
concurrency:
group: release-${{ github.ref }}
cancel-in-progress: false
jobs:
release-please:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
outputs:
release_created: ${{ steps.release.outputs.release_created }}
tag_name: ${{ steps.release.outputs.tag_name }}
version: ${{ steps.release.outputs.version }}
steps:
- uses: googleapis/release-please-action@v4
id: release
publish:
needs: release-please
if: needs.release-please.outputs.release_created == 'true'
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write # required for npm --provenance
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
registry-url: https://registry.npmjs.org
- run: npm ci
- run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
For other ecosystems, see references/workflow-templates.md for complete templates including:
- Node.js → GitHub Packages (with idempotent publish check)
- Python → PyPI (trusted publishers)
- Java → Maven Central
- Go (tags only, optional GoReleaser)
- Rust → crates.io
- Docker (build + push with semver tags)
- Monorepo (per-package publish jobs)
- Pre-release pattern (workflow_dispatch with version resolution)
**Always custom
Установить release-please в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл release-please?
Use when the user wants to automate releases, versioning or changelogs with GitHub Actions; set up or configure release-please (pipelines, pre-releases, monorepos); write release-please-compatible Conventional Commits; tag versions or publish to npm, PyPI, crates.io, Maven or Docker automatically; or troubleshoot why a release PR wasn't created — even without naming release-please ("automate my npm releases", "semver automation", "pre-release workflow"). For multi-repo git operations with submodules, use multi-repo-git-ops instead.
Как установить скилл release-please?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл release-please запускает скрипты?
Нет, скилл состоит только из инструкций (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