Skip to content

/craft-story-delete

Permanently delete a story.

From plugin
craft
6262 skills27 agents62 commands7 hooks
+1
Install
> /plugin marketplace add drobins25/craft
> /plugin install craft@craft

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/craft-story-delete

Context preview

What this command does when you run it.

Permanently delete a story.

Command definition

craft-story-delete.md
name: story-delete
description: "Permanently delete a story."
argument-hint: "[story-name]"

Story Delete

Permanently remove a story. This is destructive — use archive if you might want it later.

Flow

Step 1: Select Story

If no story specified, show all stories:

> "Which story do you want to delete?" > > **In Cycle [X]:** > - [Story 1] — ready > - [Story 2] — active > > **In Backlog:** > - [Story 3] > - [Story 4]

Use **AskUserQuestion**:

question: "Which story to delete?"
header: "Delete"
options:
  - label: "[Story 1] (cycle)"
  - label: "[Story 2] (cycle)"
  - label: "[Story 3] (backlog)"

Step 2: Confirm (Required)

> "⚠️ **Permanently delete [Story Name]?** > > This will: > - Remove the story file entirely > - Delete all chunks and decisions > - Update cycle counts (if in cycle) > > **This cannot be undone.** Use `/craft:story-archive` to keep it in backlog instead."

Use **AskUserQuestion**:

question: "Confirm permanent deletion?"
options:
  - label: "Yes, delete permanently"
    description: "Cannot be undone"
  - label: "Archive instead"
    description: "Move to backlog, keep for later"
  - label: "Cancel"
    description: "Keep the story"

**If "Archive instead":** Run `/craft:story-archive` flow instead.

Step 3: Execute

${CLAUDE_PLUGIN_ROOT}/hooks/scripts/delete-story.sh "[story-file-path]"

Step 4: Confirm

> "**[Story Name]** deleted."

Quick Usage

/craft:story-delete [story-name]

Still requires confirmation — no silent deletes.

Safety

  • Always requires explicit confirmation
  • Offers archive as alternative
  • Updates cycle state automatically
  • Git history preserves deleted files (if committed)
Read more
Ships withcraft

Stop Vibing. Start Crafting. A Claude Code plugin that acts as an intelligent harness for your development workflow: your codebase is read-only by default, every change passes through a Write Gate as planned and approved work, and craft tracks your project's

Get the whole plugin, auto-invoked

Other commands on craft.