bump-release

paulrberg/agent-skills · updated Apr 8, 2026

MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.

$npx skills add https://github.com/paulrberg/agent-skills --skill bump-release
0 commentsdiscussion
summary

Support for both regular and beta releases.

skill.md

Bump Release

Support for both regular and beta releases.

Parameters

  • version: Optional explicit version to use (e.g., 2.0.0). When provided, skips automatic version inference
  • --beta: Create a beta release with -beta.X suffix
  • --dry-run: Preview the release without making any changes (no file modifications, commits, or tags)

Steps

  1. Locate the package - The user may be in a monorepo where the package to release lives in a subdirectory. Look for package.json in the current working directory first; if not found, ask which package to release. All file paths (CHANGELOG.md, package.json, justfile) are relative to the package directory.
  2. Update the CHANGELOG.md file with all changes since the last version release (skip this step for beta releases).
  3. Bump the version in package.json:
    • Regular release: Follow semantic versioning (e.g., 1.2.3)
    • Beta release: Add -beta.X suffix (e.g., 1.2.3-beta.1)
  4. Format files - If a justfile exists in the repository, run just full-write to ensure CHANGELOG.md and package.json are properly formatted
  5. Commit the changes with a message like "docs: release "
  6. Create a new git tag by running git tag -a v<version> -m "<version>"

Note: When --dry-run flag is provided, display what would be done without making any actual changes to files, creating commits, or tags.

Tasks

Process

  1. Check for arguments - Determine if version was provided, if this is a beta release (--beta), and/or dry-run (--dry-run)

  2. Check for clean working tree - Run git status --porcelain to verify there are no uncommitted changes unrelated to this release. If there are, run the commit skill to commit them before proceeding

  3. Write Changelog - Examine diffs between the current branch and the previous tag to write Changelog. Then find relevant PRs by looking at the commit history and add them to each changelog (when available). If package.json contains a files field, only include changes within those specified files/directories. If no files field exists, include all changes except test changes, CI/CD workflows, and development tooling

  4. Follow format - Consult references/common-changelog.md for the Common Changelog specification

  5. Check version - Get current version from package.json

  6. Bump version - If version argument provided, use it directly. Otherwise, if unchanged since last release, increment per Semantic Versioning rules:

    • For regular releases:
      • PATCH (x.x.X) - Bug fixes, documentation updates
      • MINOR (x.X.x) - New features, backward-compatible changes
      • MAJOR (X.x.x) - Breaking changes
    • For beta releases (--beta flag):
      • If current version has no beta suffix: Add -beta.1 to the version
      • If current version already has beta suffix: Increment beta number (e.g., -beta.1-beta.2)
      • If moving from beta to release: Remove beta suffix and use the base version
  7. Confirm version - When the version was inferred (no explicit version argument), use AskUserQuestion to confirm before proceeding:

    • header: "Version"
    • question: "Release <current><inferred>?"
    • options:
      • The inferred version label (e.g., "1.3.0 (minor)") — mark as "(Recommended)"
      • One alternative that is one semver level higher (e.g., "2.0.0 (major)")
      • One alternative that is one semver level lower when possible (e.g., "1.2.4 (patch)")
    • multiSelect: false

    If the user picks an alternative, use that version for the remaining steps. Skip this step when --dry-run is active (show the inferred version in the preview instead)

Beta Release Logic

When --beta flag is provided in the $ARGUMENTS

  1. Check for explicit version - If version provided:
    • If version already has beta suffix → use as-is
    • If version has no beta suffix → append -beta.1
  2. Otherwise, parse current version from package.json and determine beta version:
    • If current version is 1.2.3: Create 1.2.4-beta.1 (increment patch + beta.1)
    • If current version is 1.2.3-beta.1: Create 1.2.3-beta.2 (increment beta number)
    • If current version is 1.2.3-beta.5: Create 1.2.3-beta.6 (increment beta number)
  3. Skip CHANGELOG.md update - Beta releases don't update the changelog
  4. Commit and tag with beta version (e.g., v1.2.4-beta.1)

Output

For regular releases only, generate changelog entries in CHANGELOG.md following the format and writing guidelines in references/common-changelog.md. Use the Changed, Added, Removed, Fixed categories (in that order). Every entry must begin with a present-tense verb in imperative mood.

Inclusion Criteria

For regular releases only (changelog generation is skipped for beta releases):

  • Files field constraint - If package.json contains a files field, only include changes to files/directories specified in that array. All other codebase changes should be excluded from the CHANGELOG
  • Production changes only - When no files field exists, exclude test changes, CI/CD workflows, and development tooling
  • Reference pull requests - Link to PRs when available for context
  • Net changes only - Examine diffs between the current branch and the previous tag to identify changes
  • Only dependencies and peerDependencies changes - Exclude changes to devDependencies

Examples

Regular Release

# Create a regular patch/minor/major release
/bump-release

# Preview what a regular release would do
/bump-release --dry-run

Beta Release

# Create a beta release with -beta.X suffix
/bump-release --beta

# Preview what a beta release would do
/bump-release --beta --dry-run

Explicit Version

# Specify exact version
/bump-release 2.0.0

# Specify exact beta version
/bump-release 2.0.0-beta.1

# Combine with flags
/bump-release 2.0.0 --dry-run

Version Examples

Current Version Release Type New Version
1.2.3 Regular 1.2.4 (patch)
1.2.3 Beta 1.2.4-beta.1
1.2.3-beta.1 Beta 1.2.3-beta.2
1.2.3-beta.5 Regular 1.2.3
1.2.3 2.0.0 2.0.0
1.2.3 2.0.0 + Beta 2.0.0-beta.1

Resources

  • references/common-changelog.md — Common Changelog format and writing guidelines
how to use bump-release

How to use bump-release on Cursor

AI-first code editor with Composer

1

Prerequisites

Before installing skills in Cursor, ensure your development environment meets these requirements:

  • Cursor installed and configured on your development machine
  • Node.js version 16.0+ with npm package manager (verify with node --version)
  • Active project directory or workspace where you want to add bump-release
2

Execute installation command

Execute the skills CLI command in your project's root directory to begin installation:

$npx skills add https://github.com/paulrberg/agent-skills --skill bump-release

The skills CLI fetches bump-release from GitHub repository paulrberg/agent-skills and configures it for Cursor.

3

Select Cursor when prompted

The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:

◆ Which agents do you want to install to?
│ ── Universal (.agents/skills) ── always included ────
│ • Amp
│ • Antigravity
│ • Cline
│ • Codex
│ ●Cursor(selected)
│ • Cursor
│ • Windsurf
4

Verify installation

Confirm successful installation by checking the skill directory location:

.cursor/skills/bump-release

Reload or restart Cursor to activate bump-release. Access the skill through slash commands (e.g., /bump-release) or your agent's skill management interface.

Security & Verification Notice

We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.

Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.

List & Monetize Your Skill

Submit your Claude Code skill and start earning

GET_STARTED →

Use Cases

User Story & Requirements Generation

Create detailed user stories, acceptance criteria, and feature specs

Example

Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios

Reduce spec writing time by 50%, ensure comprehensive coverage

Competitive Analysis

Research competitors, compare features, identify gaps

Example

Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities

Complete competitive research in 2 hours instead of 2 days

Roadmap Prioritization

Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs

Example

Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale

Make data-driven prioritization decisions faster

Stakeholder Communication

Draft PRDs, status updates, and stakeholder presentations

Example

Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement

Save 3-5 hours/week on communication overhead

Implementation Guide

Prerequisites

  • Claude Desktop or compatible AI client
  • Access to product documentation and roadmap tools (Jira, Notion, etc.)
  • Understanding of product management frameworks (RICE, Jobs-to-be-Done, etc.)
  • Stakeholder contact information and communication channels

Time Estimate

30-60 minutes to see productivity improvements

Installation Steps

  1. 1.Install product management skill
  2. 2.Start with user story generation for known feature
  3. 3.Progress to competitive analysis: research 2-3 competitors
  4. 4.Use for roadmap prioritization: apply RICE/ICE scoring
  5. 5.Draft stakeholder communications and refine based on feedback
  6. 6.Build template library for recurring PM tasks
  7. 7.Share effective prompts with product team

Common Pitfalls

  • Not validating competitive research—verify facts before sharing
  • Accepting user stories without involving engineering team
  • Over-relying on frameworks without qualitative judgment
  • Not customizing outputs to company culture and communication style
  • Skipping stakeholder validation of generated requirements

Best Practices

✓ Do

  • +Validate research and competitive analysis with real data
  • +Collaborate with engineering when generating technical requirements
  • +Customize frameworks and templates to your company context
  • +Use skill for first drafts, refine with stakeholder input
  • +Document successful prompt patterns for PM tasks
  • +Combine AI efficiency with human judgment and intuition

✗ Don't

  • Don't publish competitive analysis without fact-checking
  • Don't finalize user stories without engineering review
  • Don't make prioritization decisions solely on AI scoring
  • Don't skip customer validation of generated requirements
  • Don't ignore company-specific context and culture

💡 Pro Tips

  • Provide context: company goals, constraints, customer feedback
  • Ask for alternatives: 'Show 3 ways to prioritize this roadmap'
  • Request stakeholder-specific formatting: 'Executive summary vs. engineering spec'
  • Use skill for 70% generation + 30% customization to company needs

When to Use This

✓ Use When

Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.

✗ Avoid When

Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.

Learning Path

  1. 1Basic: user stories, feature specs, status updates
  2. 2Intermediate: competitive analysis, prioritization frameworks, PRDs
  3. 3Advanced: product strategy, go-to-market planning, OKR setting
  4. 4Expert: product vision, market positioning, business model innovation

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.753 reviews
  • Ava Perez· Dec 24, 2024

    Keeps context tight: bump-release is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Aarav Ghosh· Dec 12, 2024

    I recommend bump-release for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Min Haddad· Dec 12, 2024

    Useful defaults in bump-release — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Ava Choi· Dec 12, 2024

    bump-release has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Sakura Verma· Nov 15, 2024

    I recommend bump-release for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Li Jackson· Nov 3, 2024

    Keeps context tight: bump-release is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Min Lopez· Nov 3, 2024

    bump-release is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Noor Malhotra· Oct 22, 2024

    bump-release is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Noah Desai· Oct 22, 2024

    Keeps context tight: bump-release is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Sakura Robinson· Oct 6, 2024

    Useful defaults in bump-release — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

showing 1-10 of 53

1 / 6