Skip to content
Development
Command

/craft-story-delete

Permanently delete a story.

From plugin
4031 skills27 agents31 commands7 hooks1 MCP
shell
$ npx -y skills add drobins25/craft --agent claude-code

Ships with craft. Installing the plugin gets this command.

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
Read it on GitHub ↗
Ships withcraft

Stop Vibing. Start Crafting. Claude Code plugin: guided + controlled development orchestration harness with built-in workflow + state management, for designing + building durable, production-ready software through the entire product lifecycle - new projects

Get the whole plugin, auto-invoked
Stats
40
Stars
0
Views
5
Forks
Active
Maintenance
Shell
Language
MIT
License
2d ago
Last commit
3mo ago
Created

Repo: drobins25/craft