AgentSkillsCN

release

统筹发布流程——测试、文档编写与版本标记。适用于新版本发布前的准备工作时使用。

SKILL.md
--- frontmatter
name: release
description: Orchestrates the release process - Testing, Documentation, and Tagging. Use when preparing a new version release.
argument-hint: "[version number]"
disable-model-invocation: true
allowed-tools: Bash(npm:*), Bash(git:*)

Release

Orchestrate the complete release process.

  1. Preparation:

    • Identify the version number to release (from argument or package.json).
  2. Step 1: Verify (QA):

    • Load the qa-specialist agent.
    • Run available tests: npm run test (or equivalent).
    • STOP if tests fail.
  3. Step 2: Document (Writer):

    • Load the technical-writer agent.
    • Check CHANGELOG.md.
    • Add an entry for the new version if missing, summarizing recent commits.
  4. Step 3: Tag (Git):

    • Commit changes: git add . && git commit -m "chore(release): v<VERSION>"
    • Create tag: git tag v<VERSION>
  5. Completion:

    • Notify the user that the release v<VERSION> is ready to be pushed.