Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

auto-release-manager

БесплатноЗапускает вложенные скриптыНе проверен

Automate version updates and releases for any project type (Node.js, Python, Rust, Unity, Unreal, etc.). Detect project type, update version files, generate…

Dev-GOMот Dev-GOM★ 97 звёзд на GitHub

Об этом скилле

Auto Release Manager

Automate the entire release workflow for any project type with intelligent project detection and cross-platform support.

Purpose

This skill streamlines version management across different project types by:

  • Automatically detecting project type (Node.js, Python, Rust, Unity, Unreal, etc.)
  • Updating version files in appropriate formats (JSON, TOML, YAML, Unity assets)
  • Generating CHANGELOG from git commit history
  • Handling git operations (commit, tag, push) with OS compatibility
  • Supporting game engine specific workflows (Unity version.json ← → ProjectSettings.asset sync)

When to Use

Use this skill when:

  • Releasing a new version of any project
  • User requests "update version", "create release", "bump version"
  • Need to handle versions across multiple files (e.g., Unity's dual-file approach)
  • Want automated CHANGELOG generation from commits
  • Working with game engine projects (Unity, Unreal)

Example user requests:

  • "Bump patch version and create release"
  • "Update to v2.1.0"
  • "Create Unity release with version 1.5.0"
  • "Generate CHANGELOG and commit"

Workflow

Step 1: Detect Project Type

Start by running the project detection script to identify the project type and version files:

python -X utf8 scripts/detect_project.py .

The script returns JSON with:

{
  "project_type": "unity",
  "version_files": [
    "version.json",
    "ProjectSettings/ProjectSettings.asset"
  ],
  "detected_version": "1.2.3"
}

Supported project types:

  • nodejs - Node.js (package.json)
  • python - Python (pyproject.toml, setup.py)
  • rust - Rust (Cargo.toml)
  • go - Go (VERSION file)
  • unity - Unity (version.json + ProjectSettings.asset)
  • unreal - Unreal Engine (.uproject)
  • claude-plugin - Claude Code Plugin (plugin.json)
  • generic - Generic project (VERSION file)

Step 2: Determine New Version

Calculate the new version based on update type:

Semantic Versioning (MAJOR.MINOR.PATCH):

  • PATCH (x.x.X): Bug fixes
  • MINOR (x.X.0): New features (backward compatible)
  • MAJOR (X.0.0): Breaking changes

Examples:

  • 1.2.3 → 1.2.4 (patch)
  • 1.2.3 → 1.3.0 (minor)
  • 1.2.3 → 2.0.0 (major)

If user specifies version directly (e.g., "v2.1.0"), use that version.

Step 3: Update Version Files

Use the universal version updater to update all detected files:

python -X utf8 scripts/update_version.py <file1> <file2> ... <new_version>

Example for Node.js:

python -X utf8 scripts/update_version.py package.json 1.3.0

Example for Unity (multiple files):

python -X utf8 scripts/update_version.py version.json ProjectSettings/ProjectSettings.asset 1.3.0

Unity-specific: After updating version.json, sync to ProjectSettings.asset:

python -X utf8 scripts/sync_unity_version.py

This ensures version.json is the single source of truth.

Step 4: Generate CHANGELOG (Optional)

If user wants CHANGELOG updates or it's part of the workflow:

python -X utf8 scripts/changelog_generator.py <new_version> [since_tag] [changelog_path]

Examples:

# Generate from last tag to HEAD
python -X utf8 scripts/changelog_generator.py 1.3.0 v1.2.3

# Generate from all commits
python -X utf8 scripts/changelog_generator.py 1.3.0

# Custom CHANGELOG path
python -X utf8 scripts/changelog_generator.py 1.3.0 v1.2.3 CHANGELOG.ko.md

The script parses Conventional Commits and groups by type:

  • feat: → Added
  • fix: → Fixed
  • refactor: → Changed
  • docs: → Documentation

Step 5: Git Operations

Ask user which git operations to perform using AskUserQuestion tool:

Tool constraints:

  • Header: "Git 작업" (6 characters ✅)
  • Options: 3 options (within 2-4 range ✅)
  • multiSelect: false

Options:

  1. "커밋만" (label: 2 words ✅)

    • Description: "버전 업데이트를 커밋만 합니다. 태그와 푸시는 나중에 직접 처리하겠습니다."
    • Action: Commit only
  2. "커밋+태그" (label: 2 words ✅)

    • Description: "커밋과 태그를 생성합니다. 푸시는 나중에 직접 하겠습니다."
    • Action: Commit + Create tag
  3. "전체" (label: 1 word ✅)

    • Description: "커밋, 태그 생성, 푸시까지 모든 작업을 자동으로 처리합니다. (권장)"
    • Action: Commit + Tag + Push

Based on user selection:

Commit:

python -X utf8 scripts/git_operations.py commit "chore: bump version to <VERSION>

Version updates:
- Updated <files> to <VERSION>

🤖 Generated with Claude Code
Co-Authored-By: Claude <[email protected]>"

Create Tag:

python -X utf8 scripts/git_operations.py tag v<VERSION> "Release v<VERSION>"

Push (branch + tags):

python -X utf8 scripts/git_operations.py push
python -X utf8 scripts/git_operations.py push-tags

Step 6: GitHub Release (Optional)

If user wants GitHub release, use gh CLI:

gh release create v<VERSION> \
  --title "v<VERSION> - <Title>" \
  --notes "<Release notes from CHANGELOG>"

Project-Specific Workflows

Unity Workflow

Unity projects require special handling due to dual-file approach:

  1. Detect Unity project (Projec
Полный SKILL.md на GitHub

Установить auto-release-manager в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Bash
Read
Write

Вложенные файлы

assets/CHANGELOG.md.templateassets/version.json.templatereferences/project-types.mdreferences/unity-guide.mdreferences/unreal-guide.mdscripts/changelog_generator.pyscripts/detect_project.pyscripts/git_operations.pyscripts/sync_unity_version.pyscripts/update_version.py

FAQ

Что делает скилл auto-release-manager?

Automate version updates and releases for any project type (Node.js, Python, Rust, Unity, Unreal, etc.). Detect project type, update version files, generate CHANGELOG, and handle git operations with cross-platform support.

Как установить скилл auto-release-manager?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл auto-release-manager запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить auto-release-manager с