‹ 首页

dev-cancel

@evolution-foundation · 收录于 5 天前 · 上游提交 2 个月前

Cleanly stop an active engineering layer flow (dev-autopilot, dev-deep-interview, dev-plan) and report what was completed. Use when the user says "cancel", "stop", "abort", "cancelomc", or wants to exit a multi-phase dev workflow.

适合你,如果你需要干净地中断多阶段开发工作流

/ 通过 npx 安装 校验哈希
npx oh-my-skill add evolution-foundation/evo-nexus/dev-cancel
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- evolution-foundation/evo-nexus/dev-cancel
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify evolution-foundation/evo-nexus/dev-cancel
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
509GitHub stars
~762上下文体积 · 单文件
索引托管

怎么用

商店整理自技能原文 · 版本 7f5dd76 · 表述以原文为准
它做什么

当你说“取消”或“停止”时,Claude会立即停止正在进行的工程工作流(如自动编程、深度访谈、计划),并生成一份结构化报告,显示已完成、进行中和未开始的任务,同时保留所有工作文件以便后续继续。

什么时候触发

当你说出“cancel”、“stop”、“abort”或“cancelomc”等触发词,或者想要退出多阶段开发流程(如自动编程、深度访谈)时触发。

装好后可以这样说
Claude会停止工作并生成取消报告。
适用于dev-plan阶段的取消。
Claude会终止任务但不删除任何文件。
技能原文 SKILL.md作者撰写 · Apache-2.0 · 7f5dd76

Dev Cancel

Derived from oh-my-claudecode (MIT, Yeachan Heo). Adapted for the EvoNexus Engineering Layer — simplified, runtime-free version.

Use When
  • User says "cancel", "stop", "abort", "cancelomc", "stopomc"
  • Multi-phase workflow (dev-autopilot, dev-deep-interview, dev-plan, dev-ralplan) is active and the user wants to exit
  • Context indicates a long-running dev orchestration that needs a clean stop
Do Not Use When
  • No engineering layer flow is active — just respond conversationally
  • The user is canceling a single tool call (Claude Code already handles that)
  • The user wants to pause/resume → use the workflow's own pause mechanism instead
Goal

Stop the active flow cleanly and give the user a structured summary of:

  1. What was completed before cancel
  2. What was in progress at cancel time
  3. What was not started
  4. Where the artifacts live (spec, plan, code) so the user can resume manually
  5. Recommended next step
Workflow
1. Detect Active Flow

Look at recent context for signals:

  • dev-autopilot was invoked → multi-phase pipeline active
  • dev-deep-interview was invoked → interview loop active
  • dev-plan was invoked → planning session active
  • A @compass-planner, @bolt-executor, etc. agent was running
2. Stop the Flow
  • Do NOT call any further agents
  • Do NOT continue any in-progress phase
  • Do NOT delete artifacts (specs, plans, partial code) — preserve for user inspection
3. Generate Cancel Report

Output this structure:

## Engineering Layer Cancel Report

**Flow stopped:** {dev-autopilot | dev-deep-interview | dev-plan | other}
**Stopped at phase:** {phase name}
**Reason:** {user request / error / explicit abort}

### Completed
- [phase 1: spec written → workspace/projects/specs/...]
- [phase 2: plan approved → workspace/projects/plans/...]

### In Progress (at cancel time)
- [phase X: implementing Y in file Z]

### Not Started
- [remaining phases]

### Artifacts Preserved
- Spec: `workspace/projects/specs/[C]autopilot-spec-{name}.md`
- Plan: `workspace/projects/plans/[C]autopilot-plan-{name}.md`
- Code changes: see `git status`

### Recommended Next Step
- "Resume manually": pick up from {phase} using {agent} directly
- "Re-run from scratch": delete artifacts and re-invoke `dev-autopilot`
- "Investigate first": review the artifacts before deciding

### Open Questions
[any unresolved decisions the flow was waiting on]
Rules
  • Always preserve artifacts. Never delete spec/plan files on cancel — the user may want to resume.
  • Never cascade cancels into business layer. Cancel only stops engineering flows; Clawdia/Flux/etc. routines keep running.
  • Be explicit about what's incomplete. Don't claim partial work as done.
  • Suggest the cheapest resume path — usually picking up from where the flow stopped, not restarting.
Failure Modes To Avoid
  • Silent cancel: stopping without a report. Always emit the structured summary.
  • Cleanup overreach: deleting artifacts the user might want.
  • Continuing one more phase: "let me just finish this last bit". No — stop means stop.
  • Vague status: "I stopped the workflow." → useless. Always include phase, completed work, and next step.
按 Apache-2.0 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。