Dapr Workflow & Agent Skills
This repository contains skill definitions that can be used with Claude Code, GitHub Copilot CLI, and OpenAI Codex CLI to build Dapr Workflow applications and durable AI agent applications that run on Dapr Workflow.
Workflow skills
- Text-spec skills:
create-workflow-dotnet, create-workflow-aspire, create-workflow-python, create-workflow-java — describe the workflow in natural language and scaffold a runnable project.
- Building-blocks skill:
create-workflow-typescript — scaffolds a TypeScript Dapr Workflow whose activities also exercise service invocation, pub/sub, bindings, jobs, state, and secrets, plus a small second service invoked over service invocation.
- Diagram-input skill:
create-workflow-from-diagram — provide a workflow diagram (PNG / JPG / JPEG / GIF / WebP) or a BPMN 2.0 XML file; the skill extracts structure and generates code for Go, Python, .NET, Java, or JavaScript.
- Migration skill:
migrate-workflow-typescript — analyzes an existing TypeScript/Node.js application (not a scaffold), proposes a Dapr building-block mapping for approval, and applies confirmed changes incrementally with verification between each.
- Add skill:
add-workflow-dotnet — adds Dapr Workflow to an existing ASP.NET Core project (plain or Aspire) after you approve a plan, with targeted edits and a build after each step.
- Review skills:
review-workflow-determinism, review-workflow-activity, review-workflow-management — audit an existing .NET, Python or Java project.
Agent skills
- Text-spec skills:
create-agent-python, create-agent-dotnet — scaffold a durable agent app. Python covers the dapr-agents SDK and the diagrid framework wrappers; .NET covers Microsoft Agent Framework on Dapr Workflow via Diagrid.AI.Microsoft.AgentFramework.
- Review skills:
review-agent-tools, review-agent-memory, review-agent-orchestration, review-agent-observability — audit tools, memory/state config, multi-agent pub/sub wiring, and tracing/metrics on an existing agent project.
Pub/sub skills
- Create skills:
create-pubsub-dotnet, create-pubsub-python, create-pubsub-java — scaffold a Dapr pub/sub publisher and subscriber app (dapr run, or Aspire for .NET; Python uses FastAPI; Java uses Spring Boot 4) from the event you describe. You choose the role and the subscription type (declarative by default, programmatic or streaming); the skills ask what the app publishes — the event, its topic, its fields and what the subscriber does with it — and never scaffold a built-in sample scenario.
- Add skills:
add-pubsub-dotnet, add-pubsub-python — add Dapr pub/sub to an existing project (ASP.NET Core, or a FastAPI app for Python) after you approve a plan, keeping the subscription type the project already uses.
- Review skills:
review-pubsub-publishing, review-pubsub-subscriptions, review-pubsub-components — audit publishing code, subscriptions and handlers, and pub/sub components and wiring on an existing .NET, Python or Java project.
Diagram skills
- Draw skill:
create-diagram — describe a Dapr app, paste a Mermaid flowchart or attach an image (a sketch or an existing diagram to redraw) and the skill draws it as an SVG in the docs.dapr.io style, using a small diagram engine it copies into your project's diagrams/ folder. It can also export light and dark PNGs for slides. This is not the same as create-workflow-from-diagram, which turns an existing diagram into workflow code.
Prerequisites
For .NET skills
For Python skills
- Python 3.12+ for workflow skills, Python 3.11–3.13 for agent skills — download Python
- uv
For Java skills