craft-analyze
Post-cycle analysis — QA, UX, Creative, and Style audits using MCP browser tools.
Definition and session format specifications for stages-v1 (the single supported format).
> /plugin marketplace add drobins25/craft > /plugin install craft@craft
How it fires
How this command gets triggered: by you, by Claude, or both.
/workflow-formatsContext preview
What this command does when you run it.
Definition and session format specifications for stages-v1 (the single supported format).
Definition and session format specifications for stages-v1 (the single supported format).
---
The `definition.md` is a routing table; each stage is a self-contained file in `stages/`:
---
name: {Workflow Name}
description: {one-line description}
created: {date}
variables:
{var}: "{description}"
stages: {count}
format: stages-v1
---
# {Workflow Name}
{Overview paragraph.}
## Stages
| # | Name | Execution | File | Produces |
|---|------|-----------|------|----------|
| 1 | {Stage Name} | agent | stages/01-slug.md | .craft/research/{topic}-pedagogy/ |
| 2 | {Stage Name} | inline | stages/02-slug.md | .craft/research/{topic}-landscape/ |
| 3 | {Stage Name} | manual | stages/03-slug.md | |
| 4 | {Stage Name} | command | stages/04-slug.md | |Each stage file in `stages/` is a self-contained brief:
---
stage: 1
name: {Stage Name}
execution: agent
agent: craft:researcher
produces: .craft/research/{topic}-pedagogy/
consumes: []
human_gate: ""
---
# Stage 1: {Stage Name}
{Human-readable description of what this stage does, why it matters,
and what principles apply. This IS the process documentation.
Variable placeholders like {topic} and {domain} are substituted
at dispatch time from session variables.}
## Prompt
Research {topic} for {domain}. Focus on evidence-based approaches
and pedagogical best practices.
## Checklist
- [ ] Research branches produced
- [ ] Expert agent crystallized
## Artifacts
- **Produces:** `.craft/research/{topic}-pedagogy/`
- **Consumes:** (none - first stage)**Stage file rules:**
---
Sessions have a Progress table for routing plus per-stage checklists for step tracking. Prompts live in stage files only - never in the session.
**Session status lifecycle:** `draft` -> `ready` -> `active` -> `complete`
**Stage status tags:** `[pending]`, `[active]`, `[complete]`, `[skipped]`
**Validation statuses:** `clean`, `passed-with-issues`
**System variables** (auto-set, not user-defined):
---
workflow: {workflow-slug}
name: {Session Name}
status: active
mode: interactive
started: {date}
completed:
current_stage: 4
variables:
topic: mcp
domain: Model Context Protocol
project: slingshot
session_dir: "/full/path/to/.craft/workflows/write-lesson/sessions/2026-04-08-mcp-course"
---
# {Session Name} - {Workflow Name}
## Progress
| # | Stage | Status | Completed | Notes |
|---|-------|--------|-----------|-------|
| 1 | Pedagogy Research | complete | 2026-04-08 | Crystallized at .claude/agents/... |
| 2 | Education Landscape | complete | 2026-04-08 | |
| 3 | Domain Map | complete | 2026-04-09 | |
| 4 | Gap Analysis | active | | |
| 5 | Course Structure | pending | | |
## Stage 1: Pedagogy Research [complete]
- [x] Research branches produced
- [x] Expert agent crystallized
## Stage 2: Education Landscape [complete]
- [x] Landscape mapped
- [x] Gaps identified
## Stage 3: Domain Map [complete]
- [x] Concept inventory complete
- [x] Prerequisite chains documented
## Stage 4: Gap Analysis [active]
- [x] Coverage table produced
- [ ] Mermaid diagrams generated
- [ ] Proposal reviewed
## Stage 5: Course Structure [pending]
- [ ] Unit structure finalized
- [ ] Lesson flow documented
## Validation
(written by complete-workflow-session.sh at session end)**Hybrid session rules:**
**Artifact handoff:** After each agent stage completes, the orchestrator writes the agent's output to `{session_dir}/artifacts/NN-slug.md`. Downstream stages reference these via `{session_dir}` in their prompts:
sessions/2026-04-08-mcp-course/
session.md
artifacts/
01-pedagogy-research.md
02-education-landscape.md
03-domain-map.mdStage files declare dependencies via `consumes:` frontmatter:
consumes:
- "{session_dir}/artifacts/01-pedagogy-research.md"
- "{session_dir}/artifacts/02-education-landscape.md"The orchestrator substitutes `{session_dir}` at dispatch time so the agent receives concrete file paths it can read directly.
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/…