publish-npm-version

Automate minor version releases for Prisma Next with git worktrees and changelog generation.

47.5k|2.5k|Updated Jun 20, 2019
One-click install
npx skills add https://github.com/prisma/prisma --skill publish-npm-version
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: publish-npm-version
Source: https://github.com/prisma/prisma/tree/main/skills-contrib/publish-npm-version
Command: npx skills add https://github.com/prisma/prisma --skill publish-npm-version

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill automates the complex, multi-step process of cutting a new minor release for Prisma Next, ensuring consistency across workspace packages and reducing human error during the release cycle.

Core Features & Use Cases

  • Automated Version Bumping: Synchronizes the root version with all workspace packages using a safe, worktree-based approach.
  • Release Preparation: Automatically generates release notes and changelog entries by analyzing merged PRs.
  • Use Case: When a maintainer needs to cut a new minor version, this skill handles the git worktree creation, dependency updates, lockfile refreshing, and PR drafting in one coordinated flow.

Quick Start

Invoke the publish-npm-version skill to prepare the next minor release and open the corresponding pull request.

Frequently Asked Questions about publish-npm-version

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate npm version bumping across multiple workspace packages?

You can automate npm version bumping by using a git worktree-based approach to synchronize the root version with all workspace packages, ensuring strict lockstep versioning and reducing human error. This skill handles the entire coordinated flow.

How do I generate changelog entries for a new minor release automatically?

To generate changelog entries for a new minor release, this skill analyzes merged pull requests to automatically draft release notes and update changelogs, streamlining the release preparation process.

Do I need to install specific tools to automate Prisma Next release workflows?

Yes, you need git, pnpm, and the GitHub CLI installed to execute the automated version bumps, refresh lockfiles, manage git worktrees, and open release pull requests for Prisma Next.

What is the best way to cut a new minor version for a monorepo with strict lockstep versioning?

The best way to cut a new minor version is to use an automated skill that handles git worktree creation, workspace package synchronization, dependency updates, and release pull request drafting in one flow.

Why use git worktrees when preparing an npm package release?

Git worktrees provide a safe, isolated environment for version bumping and lockfile refreshing, ensuring that the main branch remains stable while preparing the release pull request.

Can I use this release automation for patch versions instead of minor versions?

This skill is specifically designed for maintainer-led minor version release workflows for Prisma Next, focusing on automating that specific release cycle rather than general patch versioning.