release
БесплатноБез исполняемых скриптовНе проверенReleases Plain packages with intelligent version suggestions and parallel release notes generation. Use when releasing packages to PyPI.
Об этом скилле
Release Packages
Release Plain packages with version bumping, changelog generation, and git tagging.
Arguments
- No args: discover all packages with changes, prompt for each
- Package names: only release specified packages
- The user may also specify a release type (major/minor/patch) to auto-select for all packages
Scripts
All mechanical operations are handled by scripts in this skill directory:
| Script | Purpose |
|---|---|
discover-changes |
Find packages with unreleased commits (outputs JSON) |
bump-versions |
Bump package versions (<package>:<type> ...) |
commit-and-push |
Format, sync, commit, tag, and push (<package>:<version> ...) |
add-hunks |
Stage specific uv.lock hunks by grep pattern (used internally) |
Workflow
Phase 1: Discover Packages with Changes
Run
git status --porcelainto check for uncommitted changes.Run discover-changes:
./.claude/skills/release/discover-changesThis outputs JSON with each package's name, current version, and commits since last release. If specific packages were requested, filter the results to only those packages.
For each package that has changes to release, check if any of its files appear in the git status output. If so, stop and warn the user — uncommitted changes in a package being released could mean the release misses work or includes an inconsistent state. Ask them to commit or discard before proceeding. Changes in other directories (e.g.
work/,scripts/) are fine to ignore.
Phase 1b: First Release Detection
For any package with current_version of 0.0.0:
- Inform the user: "Package X has never been released (version 0.0.0)."
- Ask what version to release:
- 0.1.0 - First development release (recommended)
- 1.0.0 - First stable release
- Use
uv version <version>in the package directory to set the version directly (instead of bump)
Phase 2: Collect Release Decisions
For each package with changes:
- Display the commits since last version change
- Analyze commits and suggest release type:
- Minor: new features, breaking changes, significant additions, new APIs
- Patch: small bugfixes, minor tweaks, documentation updates, refactors
- Ask user to confirm or adjust (minor/patch/skip)
- If user specified a release type, auto-select that type
- Default to skip if user just presses Enter
Phase 3: Bump Versions
./.claude/skills/release/bump-versions <package>:<type> [<package>:<type> ...]
Example: ./.claude/skills/release/bump-versions plain-admin:patch plain-dev:minor
Phase 3b: Update Cross-Package Dependency Minimums
When a package is being released because it depends on changes in another package being released in the same batch, update its minimum version constraint in pyproject.toml.
For each sub-package being released, check if any of its dependencies (in [project.dependencies]) are also being released in this batch. If so, and the sub-package's changes are driven by the dependency's changes (e.g., adapting to a new API), update the constraint from <1.0.0 to >=<new_version>,<1.0.0.
Example: if plain-auth is being released because it adapted to plain 0.113.0's new Request API, update its pyproject.toml:
- Before:
"plain<1.0.0" - After:
"plain>=0.113.0,<1.0.0"
Only update constraints when there's an actual compatibility requirement — don't add minimums for packages whose changes are independent. Use the commit analysis from Phase 3 to determine this.
A package shipping its first baseline migration (a file with supersedes = ..., written by plain migrations reset) is this case: set its plain.postgres minimum to the first plain-postgres release that understands baselines, and set the baseline's empty shipped_in to the package's new version (plain-postgres/tests/internal/test_shipped_baselines.py fails CI while shipped_in is empty). Release plain-postgres before, or in the same batch as, that package.
Phase 4: Generate Release Notes
Apply maximum reasoning effort to this phase — ultrathink while reading each diff and writing its notes. Release notes are user-facing and can't be quietly revised after publishing, so accuracy and completeness matter more than speed here.
For each package to release, sequentially:
Get the file changes since the last release:
git diff <last_tag>..HEAD -- <name> ":(exclude)<name>/tests"Read the existing
<changelog_path>file.Prepend a new release entry to the changelog with this format:
## [<new_version>](https://github.com/dropseed/plain/releases/<name>@<new_version>) (<today's date>)
### What's changed
- Summarize user-facing changes based on the actual diff (not just commit message
Установить release в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл release?
Releases Plain packages with intelligent version suggestions and parallel release notes generation. Use when releasing packages to PyPI.
Как установить скилл release?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл release запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic