dev-cancel

GitHub

用于安全终止多阶段工程工作流(如 dev-autopilot),生成包含完成状态、进度及后续建议的结构化报告,确保工件保留以便手动恢复。

.claude/skills/dev-cancel/SKILL.md evolution-foundation/evo-nexus

Trigger Scenarios

用户输入 cancel, stop, abort 等指令 需要退出正在运行的多阶段开发流程

Install

npx skills add evolution-foundation/evo-nexus --skill dev-cancel -g -y
More Options

Non-standard path

npx skills add https://github.com/evolution-foundation/evo-nexus/tree/main/.claude/skills/dev-cancel -g -y

Use without installing

npx skills use evolution-foundation/evo-nexus@dev-cancel

指定 Agent (Claude Code)

npx skills add evolution-foundation/evo-nexus --skill dev-cancel -a claude-code -g -y

安装 repo 全部 skill

npx skills add evolution-foundation/evo-nexus --all -g -y

预览 repo 内 skill

npx skills add evolution-foundation/evo-nexus --list

SKILL.md

Frontmatter
{
    "name": "dev-cancel",
    "description": "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."
}

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.

Version History

  • 7f5dd76 Current 2026-07-25 04:53

Same Skill Collection

.claude/skills/create-agent/SKILL.md
.claude/skills/create-command/SKILL.md
.claude/skills/create-goal/SKILL.md
.claude/skills/create-heartbeat/SKILL.md
.claude/skills/create-integration/SKILL.md
.claude/skills/create-routine/SKILL.md
.claude/skills/create-ticket/SKILL.md
.claude/skills/cs-ticket-triage/SKILL.md
.claude/skills/data-build-dashboard/SKILL.md
.claude/skills/data-create-viz/SKILL.md
.claude/skills/data-explore/SKILL.md
.claude/skills/data-statistical-analysis/SKILL.md
.claude/skills/data-validate/SKILL.md
.claude/skills/db-mongo/SKILL.md
.claude/skills/db-mysql/SKILL.md
.claude/skills/db-postgres/SKILL.md
.claude/skills/db-redis/SKILL.md
.claude/skills/dev-ai-slop-cleaner/SKILL.md
.claude/skills/dev-ask/SKILL.md
.claude/skills/dev-autopilot/SKILL.md
.claude/skills/dev-ccg/SKILL.md
.claude/skills/dev-configure-notifications/SKILL.md
.claude/skills/dev-deep-dive/SKILL.md
.claude/skills/dev-deep-interview/SKILL.md
.claude/skills/dev-deepinit/SKILL.md
.claude/skills/dev-external-context/SKILL.md
.claude/skills/dev-learner/SKILL.md
.claude/skills/dev-mcp-setup/SKILL.md
.claude/skills/dev-plan/SKILL.md
.claude/skills/dev-project-session-manager/SKILL.md
.claude/skills/dev-ralph/SKILL.md
.claude/skills/dev-ralplan/SKILL.md
.claude/skills/dev-release/SKILL.md
.claude/skills/dev-remember/SKILL.md
.claude/skills/dev-sciomc/SKILL.md
.claude/skills/dev-skillify/SKILL.md
.claude/skills/dev-team/SKILL.md
.claude/skills/dev-trace/SKILL.md
.claude/skills/dev-ultraqa/SKILL.md
.claude/skills/dev-verify/SKILL.md
.claude/skills/dev-visual-verdict/SKILL.md
.claude/skills/discord-create-channel/SKILL.md
.claude/skills/discord-get-messages/SKILL.md
.claude/skills/discord-list-channels/SKILL.md
.claude/skills/discord-manage-channel/SKILL.md
.claude/skills/discord-send-message/SKILL.md
.claude/skills/fin-audit-support/SKILL.md
.claude/skills/fin-close-management/SKILL.md
.claude/skills/fin-daily-pulse/SKILL.md

Metadata

Files
0
Version
7f5dd76
Hash
4f08a55c
Indexed
2026-07-25 04:53

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-20 02:03
浙ICP备14020137号-1 $mapa de visitantes$