К основному содержанию
скилл Claude Code CX Codex Cursor GitHub Copilot

release · tobi — скилл для Claude Code: что делает и как установить

Скилл ведёт выпуск версии: проверяет changelog, ставит git-хуки, обновляет версии и готовит публикацию. Нужен для проекта с заданным release-процессом.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add tobi/qmd --skill release -a claude-code
Открыть на GitHub

Что делает release

Скилл запускает выпуск через /release <version> или /release patch. Он собирает состояние репозитория, коммиты и изменения, проверяет раздел [Unreleased], помогает оформить CHANGELOG.md, затем вызывает scripts/release.sh <version>. Скрипт обновляет версии в package.json и .claude-plugin/marketplace.json, создаёт коммит и тег.

Перед выпуском скилл предлагает проверить обновления sqlite-vec, платформенных пакетов, node-llama-cpp и better-sqlite3 через pnpm outdated. Зависимости должны иметь точные версии. После подготовки он показывает итоговый changelog и ждёт подтверждения перед git push origin main --tags.

Хуки ставятся скриптом контекста, вручную через skills/release/scripts/install-hooks.sh или при bun install. Pre-push блокирует отправку тегов v*, если версия, запись в changelog или состояние CI не совпадают. Это повод заранее проверить доступ к GitHub CI.

Какие задачи решает

  • проверить changelog перед выпуском версии
  • собрать коммиты и изменения для записи в релиз
  • обновить версии проекта и плагина
  • установить git-хуки для проверки тегов
  • дождаться подтверждения перед отправкой тегов

Примеры запросов агенту

  • Запусти `/release 1.0.5` и подготовь выпуск с проверкой changelog.
  • Выпусти следующую patch-версию через `/release patch`.
  • Проверь процесс выпуска и покажи итоговый changelog перед отправкой тегов.

Как установить release

1Через Skills CLI (Vercel)

npx skills add tobi/qmd --skill release -a claude-code

2Вручную: положить файлы

~/.claude/skills/release/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/release/

Из того же набора2

Весь набор →

Другие версии release

Похожие

hunt tw93 Ищет первопричину багов, падений и регрессий до правок кода. Запрещает менять файлы, пока проблема не доказана воспроизводимой проверкой. Claude Code CX Codex Cursor +1 14 900установок git-advanced-workflows Seth Hobson Скилл помогает править историю Git, переносить коммиты, искать источник бага и восстанавливать потерянные ветки. Подойдёт для сложных ветвлений и подготовки PR. Claude Code CX Codex Cursor 19 356установок paseo-handoff getpaseo Передаёт текущую задачу новому агенту вместе с контекстом, решениями и файлами. Пригодится, когда нужно продолжить работу в чистой сессии или в отдельном git worktree. Claude Code CX Codex Cursor +1 4 800установок voicestudio-maintainer debpalash Помогает сопровождать репозиторий VoiceStudio: разбирать задачи GitHub, проверять пуллреквесты, чинить упавшие тесты в CI и готовить релизы Electron-приложения. Не предназначен для генерации аудио. Claude Code CX Codex Cursor +1 795установок claude-security официальный Anthropic Проверяет репозиторий или свежие коммиты на уязвимости и готовит патчи для найденных проблем. Пригодится при аудите кода прямо в сессии Claude Code. Claude Code 2 304установок version-bump thedotmack Скилл проводит релиз плагина от выбора типа версии до публикации в npm. Нужен, когда нужно синхронизировать манифесты, собрать проект и выпустить тег. Claude Code CX Codex Cursor +1 1 800установок triage Matt Pocock Скилл проводит issue и внешние PR через роли триажа, проверку и подготовку брифа для агента. Подойдёт мейнтейнеру, который разбирает очередь задач. Claude Code 990 453установок code-review Matt Pocock Проверяет изменения от выбранной точки по стандартам репозитория и требованиям задачи. Нужен для ревью ветки, PR или незавершённой работы. Claude Code 789 521установок

Вопросы о release

Как установить release в Claude Code?

Выполните npx skills add tobi/qmd --skill release -a claude-code, затем повторите npx skills add tobi/qmd --skill release -a claude-code и проверьте файл ~/.claude/skills/release/SKILL.md.

Что делает release?

Скилл собирает контекст репозитория, проверяет changelog и зависимости, обновляет версии, создаёт коммит и тег. Перед отправкой в main он показывает итоговый changelog и запрашивает подтверждение.

Что проверяет pre-push-хук?

Он проверяет соответствие версии в package.json тегу, наличие записи версии в CHANGELOG.md и результат CI на GitHub.

Исходный текст

SKILL.md · MIT
---
name: release
description: Manage releases for this project. Validates changelog, installs git hooks, and cuts releases. Use when user says "/release", "release 1.0.5", "cut a release", or asks about the release process. NOT auto-invoked by the model.
disable-model-invocation: true
---

# Release

Cut a release, validate the changelog, and ensure git hooks are installed.

## Usage

`/release 1.0.5` or `/release patch` (bumps patch from current version).

## Process

When the user triggers `/release <version>`:

1. **Gather context** — run `skills/release/scripts/release-context.sh <version>`.
   This silently installs git hooks and prints everything needed: version info,
   working directory status, commits since last release, files changed, current
   `[Unreleased]` content, and the previous release entry for style reference.

2. **Commit outstanding work** — if the context shows staged, modified, or
   untracked files that belong in this release, commit them first. Use the
   /commit skill or make well-formed commits directly.

3. **Write the changelog** — if `[Unreleased]` is empty, write it now using
   the commits and file changes from the context output. Follow the changelog
   standard below. Re-run the context script after committing if needed.

4. **Check dependency updates** — before cutting the release, check for
   updates to `sqlite-vec` (and platform packages), `node-llama-cpp`,
   and `better-sqlite3`. Run `pnpm outdated` and report any available
   updates for these packages. If updates exist, bump them (pinned, no
   `^` ranges) and re-run tests before proceeding.

5. **Cut the release** — run `scripts/release.sh <version>`. This renames
   `[Unreleased]` → `[X.Y.Z] - date`, inserts a fresh `[Unreleased]`,
   bumps `package.json` and the plugin version in
   `.claude-plugin/marketplace.json` (so installed plugins see the update),
   commits, and tags.

6. **Show the final changelog** — print the full `[Unreleased]` +
   minor series rollup via `scripts/extract-changelog.sh <version>`.
   Ask the user to confirm before pushing.

7. **Push** — after explicit confirmation, run `git push origin main --tags`.

8. **Watch CI** — after the push, start a background dispatch to watch the
   publish workflow. Use `interactive_shell` in dispatch mode with:
   ```
   gh run watch $(gh run list --workflow=publish.yml --limit=1 --json databaseId --jq '.[0].databaseId') --exit-status
   ```
   The agent will be notified when CI completes and should report the result.

If any step fails, stop and explain. Never force-push or skip validation.

## Dependency Policy

All dependencies must be pinned to exact versions (no `^` or `~` ranges).
The lockfile ensures reproducible installs. When adding or updating any
dependency, always use the exact version string (e.g. `"3.18.1"` not
`"^3.18.1"`).

## Changelog Standard

The changelog lives in `CHANGELOG.md` and follows [Keep a Changelog](https://keepachangelog.com/) conventions.

### Heading format

- `## [Unreleased]` — accumulates entries between releases
- `## [X.Y.Z] - YYYY-MM-DD` — released versions

### Structure of a release entry

Each version entry has two parts:

**1. Highlights (optional, 1-4 sentences of prose)**

Immediately after the version heading, before any `###` section. The elevator
pitch — what would you tell someone in 30 seconds? Only for significant
releases; skip for small patches.

```markdown
## [1.1.0] - 2026-03-01

QMD now runs on both Node.js and Bun, with up to 2.7x faster reranking
through parallel contexts. GPU auto-detection replaces the unreliable
`gpu: "auto"` with explicit CUDA/Metal/Vulkan probing.
```

**2. Detailed changelog (`### Changes` and `### Fixes`)**

```markdown
### Changes

- Runtime: support Node.js (>=22) alongside Bun. The `qmd` wrapper
  auto-detects a suitable install via PATH. #149 (thanks @igrigorik)
- Performance: parallel embedding & reranking — up to 2.7x faster on
  multi-core machines.

### Fixes

- Prevent VRAM waste from duplicate context creation during concurrent
  `embedBatch` calls. #152 (thanks @jkrems)
```

### Writing guidelines

- **Explain the why, not just the what.** The changelog is for users.
- **Include numbers.** "2.7x faster", "17x less memory".
- **Group by theme, not by file.** "Performance" not "Changes to llm.ts".
- **Don't list every commit.** Aggregate related changes.
- **Credit contributors:** end bullets with `#NNN (thanks @username)` for
  external PRs. No need to credit the repo owner.

### What not to include

- Internal refactors with no user-visible effect
- Dependency bumps (unless fixing a user-facing bug)
- CI/tooling changes (unless affecting the release artifact)
- Test additions (unless validating a fix worth mentioning)

## GitHub Release Notes

Each GitHub release includes the full changelog for the **minor series** back
to x.x.0. The `scripts/extract-changelog.sh` script handles this, and the
publish workflow (`publish.yml`) calls it to populate the GitHub release.

## Git Hooks

The pre-push hook (`scripts/pre-push`) blocks `v*` tag pushes unless:

1. `package.json` version matches the tag
2. `CHANGELOG.md` has a `## [X.Y.Z] - date` entry for the version
3. CI passed on GitHub (warns in non-interactive shells, blocks in terminals)

Hooks are installed silently by the context script. They can also be installed
manually via `skills/release/scripts/install-hooks.sh` or automatically via
`bun install` (prepare script).

© tobi · MIT · tobi/qmd

Смотрите также

Спонсоры проекта

Компании, которые помогают держать аналитику открытой