Langsung ke konten
Skillpedia
Deploy & cloud (DevOps)11k Β· #11819

nexmoe-best-practices-release

Fungsinya

Skill ini memandu AI melalui rilis versi. Skill ini ditujukan bagi pengembang yang ingin nomor versi baru dan entri changelog diatur dalam satu langkah.

Kapan dipakai

  • βœ“Saat Anda meminta untuk merilis atau menaikkan versi sebuah proyek.
  • βœ“Ketika Anda ingin changelog dalam beberapa bahasa diperbarui bersama rilis.
  • βœ“Ketika Anda ingin melihat pratinjau rilis sebelum ada yang didorong.

Link skill

https://github.com/nexmoe/VidBee/blob/main/apps/desktop/.agents/skills/nexmoe-best-practices-release/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/nexmoe/VidBee/blob/main/apps/desktop/.agents/skills/nexmoe-best-practices-release/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œNaikkan versi proyek saya ke rilis minor berikutnya dan perbarui changelog.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

AI mencari file versi untuk jenis proyek Anda dan file changelog, lalu memperbaruinya dengan nomor versi baru. Skill ini tidak menangani commit atau pull request biasa.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

Nexmoe Release Best Practices

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

Quick Start

Just run /nexmoe-best-practices-release - 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 p

Pertanyaan umum

Apakah skill ini menangani commit dan pull request biasa?

Tidak. Skill ini hanya untuk rilis, bukan untuk commit cabang, push, atau pull request biasa.

Bagaimana skill ini tahu bahasa sebuah changelog?

Skill ini mendeteksi bahasa setiap changelog dari nama filenya, misalnya CHANGELOG_LANG.md.

Bisakah ia menampilkan apa yang akan diubah?

Bisa. Opsi dry-run menampilkan pratinjau perubahan tanpa menjalankannya.

Detail

Deskripsi asli dari pembuat

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", or asks to "push" / "ζŽ¨ι€" a release. Not for ordinary branch commits, pushes or PRs.

repo: nexmoe/VidBee

Popularitas

Bintang GitHub
11k
Peringkat
#11819
Lisensi
MIT
Diperbarui
1/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa