# Release Rsdoctor

> Use when asked to release Rsdoctor packages for a specific version. All publishable `@rsdoctor/*` packages under `packages/` (except `@rsdoctor/agent-cli`) are versioned together as a fixed group.

- Skill: `web-infra-dev/release-rsdoctor` (Agent Skill)
- Install (CLI): `npx skillmds@latest add web-infra-dev/release-rsdoctor`
- Raw SKILL.md: https://api.skillmd.com/api/skills/web-infra-dev/release-rsdoctor/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: web-infra-dev (https://skillmd.com/u/web-infra-dev)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/web-infra-dev/release-rsdoctor

---


# Release Rsdoctor

## Input

- Target version, for example `1.5.8`

If the version is missing, ask for it before making changes.

## Steps

1. Check the worktree with `git status --short`. If there are uncommitted edits, stop and ask the user how to proceed.

2. Create and switch to branch `release_v<version>` (underscore, not slash). If the branch already exists, stop and ask the user how to proceed.

3. Set every publishable package under `packages/` to the target version, except `@rsdoctor/agent-cli`:

   ```sh
   pnpm --filter './packages/*' \
     --filter '!@rsdoctor/agent-cli' \
     exec npm pkg set 'version=<version>'
   ```

   These packages always move together as a fixed group, even if only one package changed. Do not update private tooling workspaces outside `packages/`.

4. Regenerate the lockfile from the updated package manifests:

   ```sh
   pnpm install --lockfile-only
   ```

5. Review the diff. Confirm every package in the fixed group has exactly the target version, `@rsdoctor/agent-cli` is unchanged, and `pnpm-lock.yaml` is updated.

6. Commit with this exact message: `release: v<version>`

7. Push the branch, then create a GitHub PR with `gh pr create`. Use the same text for the PR title: `release: v<version>`

8. Read the repository's PR template when available and follow its current headings and guidance. Explain that the PR prepares release `v<version>` by updating the fixed group's package versions and lockfile. Include the release link: `https://github.com/web-infra-dev/rsdoctor/releases/tag/v<version>`.

