prepare-release
From CherryHQ
Prepare a new release by collecting commits, generating bilingual release notes, updating version files, and creating a release branch with PR. Use when asked to prepare/create a release, bump version, or run `/prepare-release`.
Facts
- Repository
- CherryHQ/cherry-studio
- Status
- Actively maintained
- Last commit
- Source file
- .agents/skills/prepare-release/SKILL.md
Source preview
The instructions Claude Code reads when this skill runs.
# Prepare Release
Automate the Cherry Studio release workflow: collect changes → generate bilingual release notes → update files → create release branch + PR → trigger CI/CD.
## Arguments
Parse the version intent from the user's message. Accept any of these forms:
- Bump type keyword: `patch`, `minor`, `major`
- Exact version: `x.y.z` or `x.y.z-pre.N` (e.g. `1.8.0`, `1.8.0-beta.1`, `1.8.0-rc.1`)
- Natural language: "prepare a beta release", "bump to 1.8.0-rc.2", etc.
Defaults to `patch` if no version is specified. Always echo the resolved target version back to the user before proceeding with any file edits.
- `--dry-run`: Preview only, do not create branch or PR.
## Workflow
### Step 1: Determine Version
1. Get the latest tag:
```bash
git describe --tags --abbrev=0
```
2. Read current version from `package.json`.
3. Compute the new version based on the argument:
- `patch` / `minor` / `major`: bump from the current tag version.
- `x.y.z` or `x.y.z-pre.N`: use as-is after validating it is valid semver.
### Step 2: Collect Commits
1. List all commits since the last tag:
```bash
git log <last-tag>..HEAD --format="%H %s" --no-merges
```
2. For each commit, get the full body:
```bash
git log <hash> -1 --format="%B"
```
3. Extract the content inside `` ```release-note `` code blocks from each commit body.
4. Extract the conventional commit tView full source on GitHub →Other skills
django-tdd
★ 229,918Django testing strategies with pytest-django, TDD methodology, factory_boy, mocking, coverage, and testing Django REST Framework APIs.
affaan-mupdated 14d agoMITclickhouse-io
★ 229,918ClickHouse database patterns, query optimization, analytics, and data engineering best practices for high-performance analytical workloads.
affaan-mupdated 14d agoMITlaravel-patterns
★ 229,918Patrones de arquitectura Laravel, routing/controladores, Eloquent ORM, capas de servicio, colas, eventos, caché y API resources para aplicaciones en producción.
affaan-mupdated 14d agoMITverification-loop
★ 229,918Sistema de verificación completo para sesiones de Claude Code.
affaan-mupdated 14d agoMITstrategic-compact
★ 229,918Suggests manual context compaction at logical intervals to preserve context through task phases rather than arbitrary auto-compaction.
affaan-mupdated 14d agoMITfrontend-patterns
★ 229,918Patrones de desarrollo frontend para React, Next.js, gestión de estado, optimización de rendimiento y buenas prácticas de UI.
affaan-mupdated 14d agoMIT