Chuyển đến nội dung
Skillpedia
Triển khai và đám mây (DevOps)11k · #11818

release-pro-max

Skill này làm gì

Skill này hướng dẫn AI qua một đợt phát hành phần mềm. Skill tìm file phiên bản và changelog, tăng số phiên bản và chuẩn bị bản phát hành. Skill dành cho lập trình viên công bố phiên bản mới của ứng dụng hoặc thư viện.

Khi nào nên dùng

  • ✓Khi bạn muốn công bố phiên bản mới của một dự án Node.js, Python, Rust hoặc dự án khác.
  • ✓Khi bạn muốn tăng số phiên bản và cập nhật changelog cùng lúc.
  • ✓Khi bạn muốn xem trước các bước phát hành trước khi bất cứ thứ gì được đẩy đi.

Liên kết skill

https://github.com/nexmoe/VidBee/blob/main/.agents/skills/release-pro-max/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/nexmoe/VidBee/blob/main/.agents/skills/release-pro-max/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Phát hành phiên bản mới cho dự án của tôi và cho tôi xem trước các thay đổi đã lên kế hoạch để tôi kiểm tra.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

AI nhận diện loại dự án, đọc file phiên bản và các file changelog, rồi tăng số phiên bản. Tùy chọn chạy thử (dry-run) hiển thị các thay đổi đã lên kế hoạch trước khi bất kỳ điều gì được thực thi.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Release Skills

Universal release workflow supporting any project type with multi-language changelog.

Quick Start

Just run /release-pro-max - auto-detects your project configuration.

Supported Projects

Project Type Version File Auto-Detected
Node.js package.json ✓
Python pyproject.toml ✓
Rust Cargo.toml ✓
Claude Plugin marketplace.json ✓
Generic VERSION / version.txt ✓

Options

Flag Description
--dry-run Preview changes without executing
--major Force major version bump
--minor Force minor version bump
--patch Force patch version bump

Workflow

Step 1: Detect Project Configuration

  1. Check for .releaserc.yml (optional config override)
  2. Auto-detect version file by scanning (priority order):
    • package.json (Node.js)
    • pyproject.toml (Python)
    • Cargo.toml (Rust)
    • marketplace.json or .claude-plugin/marketplace.json (Claude Plugin)
    • VERSION or version.txt (Generic)
  3. Scan for changelog files using glob patterns:
    • CHANGELOG*.md
    • HISTORY*.md
    • CHANGES*.md
  4. Identify language of each changelog by filename suffix
  5. Display detected configuration

Language Detection Rules:

Changelog files follow the pattern CHANGELOG_{LANG}.md or CHANGELOG.{lang}.md, where {lang} / {LANG} is a language or region code.

Pattern Example Language
No suffix CHANGELOG.md en (default)
_{LANG} (uppercase) CHANGELOG_CN.md, CHANGELOG_JP.md Corresponding language
.{lang} (lowercase) CHANGELOG.zh.md, CHANGELOG.ja.md Corresponding language
.{lang-region} CHANGELOG.zh-CN.md Corresponding region variant

Common language codes: zh (Chinese), ja (Japanese), ko (Korean), de (German), fr (French), es (Spanish).

Output Example:

Project detected:
  Version file: package.json (1.2.3)
  Changelogs:
    - CHANGELOG.md (en)
    - CHANGELOG.zh.md (zh)
    - CHANGELOG.ja.md (ja)

Step 2: Analyze Changes Since Last Tag

LAST_TAG=$(git tag --sort=-v:refname | head -1)
git log ${LAST_TAG}..HEAD --oneline
git diff ${LAST_TAG}..HEAD --stat

Categorize by conventional commit types:

Type Description
feat New features
fix Bug fixes
docs Documentation
refactor Code refactoring
perf Performance improvements
test Test changes
style Formatting, styling
chore Maintenance (skip in changelog)

Note: This categorization is for internal analysis only. When writing changelog entries (Step 4), ALL descriptions must be rewritten in user-facing language. See Step 4 writing guidelines.

Breaking Change Detection:

  • Commit message starts with BREAKING CHANGE
  • Commit body/footer contains BREAKING CHANGE:
  • Removed public APIs, renamed exports, changed interfaces

If breaking changes detected, warn user: "Breaking changes detected. Consider major version bump (--major flag)."

Step 3: Determine Version Bump

Rules (in priority order):

  1. User flag --major/--minor/--patch → Use specified
  2. BREAKING CHANGE detected → Major bump (1.x.x → 2.0.0)
  3. feat: commits present → Minor bump (1.2.x → 1.3.0)
  4. Otherwise → Patch bump (1.2.3 → 1.2.4)

Display version change: 1.2.3 → 1.3.0

Step 4: Generate Multi-language Changelogs

For each detected changelog file:

  1. Identify language from filename suffix
  2. Detect third-party contributors:
    • Check merge commits: git log ${LAST_TAG}..HEAD --merges --pretty=format:"%H %s"
    • For each merged PR, identify the PR author via gh pr view <number> --json author --jq '.author.login'
    • Compare against repo owner (gh repo view --json owner --jq '.owner.login')
    • If PR author ≠ repo owner → third-party contributor
  3. Generate content in that language:
    • Section titles in target language
    • Change descriptions written naturally in target language (not translated)
    • Date format: YYYY-MM-DD (universal)
    • Third-party contributions: Append contributor attribution (by @username) to the changelog entry
  4. Insert at file head (preserve existing content)

⚠️ CRITICAL: User-Facing Writing Guidelines

Changelog is written for end users, NOT developers. Every entry must describe what changed from the user's perspective and highlight th

Câu hỏi thường gặp

Những loại dự án nào được hỗ trợ?

Hỗ trợ Node.js, Python, Rust, plugin Claude và các dự án chung có file VERSION hoặc version.txt.

Tôi có thể xem trước trước khi nó thay đổi gì không?

Có. Tùy chọn dry-run hiển thị các thay đổi đã lên kế hoạch mà không thực thi chúng.

Tôi có thể ép tăng phiên bản major, minor hoặc patch không?

Có. Các cờ cho phép bạn ép tăng phiên bản major, minor hoặc patch.

Chi tiết

Mô tả gốc của tác giả

Universal release workflow. Auto-detects version files and changelogs. Supports Node.js, Python, Rust, Claude Plugin, and generic projects. Use when user says "release", "发布", "new version", "bump version", "push", "推送".

repo: nexmoe/VidBee

Độ phổ biến

Sao GitHub
11k
Vị trí xếp hạng
#11818
Giấy phép
MIT
Cập nhật
1/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự