release
Production release lifecycle: SemVer calculation, changelog generation, and release PRs into main.
- License 许可
- MIT
- 最近更新
- 2026-11-11
- Stars
- ★ 5
- Forks
- 0
01 前言 Front Matter
- name
- release
- license
- MIT
- metadata
- { "author": "QRCraftly", "version": "3.0" }
- description
- Production release lifecycle: SemVer calculation, changelog generation, and release PRs into main.
03 SKILL.md 正文
Release Skill
Use this skill when preparing, previewing, or executing a release. The full runbook is RELEASING.md; the decision record is ADR 0020.
Non-Negotiable Invariants
mainis the only long-lived branch. Every change, including a release, reaches it through a squash-merged PR that passesCIandPR Title. Never push tomaindirectly.- Every merge to
maindeploys to production through Cloudflare Workers Builds. GitHub Actions never deploys. - Never create tags or edit the
package.jsonversion by hand. The release PR bumps the version; the Release workflow creates the tag when it merges. - Conventional Commits: PR titles are the squashed commit subjects that decide the SemVer bump (
feat:-> minor, others -> patch,!orBREAKING CHANGE:-> major).
Quick Reference
git checkout main && git pull --ff-only origin main
pnpm run release:dry-run # preview version and changelog
pnpm run release:prepare # creates release/vX.Y.Z with the bump commit
git push -u origin release/vX.Y.Z # open a PR into main titled chore(release): vX.Y.Z
Squash-merging the release PR starts .github/workflows/release.yml. It verifies GitHub Release status via gh release view, extracts notes before tagging, creates the annotated tag vX.Y.Z idempotently, publishes the GitHub Release, waits for production to serve /version.json for the new version, and smoke tests production.
Agents
Agents may run release:dry-run and release:prepare and open the release PR. Merging it publishes a release, so get the maintainer's go first.
Rollback
Roll back the deployment in Cloudflare (dashboard or wrangler rollback), then fix forward with a PR. Never revert by pushing to main.
04 同仓库更多 Skills
claude-handoff
Hand the current conversation off to a fresh background agent that picks up the work immediately.
steward
How to drive a QRCraftly pull request to merged. Use when opening a PR, handling CI or review events on it, updating its branch, or deciding whether to merge.
run-qrcraftly
Build, run, and drive the QRCraftly web app (Vike + React on Vite). Use when asked to start the dev server or production preview, take a screenshot of a page, click through the generator or QR code checker, download a generated code, confirm a UI change works in the real app, call a src/packages function directly, or run unit and Playwright e2e tests in this container.
writing-shape
Writing, exploit: shape raw material into an article, paragraph by paragraph.
writing-fragments
Writing, explore: mine raw fragments, no structure yet.
writing-for-agents
Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.