skills/workflow-designer/SKILL.md
Design and optimize AI-powered workflows for complex tasks
npx skillsauth add jmsktm/claude-settings Workflow DesignerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
The Workflow Designer skill helps you design, document, and optimize multi-step AI-powered workflows. It applies process design principles to break down complex tasks into clear, executable sequences that leverage Claude Code's capabilities, external tools, and multi-agent coordination.
This skill guides you through workflow analysis, identifying optimal task decomposition, determining when to use automation versus human input, and documenting workflows in a format that's both human-readable and AI-executable. It helps you think through error handling, branching logic, validation steps, and integration points.
Use this skill when you're tackling complex, multi-step processes that could benefit from AI assistance, or when you need to transform ad-hoc procedures into repeatable, documented workflows.
| Action | Command/Trigger | |--------|-----------------| | Design new workflow | "Design a workflow for [task]" | | Optimize existing workflow | "Optimize this workflow: [description]" | | Break down complex task | "Break down this task: [task]" | | Add error handling | "Add error handling to this workflow: [workflow]" | | Document workflow | "Document this process: [process]" | | Visualize workflow | "Create a flowchart for [workflow]" | | Validate workflow design | "Review this workflow design: [design]" |
Start with Outcomes: Define success before designing steps
Keep Steps Atomic: Each step should be single-purpose
Make Dependencies Explicit: Show what relies on what
Plan for Failure: Every workflow has edge cases
Add Validation Early: Catch issues before they cascade
Document Decision Points: Make branching logic clear
Separate Concerns: Group related operations
Make It Resumable: Long workflows should support interruption
Test with Edge Cases: Don't just test happy path
Input → Step 1 → Step 2 → Step 3 → Output
Use when: Each step depends on previous step's output Example: Data ingestion → Validation → Transformation → Storage
Input → [Step 1, Step 2, Step 3] → Merge → Output
Use when: Independent operations can run concurrently Example: Lint, Test, Type-check → Aggregate results → Report
Input → Decision → [Path A | Path B] → Merge → Output
Use when: Different paths based on conditions Example: File type detection → [JSON parser | CSV parser] → Normalize
Input → Process → Validate → [Done? → Output | Refine → Process]
Use when: Output quality improves through iterations Example: Generate code → Review → [Acceptable? → Deploy | Fix issues → Generate]
Input → Coordinator → [Agent A, Agent B, Agent C] → Synthesizer → Output
Use when: Complex task needs specialized sub-agents Example: Feature request → Planner → [Designer, Developer, Tester] → Integrator → PR
Trigger → [Handler 1, Handler 2, Handler N] → Aggregate → Output
Use when: Workflow responds to events/webhooks Example: Git push → [Build, Test, Deploy, Notify] → Status update
## Workflow: [Name]
### Purpose
[What this workflow accomplishes]
### Triggers
- [What initiates this workflow]
### Inputs
- [Required inputs]
- [Optional inputs]
### Steps
1. **[Step Name]**
- Action: [What happens]
- Owner: [AI | Human | Tool]
- Input: [What this step receives]
- Output: [What this step produces]
- Validation: [How to verify success]
- On failure: [What to do if this fails]
2. **[Step Name]**
[...]
### Decision Points
- **[Decision Name]**
- Condition: [What determines the path]
- If true: [Path A]
- If false: [Path B]
### Outputs
- [What the workflow produces]
- [Where outputs are stored/sent]
### Success Criteria
- [How to know the workflow succeeded]
### Error Handling
- [Common failures and responses]
### Estimated Duration
- [How long this typically takes]
### Dependencies
- [External tools/services required]
- [Other workflows this depends on]
When designing workflows, consider measuring:
data-ai
Optimize YouTube videos for SEO, thumbnails, descriptions, and audience retention
testing
Design and facilitate effective workshops with agendas, activities, and outcomes
data-ai
Design and implement automated workflows to eliminate repetitive tasks and streamline processes
development
Expert guide for building professional word processors with Tiptap/ProseMirror. Use for text editor features, document formatting, export functionality, and achieving Word/Pages/Docs feature parity.