Agent skill

Version Release

by NG-ZORRO in NG-ZORRO/ng-zorro-antd

NG-ZORRO/ng-zorro-antd repository release workflow. An agent skill from NG-ZORRO/ng-zorro-antd.

MITAuto-check passedDevelopment

Install Version Release

skills CLI
$ npx skills add NG-ZORRO/ng-zorro-antd --skill version-release -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install NG-ZORRO/ng-zorro-antd version-release --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/NG-ZORRO/ng-zorro-antd.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/version-release .claude/skills/version-release && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
version-release
GitHub stars
9.2k
Token cost
~3.1k tokens
SKILL.md length
1,612 words
Files
1
Skills in repo
7
Repo updated
First seen
Licence
MIT

At a glance

NG-ZORRO/ng-zorro-antd repository release workflow. An agent skill from NG-ZORRO/ng-zorro-antd.

  • Works in 6 steps: Use The Non-Interactive Prepare Mode → Version Bump → Changelog → …
  • The user mentions 发版
  • SKILL.md covers Scope, Key Project Facts, Before Acting and Preparing a Release PR As An…, plus 4 more sections
  • Calls npm, git and node; reaches github.com

What it does

Version Release is an agent skill from NG-ZORRO/ng-zorro-antd. NG-ZORRO/ng-zorro-antd repository release workflow. Use this skill whenever the user mentions 发版, 发布版本, release, release PR, stage-release, 升级版本号, changelog 发布准备, Azure publish, 部署官网, GitHub Release, or asks to prepare or execute an NG-ZORRO version release. This skill is project-specific and should be preferred over generic npm publish guidance.

Its SKILL.md is about 3.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Changelog and release notes. It works with npm, Ant Design, Microsoft Azure and GitHub. The repository describes itself as: Angular UI Component Library based on Ant Design. The licence is MIT.

When your agent uses it

  • The user mentions 发版
  • Asks to prepare
  • Execute an NG-ZORRO version release

Example prompts

  • “/version-release”

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Use The Non-Interactive Prepare Mode
  2. Version Bump
  3. Changelog
  4. API And Demo Version Tags
  5. Commit And Create The Release PR
  6. Leave Build, Publish, And Deploy To Azure

What it can do on your machine

Read from SKILL.md and the folder at commit 10a07e4. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npm
    • git
    • node

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Version Release loads about 3.1k tokens when it runs. Until then it costs about 91 tokens; SKILL.md has 1,612 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~91
When it runs · the whole SKILL.md, loaded when a task matches
~3.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from NG-ZORRO/ng-zorro-antd at commit 10a07e4, republished under its MIT licence (© NG-ZORRO). 1,612 words, ~3,118 tokens.

Download SKILL.mdSave it as .claude/skills/version-release/SKILL.md (or your agent's skills folder).
name
version-release
description
NG-ZORRO/ng-zorro-antd repository release workflow. Use this skill whenever the user mentions 发版, 发布版本, release, release PR, stage-release, 升级版本号, changelog 发布准备, Azure publish, 部署官网, GitHub Release, or asks to prepare or execute an NG-ZORRO version release. This skill is project-specific and should be preferred over generic npm publish guidance.

NG-ZORRO Version Release Guide

Scope

This skill is for the real release process of the NG-ZORRO/ng-zorro-antd repository. It is not a generic npm release checklist.

It covers:

  1. Preparing a release branch and release PR
  2. Using the agent-friendly stage-release prepare mode for local release file preparation
  3. Maintaining the root changelog and both documentation changelog files
  4. Publishing the npm package through the Azure release pipeline
  5. Deploying the documentation site through Azure
  6. Post-release follow-up such as GitHub Release, blog, and social announcements

Do not use this skill for unrelated changelog editing, normal feature PRs, or ad hoc package publishing outside the repository release process.

Key Project Facts

  • The root package.json version is 0.0.0-NOT-USED; do not treat it as the release version.
  • The library version lives in components/package.json.
  • The Angular version token is updated in components/version/version.ts.
  • The helper script is npm run stage-release, implemented by scripts/release/release.ts.
  • Running npm run stage-release with no subcommand starts the original interactive human workflow.
  • Agent work should use the non-interactive prepare mode: npm run stage-release -- prepare --version <version> --base <branch>.
  • Prepare mode only prepares local release files. It does not build, push, publish, or deploy.
  • Release PRs normally update three changelog files: CHANGELOG.md, docs/changelog.en-US.md, and docs/changelog.zh-CN.md.
  • The docs changelog format is not identical to CHANGELOG.md; preserve each file's existing frontmatter, intro text, headings, and style.
  • docs/changelog.zh-CN.md should be a Chinese translation of the public release notes, not a raw copy of the English text.
  • Build, library publishing, and site deployment are normally performed by Azure pipelines, not by local agent execution.
  • Official npm publishing is done from Azure after CI succeeds; do not default to local npm publish.

Before Acting

First inspect the repository state instead of guessing:

bash
git status --short
git branch --show-current
git remote -v
node -v
cat components/package.json
git tag --list | grep -v -E '(experimental|alpha|resource)' | sort -V | tail -20

Confirm:

  • The working tree is clean before running npm run stage-release.
  • A remote pointing at NG-ZORRO/ng-zorro-antd exists; the script auto-detects it as upstream.
  • The local Node version satisfies the root package.json engines.
  • The next version is greater than the current components/package.json version.

If the working tree has user changes, do not overwrite or stage them unless the user explicitly asks.

Preparing a Release PR As An Agent

Use this flow when the user asks to prepare a release, create a release PR, or bump a version.

1. Use The Non-Interactive Prepare Mode

Use:

bash
npm run stage-release -- prepare --version <version> --base <branch>

Examples:

bash
npm run stage-release -- prepare --version 21.3.2 --base v21
npm run stage-release -- prepare --version 22.0.0 --base master

Prepare mode:

  • Fetches the requested upstream base branch and tags.
  • Verifies the working tree is clean before writing files.
  • Verifies current HEAD is based on the requested base branch.
  • Detects the previous release tag from tags merged into that base branch.
  • Updates components/package.json.
  • Updates components/version/version.ts.
  • Runs npm run changelog.
  • Prints the changelog boundary and the PR base branch to use.
  • Does not run local build, push a release branch, publish npm, or deploy the site.

Use --dry-run to check the base branch and changelog boundary without writing files:

bash
npm run stage-release -- prepare --version 21.3.2 --base v21 --dry-run

The original interactive mode is still available for human releasers:

bash
npm run stage-release
2. Version Bump

Prepare mode updates the release version in:

  • components/package.json
  • components/version/version.ts

Use the version requested by the user if valid. If the user does not give a version, inspect the current version, recent tags, and pending release context before recommending one.

Allowed formats are x.y.z, x.y.z-alpha.n, x.y.z-beta.n, and x.y.z-rc.n.

Do not manually edit the root package.json release version.

3. Changelog

Prepare mode generates or refreshes changelog content by running:

bash
npm run changelog

In this repository, changelog content is generated into CHANGELOG.md and then processed for the site. That generated output is only the starting point.

Manually update and review all three changelog files:

  • CHANGELOG.md
  • docs/changelog.en-US.md
  • docs/changelog.zh-CN.md

Important formatting rules:

  • Keep CHANGELOG.md in its existing root changelog format.
  • Keep docs/changelog.en-US.md in the docs page format, including frontmatter and intro content.
  • Keep docs/changelog.zh-CN.md in the Chinese docs page format, including frontmatter and intro content.
  • Add the target release section near the top of each file, following the existing ## <version> and date layout in that file.
  • Do not blindly paste the same Markdown block into all three files; docs changelog files have their own page structure.

Review each release entry carefully:

  • Make sure the target version heading exists.
  • Make sure important PRs are represented and grouped sensibly.
  • Remove noise if needed.
  • Keep English wording suitable for public release notes.
  • Translate the Chinese changelog entries naturally in docs/changelog.zh-CN.md, preserving PR links, issue links, commit links, component scopes, and code identifiers.

Do not mark the changelog step complete until the English and Chinese release notes have both been reviewed.

4. API And Demo Version Tags

For every minor or major release, this is a required step after changelog review and before the release commit and PR. Review features introduced in the release range and add missing version tags to their existing API and demo documentation. Patch releases skip this step unless version-tag corrections are explicitly requested.

  • In components/<component>/doc/index.en-US.md and index.zh-CN.md, use the API table's Version / 版本 column. Add the column when absent, leaving unrelated rows empty and preserving existing version values. Keep table cells aligned, including empty global-config cells.
  • Mark a new API with its introduction version, for example 22.1.0. When only a new capability of an existing API is introduced, qualify the version: responsive object: 22.1.0 / 响应式对象:22.1.0. Do not imply the whole API is new.
  • In components/<component>/demo/<demo>.md, add version: <version> to the YAML frontmatter of demos introducing or newly demonstrating the feature. This is the demo version badge; preserve the existing order, titles, bilingual descriptions, and demo source code.
  • Use the actual introduction version from the release history. Preserve earlier version tags; bug fixes and unchanged APIs or demos do not receive a new feature version tag.
  • Keep this step limited to version columns and demo frontmatter. Preserve descriptions, types, defaults, examples, and general guide content. Additional explanations, API rewrites, or new demos belong to a separately requested documentation change.

Complete this step when each new feature's applicable API rows and demos have been checked, the English and Chinese version labels agree, and the diff contains only the intended tags and any necessary table formatting. Features without an applicable API row or demo need no new prose.

Show full SKILL.md (614 more words)Show less
5. Commit And Create The Release PR

Create a release branch:

bash
git checkout -b release/<version>

Stage only the release files that belong in the PR. Usually these are:

  • CHANGELOG.md
  • docs/changelog.en-US.md
  • docs/changelog.zh-CN.md
  • components/package.json
  • components/version/version.ts
  • Component API and demo Markdown files changed by the version-tagging step above

Use this commit message:

text
chore(release): release <version>

Push the release branch to the user's fork or configured origin, then create a PR.

Use the repository PR template at .github/PULL_REQUEST_TEMPLATE.md.

The PR base must match the --base value used during prepare. For example, if prepare was run with --base v21, create the PR against NG-ZORRO/ng-zorro-antd:v21, not master.

For the normal public release train, the PR target is usually master. For a maintenance release, use the matching maintenance branch only when explicitly requested.

6. Leave Build, Publish, And Deploy To Azure

Do not run local Build release, Push library release, or Push site release as the default agent flow. The local script contains these stages, but the expected project workflow is that Azure handles:

  • Building release artifacts
  • Publishing the npm package
  • Deploying the documentation website

If the user asks to run local build as an extra sanity check, run npm run build only after making it clear that this is validation, not the official publish/deploy path.

Azure Publishing And Site Deployment

Use this section only after the release PR has passed CI and the maintainer is ready to publish.

The project wiki says the official package publication happens through Azure:

  1. Open the Azure release pipeline.
  2. Enter the release.
  3. Click Publish to publish npm; approval is required.
  4. Click Deploy to update the website.

Do not run npm publish locally for the official NG-ZORRO package unless the maintainer explicitly overrides the normal Azure process.

For the website:

  • Prefer the Azure Deploy action.
  • The website may also update by cron.
  • Manual server login is an internal fallback, not the default agent action.

After Publishing

After npm publishing and site deployment:

  1. Merge the release PR to its target branch.
  2. Launch a GitHub Release at https://github.com/NG-ZORRO/ng-zorro-antd/releases.
  3. For major and minor versions, update the official blog at https://github.com/NG-ZORRO/blog.
  4. For major and minor versions, prepare a short social announcement with links to the website and release notes.

Patch releases usually do not require blog or social follow-up unless the user asks.

Safety Rules

  • Do not run npm publish as the default publishing path.
  • Do not start a release from a dirty working tree.
  • Do not overwrite user changes.
  • Do not guess the release branch if the user asks for a maintenance release; inspect branches and ask if ambiguous.
  • Do not drive the interactive npm run stage-release flow through build or push stages without explicit confirmation.
  • Do not create a release PR with a base branch different from the prepare --base value.
  • Do not create or push tags manually unless the maintainers explicitly request it.
  • Do not continue from a failed build, failed CI, or failed Azure publish step.

Agent Checklist

When assisting with an NG-ZORRO release:

  1. Inspect git state, remotes, Node version, current package version, and recent tags.
  2. Determine whether this is patch, minor, prerelease, or maintenance.
  3. Run npm run stage-release -- prepare --version <version> --base <branch>.
  4. Verify components/package.json, components/version/version.ts, CHANGELOG.md, docs/changelog.en-US.md, and docs/changelog.zh-CN.md.
  5. For minor and major releases, complete the required API and demo version-tag review above.
  6. Commit the release files on release/<version>.
  7. Create the release PR with .github/PULL_REQUEST_TEMPLATE.md, using the same base branch passed to prepare --base.
  8. Stop after PR creation unless the user explicitly asks to proceed with Azure publishing.
  9. For official publishing, use Azure Publish and Deploy; do not default to local npm publish.
  10. Complete post-release GitHub Release, blog, and announcement tasks when applicable.

© NG-ZORRO, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/version-release of NG-ZORRO/ng-zorro-antd.

Open the folder on GitHubat commit 10a07e4

Compare with similar skills

Version Release next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Version Release compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Version Release this skillNG-ZORRO/ng-zorro-antd9.2k—~3.1kAutomated safety check: PassMIT
Ant Design Mobile Releaseant-design/ant-design-mobile12k—~497Automated safety check: PassMIT
Cutting A ReleaseTriliumNext/Trilium38k—~3.2kAutomated safety check: PassAGPL-3.0
Verdaccio Pull Request Workflowverdaccio/verdaccio18k—~1.9kAutomated safety check: PassMIT
Hunk Release Workflowmodem-dev/hunk9.5k—~3.8kAutomated safety check: PassMIT
Release Roundethereumjs/ethereumjs-monorepo2.8k—~2kAutomated safety check: PassNone

Similar skills

  • Ant Design Mobile Release

    ant-design/ant-design-mobile

    Prepares an npm release of ant-design-mobile up to the version commit, then tags and publishes the GitHub Release after you run the publish command yourself.

    12k GitHub stars~497 tokensUpdated 24 days ago
    DevelopmentAuto-check passed
  • Cutting A Release

    TriliumNext/Trilium

    A skill your agent uses when cutting, preparing, or debugging a Trilium release — bumping the monorepo version, tagging, or diagnosing a failed "Release" workflow run.

    38k GitHub stars~3.2k tokensUpdated today
    DevelopmentAuto-check passed
  • Takes a change through a verdaccio pull request: branch, local checks, changeset, title and body, labels, CI and review rounds, and ports to other release lines.

    18k GitHub stars~1.9k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Hunk Release Workflow

    modem-dev/hunk

    Maintainer workflow for preparing, publishing, verifying and curating Hunk releases, with confirmation gates before tags, publishes and public edits.

    9.5k GitHub stars~3.8k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Release Round

    ethereumjs/ethereumjs-monorepo

    Runs a coordinated EthereumJS npm release round in six human-gated phases — intent and readiness, CHANGELOG, version bump, publish (human executes), post-publish verification, and announcements.

    2.8k GitHub stars~2k tokensUpdated 20 days ago
    DevelopmentAuto-check passed
  • Ccb GitHub

    SeemSeam/claude_codex_bridge

    Maintain this CCB project's GitHub-facing release and npm publication surface.

    3.6k GitHub stars~4.9k tokensUpdated today
    DevelopmentAuto-check passed

More from NG-ZORRO/ng-zorro-antd

  • Feature Sync

    NG-ZORRO/ng-zorro-antd

    Sync an Ant Design React component or feature into NG-ZORRO.

    9.2k GitHub stars~840 tokensUpdated today
    Auto-check passed
  • Changelog Collect

    NG-ZORRO/ng-zorro-antd

    Collect and draft NG-ZORRO changelog entries between releases or branches.

    9.2k GitHub stars~443 tokensUpdated today
    Auto-check passed
  • Create PR

    NG-ZORRO/ng-zorro-antd

    Prepare or create an NG-ZORRO pull request using the repository template.

    9.2k GitHub stars~600 tokensUpdated today
    Auto-check passed
  • Issue Reply

    NG-ZORRO/ng-zorro-antd

    Triage and draft replies for NG-ZORRO GitHub issues. An agent skill from NG-ZORRO/ng-zorro-antd.

    9.2k GitHub stars~485 tokensUpdated today
    Auto-check passed
  • Commit Msg

    NG-ZORRO/ng-zorro-antd

    Generate a conventional commit message for staged NG-ZORRO changes.

    9.2k GitHub stars~367 tokensUpdated today
    Auto-check passed
  • Test Review

    NG-ZORRO/ng-zorro-antd

    Review the value of NG-ZORRO tests. An agent skill from NG-ZORRO/ng-zorro-antd.

    9.2k GitHub stars~425 tokensUpdated today
    Auto-check passed

Categories

Questions about Version Release

What does Version Release do?

NG-ZORRO/ng-zorro-antd repository release workflow. An agent skill from NG-ZORRO/ng-zorro-antd. Version Release is an agent skill from NG-ZORRO/ng-zorro-antd. NG-ZORRO/ng-zorro-antd repository release workflow.

When should I use Version Release?

Version Release fits situations like: the user mentions 发版; asks to prepare; execute an NG-ZORRO version release.

How do I install Version Release in Claude Code?

Run `npx skills add NG-ZORRO/ng-zorro-antd --skill version-release -a claude-code`. Or copy the skill folder (.agents/skills/version-release in NG-ZORRO/ng-zorro-antd) into .claude/skills/version-release in your project. Claude Code loads it when a task matches its description.

How do I install Version Release in Codex?

Run `npx skills add NG-ZORRO/ng-zorro-antd --skill version-release -a codex`. Or copy the skill folder (.agents/skills/version-release in NG-ZORRO/ng-zorro-antd) into .agents/skills/version-release in your project. Codex loads it when a task matches its description.

Can I use Version Release in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add NG-ZORRO/ng-zorro-antd --skill version-release -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/version-release, .gemini/skills/version-release, .github/skills/version-release and .opencode/skills/version-release in your project.

What does Version Release need to run?

Going by SKILL.md and its folder, Version Release needs the command-line tools its instructions call (npm, git and node).

Does Version Release access the network?

SKILL.md names 1 domain. In commands or code: github.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Version Release safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Version Release use?

Version Release is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Version Release use?

About 3.1k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Version Release?

Skills that share tags, products or a category with Version Release: Ant Design Mobile Release (ant-design/ant-design-mobile, 12k stars), Cutting A Release (TriliumNext/Trilium, 38k stars), Verdaccio Pull Request Workflow (verdaccio/verdaccio, 18k stars) and Hunk Release Workflow (modem-dev/hunk, 9.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Version Release?

NG-ZORRO (a GitHub organization) maintains it in NG-ZORRO/ng-zorro-antd, which has 9,179 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 8, 2026.

Source: NG-ZORRO/ng-zorro-antd on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.