From openmole
Archives a completed OpenMole change after verifying completeness (no unresolved bad smells or incomplete tasks). Moves the change directory to archive and clears the current_change config.
How this skill is triggered — by the user, by Claude, or both
Slash command
/openmole:openmole-archiveThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
用户运行 `mole:archive`,当前 change 重构周期结束或需封存。
用户运行 mole:archive,当前 change 重构周期结束或需封存。
openmole/config.yaml → current_change{change_dir} = openmole/changes/{change_name}/current_change → 停止,无活跃 change 可归档{change_dir}/badsmells.md §2.0 — 不得有 未清除 / 部分残余(除非用户确认豁免){change_dir}/tasks.md §3 — 不得有 [ ] 未完成任务若有未完成项 → 列出 BS-ID / B-Txx → 必须 询问用户是否仍归档。
mv openmole/changes/<name> openmole/changes/archive/$(date +%Y-%m-%d)-<name>/
.openmole-change.yaml → status: archivedopenmole/config.yaml 清空 current_change清晰性、一致性、可读性、复用性、可扩展性、健壮性、安全性、简洁性。
每次 mole:apply 仅处理一个未完成任务。
七字段 + §2.0 状态:未清除 / 已消除 / 部分残余。
升版时 提交版本 = git rev-parse HEAD,未提交填 —。
归档完成后,建议执行 mole:explore 开始新的重构周期。
npx claudepluginhub agiledon/openmoleExecutes the next uncompleted B-Txx task in the current change by confirming bad smell alignment, supplementing tests, refactoring, and verifying regression test greens. Requires user confirmation before marking done.
Archives a completed change in the openspec experimental workflow, checking artifact and task completion, and optionally syncing delta specs before archiving.
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.