beaver-release-skills
Release Skills
Universal workflow for releasing the Beaver Skills Library and its Independent Packages.
Requirements
- Changesets: This skill is strictly dependent on Changesets.
- Pre-flight Check: Verify
@changesets/cliis available and.changeset/config.jsonexists before starting.
Core Mandate
Always distinguish between the two release targets:
- Unified Skill Release: Targets the entire
skills/library as one version (e.g.,@beaverslab/skills). - Independent Package Release: Targets a specific tool in
packages/<name>/with its own version.
Phase 1: Create Changeset (Research & Plan)
Analyze intent and changes to propose a changeset:
- Identify Target:
- If user says "release skill" -> Proposal for
@beaverslab/skills. - If user says "release package " -> Proposal for
@beaverslab/<name>.
- If user says "release skill" -> Proposal for
- Scan Changes: Analyze
git diffandgit logsince the last release tag. - Determine Bump: Propose
patch,minor, ormajorbased on Conventional Commits. - Draft Notes: Summarize key user-facing changes (Features, Fixes, Breaking Changes).
- Ask User: Confirm the target, bump type, and notes.
- Act: Generate
.changeset/<random-name>.md.
Phase 2: Apply Version (Execution)
Consume changesets and synchronize across languages:
- Act: Run
npx changeset version. - Create Tag: Manually create a version tag (e.g.,
git tag v0.5.0) matching the rootpackage.jsonversion. - Sync Non-NPM Files:
- If a package is Rust (
Cargo.toml), Python (pyproject.toml), or Go (VERSION), read the new version from itspackage.jsonand sync it to its native manifest.
- If a package is Rust (
- Update Localized Changelogs:
- Scan: Identify all
CHANGELOG*.mdfiles in the root directory. - Standard: Follow categories and date format defined in
references/changelog-i18n.md. - Categories: Use mandatory sections:
New Features,Improvements & Fixes,CI/CD,Documentation,Breaking Changes. - Sync: Simultaneously update ALL identified files with appropriate translations for each version bump.
- Scan: Identify all
- Commit: Create a release commit (e.g.,
chore: release v0.5.0).
Phase 3: Publish (Verification)
Finalize the release and push to remotes:
- Ask User: Confirm the final version bump and whether to push to origin.
- Act: Push commit and tags to
origin HEAD. - Publish Artifacts:
- Run
npx changeset publishfor NPM. - Run
cargo publishortwine uploadfor other languages if applicable.
- Run
Directives
- Strict Dependency: All versioning operations must go through
changesetCLI commands. - Zero Hallucination: Only propose bumps for packages that actually have changes.
- User First: Never write a changeset or commit version bumps without explicit user confirmation.
- Progressive Disclosure: For complex changelog translation rules, refer to references/changelog-i18n.md.
More from beaverslab/beaver-skill
beaver-image-gen
AI image generation with OpenAI, Google, DashScope and Replicate APIs. Supports text-to-image, reference images, aspect ratios. Sequential by default; parallel generation available on request. Use when user asks to generate, create, or draw images.
15beaver-xhs-images
Generates Xiaohongshu (Little Red Book) infographic series with 10 visual styles and 8 layouts. Breaks content into 1-10 cartoon-style images optimized for XHS engagement. Use when user mentions "小红书图片", "小红书笔记", "小红书配图", "小红书种草", "XHS images", "XHS cards", "RedNote infographics", or wants social media infographics for Chinese platforms.
8beaver-rss-digest
Generate configurable RSS digest with YAML-driven LLM chain, source management, prompt customization, i18n, and template-based report output.
5beaver-markdown-i18n
Translate and sync markdown documentation between languages (EN↔ZH/JA/KO). Handles new document translation and incremental sync when source updates. Preserves code blocks, frontmatter structure, links, and variables. Use when translating docs, localizing markdown, syncing i18n files, or when the user mentions translation, localization, multilingual documentation, 翻译, ローカライズ, or 번역.
3beaver-cover-image
Generates article cover images with 5 dimensions (type, palette, rendering, text, mood) combining 9 color palettes and 6 rendering styles. Supports cinematic (2.35:1), widescreen (16:9), and square (1:1) aspects. Use when user asks to "generate cover image", "create article cover", or "make cover".
1