用途:为全栈工作流提供迭代与阶段状态管理,其他技能通过调用它读写 docs/history.json,避免直接管理状态。
主要能力:所有命令基于捆绑的跨平台 Python 3 脚本(支持 macOS 与 Windows),调用形式为 python ${CLAUDE_SKILL_DIR}/scripts/history_manager.py <command> [args]。可用命令包括:init(若不存在则初始化 docs/history.json);status(打印当前迭代状态,显示已完成阶段与下一阶段);new-iter(创建新迭代如 iter-001 及其 docs/iter-xxx/ 目录并设为当前);set-phase <phase> <phase_id>(将某阶段记录为已完成并推进到下一阶段);get-phase <phase>(获取指定阶段当前 id,未开始返回 null);check-file <phase> <phase_id>(检查当前迭代目录中该阶段文档是否存在,返回 exists:<path> 或 missing:<path>)。
有效阶段名:requirements、technology_selection、technical_review、program_design、task_breakdown、unit_testing、code_development、self_verification。
使用方式:技能在开始某阶段前调用 get-phase 与 check-file,若 id 与文件都存在则跳过;完成阶段后调用 set-phase 记录并推进状态机。dev-workflow 编排器在启动时调用 init、new-iter 和 status,然后把阶段状态更新委托给各阶段技能。
限制:资料未提供收费、价格、平台差异或额外功能信息。