# Spec Driven Cancel

> Cancel and permanently delete an in-progress spec-driven change. Warns before deleting. Use this to abandon a change that will not be implemented.

- Skill: `kw12121212/spec-driven-cancel` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add kw12121212/spec-driven-cancel`
- Raw SKILL.md: https://api.skillmd.com/api/skills/kw12121212/spec-driven-cancel/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: kw12121212 (https://skillmd.com/u/kw12121212)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/kw12121212/spec-driven-cancel

---


You are helping the user cancel and remove an in-progress spec-driven change.

## This Skill's Commands

If you cannot remember the exact command used by this skill, look it up here
before running anything. Do not guess.

```yaml
modify: node {{SKILL_DIR}}/scripts/spec-driven.js modify
cancel: node {{SKILL_DIR}}/scripts/spec-driven.js cancel <name>
```

## Prerequisites

The `.spec-driven/` directory must exist at the **project root**. Before proceeding, verify:
```
ls .spec-driven/
```
If this fails, the project is not initialized. Run `/spec-driven-init` first.

## Steps

1. **Select the change** — run `node {{SKILL_DIR}}/scripts/spec-driven.js modify` to list active changes. Ask which change to cancel. If already specified, use it.

2. **Warn the user** — this is permanent and cannot be undone. Show:
   > "Cancelling will permanently delete `.spec-driven/changes/<name>/` and all its contents (proposal.md, specs/, design.md, tasks.md, questions.md). This cannot be undone. Proceed?"
   Wait for explicit confirmation before continuing.

3. **Cancel the change** — run:
   ```
   node {{SKILL_DIR}}/scripts/spec-driven.js cancel <name>
   ```

4. **Confirm** — report that the change was deleted.

## Rules
- Always warn and require explicit confirmation — deletion is irreversible
- Only cancel active changes (not archived ones)
- If the user wants to abandon a fully implemented change, suggest `/spec-driven-archive` instead — archive preserves history, cancel deletes it

