create-workflow-from-diagramlisted
Install: claude install-skill diagrid-labs/dapr-skills
# Create Dapr Workflow from Diagram
## Overview
This skill converts a workflow diagram into a runnable Dapr workflow project. Two input paths are supported:
- **Image** (PNG / JPG / JPEG / GIF / WebP) — uses Claude's vision to extract workflow structure
- **BPMN 2.0 XML** (`.bpmn`, `.bpmn20.xml`) — parses the XML deterministically
Both paths produce the same intermediate representation (IR, JSON Lines), which is then rendered into code for the target language.
## Execution Order
You MUST follow these phases in strict order:
1. **Check specification** — Confirm you have the input diagram + target language. Ask clarifying questions only if missing.
2. **Phase 0: Detect input type** — Decide between the image path and the BPMN path.
3. **Phase 1: Diagram → IR** — Emit JSON Lines IR per `prompts/ir-schema.md`.
4. **Phase 2: Validate IR** — Light checks per `prompts/ir-schema.md` acceptance rules.
5. **Phase 3: IR → code** — Render the project for the target language using `prompts/languages/<lang>.md`.
6. **Create README.md** — Summarise the generated project + how to run it.
7. **Show final message** — Your LAST output MUST be EXACTLY the message defined in `## Show final message`. No extra text.
## Check specification
You need three things. Ask at most three clarifying questions, interview-style, only for items not already provided:
1. **Input diagram** — a path to a PNG/JPG/JPEG/GIF/WebP image or a `.bpmn` / `.bpmn20.xml` file. If the user pasted the image directly i