version-bump
Что он делает
Этот инструмент автоматически обновляет номер версии вашего проекта сразу в нескольких важных файлах. Он также создает тег для кода, генерирует примечания к релизу и публикует новую версию, чтобы ею могли пользоваться другие.
Когда использовать
- ✓Когда вы исправили ошибку и хотите отметить это.
- ✓Когда вы добавили в проект новую функцию.
- ✓Когда вы внесли крупное изменение, которое может сломать прежний способ использования.
Ссылка на скилл
https://github.com/thedotmack/claude-mem/blob/main/plugin/skills/version-bump/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Обнови версию моего проекта до следующего исправления ошибок.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Инструмент находит все места, где записан номер версии, обновляет его на новый, создает тег для этой версии в коде и публикует всё.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с GitHub.
Version Bump & Release Workflow
IMPORTANT: Plan and write detailed release notes before starting.
CRITICAL: Commit EVERYTHING (including build artifacts). At the end of this workflow, NOTHING should be left uncommitted or unpushed. Run git status at the end to verify.
Preparation
Analyze: Determine if the change is PATCH (bug fixes), MINOR (features), or MAJOR (breaking).
Environment: Identify repository owner/name from
git remote -v.Paths — every file that carries the version string:
package.json— the npm/npx-published version (npx claude-mem@X.Y.Zresolves from this)plugin/package.json— bundled plugin runtime deps.claude-plugin/marketplace.json— version insideplugins[0].version.claude-plugin/plugin.json— top-level Claude-plugin manifestplugin/.claude-plugin/plugin.json— bundled Claude-plugin manifest.codex-plugin/plugin.json— Codex-plugin manifestplugin/.codex-plugin/plugin.json— bundled Codex-plugin manifest.qoder-plugin/plugin.json— Qoder plugin manifestplugin/.qoder-plugin/plugin.json— bundled Qoder plugin manifestopenclaw/openclaw.plugin.json— OpenClaw plugin manifest.grok-plugin/plugin.json— Grok plugin manifestclaude-mem-cursor/.cursor-plugin/plugin.json— Cursor plugin manifestclaude-mem-grok-bot/.cursor-plugin/plugin.json— Grok Bot Cursor plugin manifestdsh/package.json— bundled DSH plugin packageREADME.md— the version badge (version-X.Y.Z-green), not a"version"key
Verify coverage before editing:
git grep -l "\"version\": \"<OLD>\""should list the fourteen JSON files above, andgit grep -n "version-<OLD>-green"the README badge. If a new manifest has been added since this doc was last updated, update this list.
Workflow
- Update: Increment the version string in every path above. Do NOT touch
CHANGELOG.md— it's regenerated. - Verify:
git grep -n "\"version\": \"<NEW>\""— confirm all fourteen JSON files match, and the README badge readsversion-<NEW>-green.git grep -n "\"version\": \"<OLD>\""— should return zero hits. - Build and sync:
npm run build-and-syncto regenerate artifacts, sync the local marketplace copy, restart the worker, and clear the queue. Do not use plainnpm run buildfor release validation because it can leave the local marketplace/worker out of sync. - Commit:
git add -A && git commit -m "chore: bump version to X.Y.Z". - Tag:
git tag -a vX.Y.Z -m "Version X.Y.Z". - Push:
git push origin main && git push origin vX.Y.Z. - GitHub release:
gh release create vX.Y.Z --title "vX.Y.Z" --notes "RELEASE_NOTES". - Changelog: Regenerate via the project's changelog script:
(Runsnpm run changelog:generatenode scripts/generate-changelog.js, which pulls releases from the GitHub API and rewritesCHANGELOG.md.) - Sync changelog: Commit and push the updated
CHANGELOG.md. - Pre-publish audit: Verify the release commit, tag, GitHub release, and
changelog are pushed; confirm the release worktree has no pending tracked
changes; and ensure its build dependencies are present because
prepublishOnlyrebuilds the package. Ifnpm view claude-mem@X.Y.Z versionalready resolves, skip the publish and continue with post-publish checks. - Publish to npm — the agent runs it. The old "human handoff" rule is
obsolete: the maintainer allows agents to publish. The token is a
30-day granular npm token (read/write on
claude-memonly, bypass 2FA) in the maintainer's Mac~/.npmrc; he issues a new one every month. It is deliberately NOT in any backup (grok-bot-backups excludes secrets), so do not go looking for it elsewhere. Publish from a clean worktree of the tag (inside the project's.scratch/) so uncommitted edits never ship:
Ifgit worktree add --detach .scratch/release-X.Y.Z vX.Y.Z cd .scratch/release-X.Y.Z && npm install --ignore-scripts npm whoami # must print thedotmack; 401 = token expired npm publish --access public # prepublishOnly rebuilds the packagenpm whoamifails, the monthly token has expired. Finish every other step, then: open https://www.npmjs.com/settings/thedotmack/tokens/granular-access-tokens/new
…
Частые вопросы
Что такое «семантическое версионирование»?
Это способ нумеровать версии (например, 1.0.0), который показывает тип изменений: PATCH для исправлений, MINOR для новых функций и MAJOR для несовместимых изменений.
Зачем обновлять версию в стольких файлах?
Разные файлы хранят версию в местах, где проект используется или публикуется, например в реестре пакетов (npm) и манифестах плагинов.
Что будет, если я заранее не сохраню все изменения?
Инструмент может работать некорректно или создать версию с устаревшим кодом, ведь он рассчитывает, что все изменения уже сохранены и готовы.
Подробности
Оригинальное описание автора
Automated semantic versioning and release workflow for Claude Code plugins. Handles version increments across package.json, marketplace.json, plugin.json manifests, build verification, git tagging, GitHub releases, and changelog generation. Ends with the agent running npm publish itself using the maintainer's npm token.
repo: thedotmack/claude-mem
Популярность
- Звёзды на GitHub
- 101k
- Место в рейтинге
- #1282
- Лицензия
- Apache-2.0
- Обновлён
- 15.10.2026
Комментарии
- …
Другие скиллы из этого репозитория
Agent Cost Report
101kАгент составляет подробные отчёты о расходах на свою работу: сколько ушло на токены и сервисы.
claude-mem-install
101kПомогает агенту настроить Claude-Mem в разных окружениях с локальными или удалёнными воркерами и наблюдением.
mem-search
101kАгент ищет в прошлых воспоминаниях, чтобы вспомнить прежние решения или работу из старых сессий.
host-observer
101kПомогает агенту отвечать на задачи наблюдателя Claude-Mem только «skip_summary» или полным XML-наблюдением.
Похожие скиллы
openclaw-update
394kПомогает агенту обновить уже работающий OpenClaw Gateway, выбрав способ обновления по тому, как он был установлен, и сохранив вашу сессию.
diagnose-gateway
394kПомогает агенту выяснить, почему ваш OpenClaw Gateway не работает, проверяя настройки, каналы и порты, но ничего не меняя.
crabbox-apps
394kПомогает агенту открыть и запустить приложение на временной облачной машине, а затем показать его вид на боковой панели чата.