Skip to content
Development
Command

/craft-story-archive

Move a story from a cycle back to the backlog.

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-archive

Context preview

What this command does when you run it.

Move a story from a cycle back to the backlog.

Command definition

craft-story-archive.md
name: story-archive
description: "Move a story from a cycle back to the backlog."
argument-hint: "[story-name]"
aliases:
  - story-backlog
  - story-unassign

Story Archive

Move a story out of a cycle and back to the backlog. Use when a story isn't ready, got deprioritized, or needs more design work.

Flow

Step 1: Select Story

If no story specified, show stories in active cycle:

Use **Glob** with pattern `.craft/cycles/${ACTIVE_CYCLE}/stories/*.md` to list stories in the active cycle.

> "Which story do you want to archive to backlog?" > > **In Cycle:** > - [Story 1] — ready, 4 chunks > - [Story 2] — active, chunk 2/3 > - [Story 3] — ready, 2 chunks

Use **AskUserQuestion**:

question: "Which story?"
header: "Archive"
options:
  - label: "[Story 1]"
  - label: "[Story 2]"
  - label: "[Story 3]"

Step 2: Confirm

> "Archive **[Story Name]** to backlog?" > > This will: > - Remove it from cycle [X] > - Reset status to `ready` > - Preserve all chunks and decisions

Use **AskUserQuestion**:

question: "Confirm archive?"
options:
  - label: "Yes, archive it"
    description: "Move to backlog, can reassign later"
  - label: "Cancel"
    description: "Keep in cycle"

Step 3: Execute

${CLAUDE_PLUGIN_ROOT}/hooks/scripts/move-story.sh ".craft/cycles/[cycle]/stories/[story].md" backlog

Step 4: Confirm

> "**[Story Name]** archived to backlog. > > It's at `.craft/backlog/[story-name].md` — reassign anytime with `/craft:cycle-assign`."

Quick Usage

/craft:story-archive [story-name]

Skips selection if story name provided.

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