Agent Skills › MageByte-Zero/spec-superflow › release-archivist

release-archivist

GitHub

用于在实现完成、验证进行中或用户请求最终收尾时,关闭 Spec-Superflow 变更。执行验证、生成摘要并确保归档就绪,支持风险接受及热修复等路径的状态流转与审计。

skills/release-archivist/SKILL.md MageByte-Zero/spec-superflow

Trigger Scenarios

实现已完成 正在进行验证 用户请求最终收尾

Install

npx skills add MageByte-Zero/spec-superflow --skill release-archivist -g -y
More Options

Use without installing

npx skills use MageByte-Zero/spec-superflow@release-archivist

指定 Agent (Claude Code)

npx skills add MageByte-Zero/spec-superflow --skill release-archivist -a claude-code -g -y

安装 repo 全部 skill

npx skills add MageByte-Zero/spec-superflow --all -g -y

预览 repo 内 skill

npx skills add MageByte-Zero/spec-superflow --list

SKILL.md

Frontmatter
{
    "name": "release-archivist",
    "description": "Close out a spec-superflow change with verification, summary, and archive readiness. Invoke when implementation is complete, verification is underway, or the user asks for a final wrap-up."
}

Release Archivist

Bundled runtime

Before executing a CLI line below, replace its leading SSF with node "<plugin-root>/scripts/spec-superflow.mjs"; <plugin-root> is the absolute directory two levels above this file. Never run SSF literally or call an ssf from PATH.

Read SSF resume <change-dir> --json. In executing, complete verification and logical closure. In closing, perform only recorded pending physical finish, if merging is authorized. abandoned or a completed finish requires no work. Other states route through workflow-start.

New direct/planned changes

Use SSF workflow complete <dir> --verification-command "<required check command>". It runs final verification once; do not run the identical full suite immediately before invoking it. Planned execution additionally checks completed tasks, current full-range/wave review and any delta-spec publication. Direct execution needs no plan or review receipt. Ordinary failures stay in executing for focused repair. Do not add DP-6/DP-7 or another approval to authorized code delivery.

If the user explicitly accepts unfinished work or failed verification, use SSF workflow complete <dir> --accept-risk --confirm --reason "<decision and remaining issues>". Preserve every failure and report accepted-risk, not verified success. This ends code delivery without merging or deleting the branch. A plain closing transition cannot bypass failed checks. For verified work, physical integration remains a separate authorized operation. The remaining closure steps are legacy compatibility.

Bounded paths

Quick/direct Hotfix/Tweak record changed files, focused command and result, persist test_result: pass, then transition to closing. Hotfix must prove the original symptom fixed. Lightweight also needs its receipt's focused review and passing verification evidence. These paths require no contract, execution plan, wave reviews, audit, DP-6/DP-7 or SSF finish.

Full / legacy Hotfix

  1. Verify the final code snapshot with required build/test/validation commands. Reuse fresh results only when the code, environment and command are identical; don't rerun the same full suite just because the skill changed.
  2. Check contract coverage, design consistency, scope and unresolved findings against the actual diff. Cite commands/results; do not infer success from edits or unchecked claims.
  3. Require the current plan's review policy: one final whole-range review for Native final, or the required wave receipts for wave/legacy plans. Do not request a duplicate review of unchanged evidence.
  4. Synchronize actual delta specs using spec-merger while executing. If specs were explicitly omitted and no delta exists, don't recreate them.
  5. Run SSF audit <dir> and record verification outcome (dp_6_result, timestamp and test_result). Record DP-7 only with the user's archive authorization already obtained or explicitly requested. Do not fabricate missing decisions.
  6. With blockers resolved, run SSF state transition <dir> closing. This is logical closure; it does not claim merge or cleanup succeeded.

Report only the outcome, key verification, unresolved risks and next action. Preserve the approved contract and implementation evidence; don't copy all planning files into a second summary.

Physical finish

For authorized Full/legacy Hotfix integration, run SSF finish <dir> [--test-cmd <command>]. It uses recorded target checkout/branch, merges if necessary, verifies the target, and safely removes isolation. It verifies an archive of ignored change artifacts and preserves the previous target before cleanup. It never force-removes uncommitted work. Branch-only isolation never deletes the checkout.

Verification failure preserves isolation. For recorded verify-pending, recovery offers the guarded closing -> debugging transition; diagnose, repair within approved scope, reverify and review before closing again. Completed finish and abandoned changes cannot reopen. Cleanup failure remains cleanup-pending. Resume performs the remaining steps; each unfinished finish retry verifies once again because ignored dependencies, local configuration and external services may have changed even at the same HEAD. Completed finish does not rerun verification. Completed finish is idempotent. A missing or ambiguous target is a real blocker: recover provenance before merging, never guess the target from the current directory.

If the user requested branch delivery without merging, leave the branch/worktree intact and report that status. Do not treat logical closure as permission to merge, push or release.

Use SSF state set <change-dir> dp_6_timestamp now and SSF state set <change-dir> dp_7_timestamp now when recording those decisions.

Version History

  • 25d9b0c Current 2026-09-27 12:49

    修复技能绑定 CLI 运行时问题,将 SSF 替换为 node 脚本调用。

  • 10d5f08 2026-09-22 02:00

    重构执行流以简化工作流,新增直接/计划执行路径,优化恢复逻辑并默认使用 Native 执行,修复 Windows 兼容性问题。

  • 1bf565a 2026-09-02 22:23

    修复轻量路径卡死、worktree隔离、review凭证死锁及finish收尾等系统性缺陷,增强状态跟踪与收口流程的稳定性。

  • fd8cf86 2026-08-04 19:02
  • 9105098 2026-08-02 21:57

    简化了状态检查命令,移除了具体的包版本依赖(npx --yes --package spec-superflow@0.12.1),改为通用调用方式。

  • 1970fe7 2026-07-30 20:20

Same Skill Collection

skills/bug-investigator/SKILL.md
skills/build-executor/SKILL.md
skills/code-reviewer/SKILL.md
skills/contract-builder/SKILL.md
skills/need-explorer/SKILL.md
skills/spec-merger/SKILL.md
skills/spec-writer/SKILL.md
skills/workflow-start/SKILL.md

Metadata

Files
0
Version
25d9b0c
Hash
6fc33647
Indexed
2026-07-30 20:20

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-29 03:24
浙ICP备14020137号-1