craft-analyze
Post-cycle analysis — QA, UX, Creative, and Style audits using MCP browser tools.
Design a workflow - create new definitions, edit existing ones, or archive workflows you no longer need.
> /plugin marketplace add drobins25/craft > /plugin install craft@craft
How it fires
How this command gets triggered: by you, by Claude, or both.
/craft-workflow-designContext preview
What this command does when you run it.
Design a workflow - create new definitions, edit existing ones, or archive workflows you no longer need.
name: workflow-design description: "Design a workflow - create new definitions, edit existing ones, or archive workflows you no longer need." argument-hint: "[create | edit <name> | archive <name>]" when_to_use: "Use when the user wants to author or organize workflow definitions: 'create a new workflow', 'edit the workflow', 'refine this workflow', 'archive a workflow'. NOT for running or prepping sessions (use craft:workflow-run)."
Author and manage workflow definitions. Owns the definition lifecycle: creating new workflows from scratch or by importing process documents, editing existing definitions (stage prose, prompts, checklists, variables), and archiving workflows no longer in use.
For executing sessions of an existing workflow, use `/craft:workflow-run`. This command does not run anything - it just shapes the definitions that workflow-run executes against.
---
Use `$CRAFT_PROJECT_ROOT` (set at session start) as the base path for all `.craft/` references. If not set, resolve by walking up from PWD to find the nearest `.craft/.global-state`.
Set `PROJECT` to `${CRAFT_PROJECT_ROOT:-.}`.
Every workflow definition uses stages-v1 format: a `definition.md` routing table plus per-stage files in `stages/NN-slug.md`. For the definitive specification of the routing-table schema, stage file frontmatter (execution, agent, produces, consumes, human_gate), and session frontmatter, see `${CLAUDE_PLUGIN_ROOT}/commands/references/workflow-formats.md`. That file is a cold-path schema lookup; all create/edit/archive procedure lives in this file.
---
Parse args to determine which verb to execute:
question: "What would you like to do?"
header: "Workflow design"
options:
- label: "Create a new workflow"
description: "Define stages, variables, and execution modes from scratch or import"
- label: "Edit an existing workflow"
description: "Refine stage prose, prompts, checklists, or variables"
- label: "Archive a workflow"
description: "Move to .archived/ - sessions and definition preserved, hidden from dashboard"Route based on selection.
---
Use **AskUserQuestion**:
question: "How do you want to create this workflow?"
header: "Source"
options:
- label: "From scratch"
description: "Define stages interactively"
- label: "Import from file"
description: "Parse an existing process document (Markdown, any project)"
- label: "Import from URL"
description: "Fetch and parse a remote process document"Read the source. Identify stages by looking for:
For each stage found, extract:
Present the parsed structure:
> Found **{N} stages** in "{source file}": > 1. {Stage 1 name} - {first line of description} > 2. {Stage 2 name} - {first line} > ... > > Does this look right?
Use **AskUserQuestion**:
question: "Does the parsed structure look correct?"
header: "Parse review"
options:
- label: "Looks good"
description: "Continue to configure execution modes"
- label: "Needs adjustment"
description: "I'll tell you what to fix"Ask for:
For each variable, capture:
Walk through each stage. For each one, suggest an execution mode based on the stage description:
Use **AskUserQuestion** per stage:
question: "Stage {N}: {name} - How should this execute?"
header: "Execution"
options:
- label: "{suggested mode} (Recommended)"
description: "{description of what this mode does}"
- label: "{alternative 1}"
description: "{description}"
- label: "{alternative 2}"
description: "{description}"
- label: "{alternative 3}"
description: "{description}"**Execution modes:**
| Mode | Behavior | |------|----------| | `agent` | Spawn isolated sub-agent, auto-advance on success. Use when the work is self-contained and doesn't need p
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
Repo: drobins25/craft
Post-cycle analysis — QA, UX, Creative, and Style audits using MCP browser tools.
Consult a craft agent. Routes your question to the best mind in the workshop - not a menu, a recommendation.
Agent crystallization command. Studies a tool, role, or person and produces a portable 9-section agent that inhabits the domain - with beliefs, scar tissue,…
Complete a cycle. Triggers reflection if pending learnings, then archives.
Design a cycle — create new cycles with planned stories, detail existing planning cycles, or quick-sketch a roadmap. Detects planning docs in .craft/planning/…