From openmole
Executes 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.
How this skill is triggered — by the user, by Claude, or both
Slash command
/openmole:openmole-applyThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
用户运行 `mole:apply`,且当前 change 有未完成任务。
用户运行 mole:apply,且当前 change 有未完成任务。
openmole/config.yaml → current_change{change_dir} = openmole/changes/{change_name}/current_change → 停止,提示先 mole:explore{change_dir}/tasks.md §3[ ] 的 B-Txx,依赖均已 [x]| 步骤 | 动作 |
|---|---|
| ① | 确认 BS-ID 与 badsmells 一致 |
| ② | 补测(pytest/JUnit 等) |
| ③ | 测绿 |
| ④ | 重构([SDD] 须先确认 SDD 已修订) |
| ⑤ | 回归测绿 |
| ⑥ | 用户确认 |
{change_dir}/tasks.md 标记 [x]{change_dir}/badsmells.md §2.0mole:applymole:archive 归档此 change清晰性、一致性、可读性、复用性、可扩展性、健壮性、安全性、简洁性。
每次 mole:apply 仅处理一个未完成任务。
七字段 + §2.0 状态:未清除 / 已消除 / 部分残余。
升版时 提交版本 = git rev-parse HEAD,未提交填 —。
npx claudepluginhub agiledon/openmoleGenerates tasks.md from unresolved or partially resolved bad smells in an OpenMole change directory. Used after analysis to decompose remaining issues into actionable steps.
Implements tasks from an OpenSpec change, guiding you through selecting a change, reading context files, and marking tasks complete.
Revises OpenSpec change tasks when blocked or scope drifts >20%. Analyzes impact, proposes minimal revisions with blocker details, and applies after user approval.