AgentSkillsCN

manifest:release

将某个版本标记为已发布。当用户希望正式交付某个版本,或确认某一里程碑已圆满达成时,可使用此功能。

SKILL.md
--- frontmatter
name: manifest:release
description: Mark a version as released. Use when the user wants to ship a version or mark a milestone as complete.
disable-model-invocation: true
argument-hint: '[version name]'

Mark a version as released.

Arguments

$ARGUMENTS - Version name to release (e.g., "v0.2.0"). If blank, releases the "now" version.

Steps

  1. Get the project for the current working directory:

    • Call list_projects with directory_path set to the current working directory
    • If no project found, tell the user to run /manifest:init first
  2. Get versions:

    • Call list_versions with the project ID
  3. Find the version to release:

    If $ARGUMENTS is provided:

    • Find the version matching the name
    • If not found, list available versions

    If $ARGUMENTS is blank:

    • Use the "now" version (first unreleased)
    • If no unreleased versions, tell the user
  4. Show version status:

    code
    Releasing: [version name]
    
    Features in this version:
    - [Feature 1] (● implemented)
    - [Feature 2] (● implemented)
    - [Feature 3] (○ in_progress) ⚠️
    
    [N] features implemented, [M] still in progress.
    
  5. Confirm if there are incomplete features:

    code
    ⚠️ Some features are not yet implemented. Release anyway?
    
  6. Release the version:

    • Call release_version with the version ID
  7. Display result:

    code
    Released: [version name]
    
    [Next version name] is now the current focus ("now").