npx skills add https://github.com/eddiebe147/claude-settings --skill workflow-designerSKILL.md
Workflow Designer
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.
Core Workflows
Workflow 1: Design New Workflow from Requirements
- Clarify the goal:
- What outcome is needed?
- Who initiates the workflow?
- What triggers completion?
- Identify inputs and outputs:
- What data/context is required to start?
- What should the workflow produce?
- What format should outputs take?
- Map the process:
- Break into logical phases
- Identify decision points
- Map dependencies between steps
- Note parallel vs sequential operations
- Design error handling:
- What can go wrong at each step?
- How should failures be handled?
- What requires human intervention?
- Assign responsibilities:
- Which steps are AI-executable?
- Which require human judgment?
- Which need external tools/APIs?
- Document the workflow:
- Step-by-step instructions
- Decision trees
- Validation checkpoints
- Success criteria
- Test with sample scenario
- Refine based on results
Workflow 2: Optimize Existing Workflow
- Analyze current workflow:
- Map current steps
- Identify bottlenecks
- Note repetitive tasks
- Find error-prone areas
- Identify optimization opportunities:
- What can be automated?
- What can be parallelized?
- What steps are unnecessary?
- Where are handoffs inefficient?
- Redesign with improvements:
- Consolidate redundant steps
- Automate repetitive tasks
- Parallelize independent operations
- Add validation early
- Compare before/after:
- Time savings
- Error reduction
- Complexity changes
- Resource requirements
- Document changes and rationale
- Plan migration from old to new
- Test new workflow thoroughly
Workflow 3: Break Down Complex Task
- Understand the complex task:
- What makes it complex?
- What are the components?
- What are the constraints?
- Decompose into subtasks:
- Identify logical boundaries
- Group related operations
- Order by dependencies
- Define interfaces:
- Inputs for each subtask
- Outputs from each subtask
- Data flow between tasks
- Assign to appropriate executors:
- AI agents
- External tools/MCPs
- Human review points
- Add coordination layer:
- How do subtasks communicate?
- What monitors overall progress?
- How are results integrated?
- Document the decomposition
- Validate completeness
Workflow 4: Add Error Handling & Resilience
- Map potential failure points:
- External API failures
- Invalid inputs
- Resource constraints
- Timeout scenarios
- Design error handling strategy:
- Graceful degradation
- Retry logic with backoff
- Fallback options
- Error reporting
- Add validation checkpoints:
- Pre-conditions before steps
- Post-conditions after steps
- Intermediate result validation
- Implement recovery mechanisms:
- State preservation
- Resume from checkpoint
- Rollback procedures
- Document error scenarios:
- What to do when X fails
- How to recover
- When to escalate
- Test failure scenarios
Quick Reference
| 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]" |
Best Practices
-
Start with Outcomes: Define success before designing steps
- What does "done" look like?
- What artifacts should exist?
- What state should system be in?
-
Keep Steps Atomic: Each step should be single-purpose
- One clear action
- One clear output
- Easy to validate
- Easy to replace or improve
-
Make Dependencies Explicit: Show what relies on what
- Use directed graphs or numbered dependencies
- Identify parallelizabl
...