| name | markdown-flowchart |
| description | Create comprehensive ASCII flowcharts in markdown for visualizing complex workflows, user journeys, system architectures, and decision trees. Supports multi-path flows, parallel execution, approval gates, and nested processes with clear visual hierarchy. |
| license | MIT |
Markdown Flowchart - Workflow & Process Visualization
Create comprehensive ASCII flowcharts in markdown for visualizing complex workflows, user journeys, system architectures, and decision trees. Perfect for documentation, process visualization, and communicating complex system behaviors in a text-based format that works everywhere markdown is supported.
1. ๐ฏ WHEN TO USE
Key Capabilities:
- Multi-path decision flows with branching logic
- Parallel execution blocks with synchronization points
- Hierarchical nested processes and sub-workflows
- Approval gates and validation checkpoints
- User journey mapping with step-by-step flows
- System architecture and data flow diagrams
- Step-by-step procedural documentation
Use this skill when:
- Documenting complex multi-step workflows or processes
- Visualizing user journeys and onboarding flows
- Mapping system architectures and data flows
- Creating decision trees with multiple branches
- Showing parallel execution paths and dependencies
- Documenting approval gates and review processes
- Explaining complex business logic visually
- Creating quick reference guides for processes
Do NOT use this skill for:
- Simple linear lists (use bullet points instead)
- Code architecture (use mermaid diagrams instead)
- Data models (use ER diagrams instead)
- When interactive/exportable diagrams are required
- Very simple 2-3 step processes
Core principle: Clarity through visual hierarchy + consistent formatting = comprehensible workflows
2. ๐ ๏ธ HOW IT WORKS
This skill enables creation of professional ASCII flowcharts using standardized components and patterns. The process follows a systematic approach:
Process Overview:
- Analyze the process/workflow to be visualized
- Select appropriate pattern(s) from the pattern library
- Build flowchart using standard components (boxes, arrows, decisions)
- Apply consistent styling and spacing
- Add context and annotations
- Validate completeness and readability
Component-Based Design:
- Reusable elements: Standard boxes, decisions, arrows, terminals
- Pattern library: 7 proven patterns for common scenarios
- Visual hierarchy: Different box styles for importance levels
- Flexible composition: Combine patterns for complex workflows
Learning Resources:
- Pattern Library: See Section 4 for 7 core flowchart patterns
- Reference Examples: Check the
references/folder for 6 production-ready examples demonstrating all patterns and techniques - Component Guide: Section 3 covers all available building blocks
Output: Text-based flowchart that renders in any markdown viewer, version control friendly, and screen reader accessible.
3. ๐ FLOWCHART COMPONENTS
Basic Building Blocks
1. Process Box
โโโโโโโโโโโโโโโโโโโโโโโ
โ Process Step โ
โ Description โ
โโโโโโโโโโโโโโโโโโโโโโโ
2. Decision Diamond
โฑโโโโโโโโโโโโฒ
โฑ Decision? โฒ
โฒ โฑ
โฒโโโโโโโโโโโโฑ
3. Terminal (Start/End)
โญโโโโโโโโโโโโโโโโโโโโโโฎ
โ Start โ
โฐโโโโโโโโโโโโโโโโโโโโโโฏ
4. Connector Arrow
โ
โผ
5. Multi-Direction Flow
โ โ โ
โผ โผ โผ
6. Parallel Block
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
PARALLEL EXECUTION BLOCK
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Agent 1 โ Agent 2 โ Agent 3
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
7. Loop Back
โ
โ โโโโโโโโโโโโโโโ
โโโโค Loop back โ
โโโโโโโโโโโโโโโ
4. ๐ FLOWCHART PATTERNS
Pattern 1: Linear Sequential Flow
When to use: Simple step-by-step process without branching
โญโโโโโโโโโโโโโโโโโโโโโฎ
โ Start โ
โฐโโโโโโโโโโโโโโโโโโโโโฏ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโ
โ Step 1 โ
โ Action A โ
โโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโ
โ Step 2 โ
โ Action B โ
โโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
โญโโโโโโโโโโโโโโโโโโโโโฎ
โ End โ
โฐโโโโโโโโโโโโโโโโโโโโโฏ
Pattern 2: Decision Branch
When to use: Binary or multi-way decisions
โโโโโโโโโโโโโโโโโโโโโโ
โ Check Status โ
โโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
โฑโโโโโโโโโโโฒ
โฑ Valid? โฒ
โฒ โฑ
โฒโโโโโโโโโโโฑ
โ โ
Yes No
โ โ
โผ โผ
โโโโโโโ โโโโโโโ
โ Passโ โRejectโ
โโโโโโโ โโโโโโโ
Pattern 3: Parallel Execution
When to use: Multiple tasks that run simultaneously
โโโโโโโโโโโโโโโโโโโโโโ
โ Trigger Event โ
โโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
PARALLEL EXECUTION - Stage A
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โ โ
โผ โผ โผ
โโโโโโโโโโ โโโโโโโโโโ โโโโโโโโโโ
โ Task A โ โ Task B โ โ Task C โ
โโโโโโโโโโ โโโโโโโโโโ โโโโโโโโโโ
โ โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โผ (All complete)
โโโโโโโโโโโโโโโโโโโโโโ
โ Synthesis โ
โโโโโโโโโโโโโโโโโโโโโโ
Pattern 4: Nested Sub-Process
When to use: Complex steps with embedded workflows
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ MAIN PROCESS: User Onboarding โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ SUB-PROCESS: Account Creation โ โ
โ โ โ โ
โ โ Step 1: Collect Info โ โ
โ โ Step 2: Validate โ โ
โ โ Step 3: Create Account โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโ
โ Next Main Step โ
โโโโโโโโโโโโโโโโโโโโโโ
Pattern 5: Approval Gate
When to use: Manual review/approval required
โโโโโโโโโโโโโโโโโโโโโโ
โ Prepare Review โ
โโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโ
โ โ ๏ธ APPROVAL GATE โ
โ Review Required โ
โโโโโโโโโโโโโโโโโโโโโโ
โ โ
Approve Reject
โ โ
โผ โผ
โโโโโโโโโ โโโโโโโโโ
โProceedโ โRevise โ
โโโโโโโโโ โโโโโโโโโ
Pattern 6: Loop/Iteration
When to use: Repeated actions until condition met
โโโโโโโโโโโโโโโโโโโโโโ
โ Initialize โ
โโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
โฑโโโโโโโโโโโฒ
โฑ Complete? โฒ
โฒ (Check) โฑ
โฒโโโโโโโโโโโฑ
โ โ
Yes No
โ โ
โ โโโโโโโโ
โ โ
โผ โผ
โโโโโโโ โโโโโโโโโโโโ
โ End โ โ Process โ
โโโโโโโ โ Item โ
โโโโโโโโโโโโ
โ
โ Loop back
โโโโโโโโโโ
Pattern 7: Multi-Stage Pipeline
When to use: Sequential stages with gates between them
โโโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโ
โ Stage 1 โโโโโโถโ Stage 2 โโโโโโถโ Stage 3 โ
โ Planning โ โ Build โ โ Deploy โ
โโโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโ
โ โ โ
โผ โผ โผ
[Gate 1] [Gate 2] [Gate 3]
โ โ โ
โโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโ
โ Complete โ
โโโโโโโโโโโโโโโโ
5. ๐จ STYLING CONVENTIONS
Box Types
Standard Process Box:
โโโโโโโโโโโโโโโโโโโโโโโ
โ Standard Step โ
โโโโโโโโโโโโโโโโโโโโโโโ
Important/Highlight Box:
โโโโโโโโโโโโโโโโโโโโโโโ
โ Important Step โ
โโโโโโโโโโโโโโโโโโโโโโโ
Rounded Terminal Box:
โญโโโโโโโโโโโโโโโโโโโโโโฎ
โ Start/End โ
โฐโโโโโโโโโโโโโโโโโโโโโโฏ
Minimal Inline Box:
[ Quick Action ]
Arrow Styles
Standard Flow:
โ
โผ
Multiple Paths:
โ
โโโโโโโโโ
โ โ
โผ โผ
Conditional Branch:
โ
โโโโโดโโโโ
โ โ
Yes No
โ โ
โผ โผ
Bidirectional:
โ
โ
โ
Loop Return:
โ
โโโโโโโโ
โ
Annotations
Labels on Arrows:
โ
โ [Success]
โผ
Side Notes:
โโโโโโโโโโโโ
โ Step โ โ User input required
โโโโโโโโโโโโ
Timing Indicators:
โโโโโโโโโโโโโโโโโโโโโโโโ
โ Process โ
โ Duration: 30-45 sec โ
โโโโโโโโโโโโโโโโโโโโโโโโ
6. ๐ CREATION WORKFLOW
Step 1: Understand the Process
Actions:
- Gather complete process information
- Identify all steps, decisions, and branches
- Note parallel activities and dependencies
- Identify approval gates and validation points
- Understand start/end conditions
Questions to ask:
- What triggers this workflow?
- What are the key decision points?
- Which steps can run in parallel?
- Where are manual approvals required?
- What are the success/failure paths?
Validation: process_understood
Step 2: Choose Pattern & Structure
Actions:
- Select appropriate pattern(s) from Section 3
- Determine overall flow direction (top-down, left-right)
- Identify where to use nested structures
- Plan parallel execution blocks
- Map out decision branches
Pattern Selection Guide:
- Linear process โ Pattern 1 (Sequential)
- Decision point โ Pattern 2 (Branch)
- Simultaneous tasks โ Pattern 3 (Parallel)
- Complex subprocess โ Pattern 4 (Nested)
- Manual review โ Pattern 5 (Approval Gate)
- Repeated steps โ Pattern 6 (Loop)
- Multi-phase project โ Pattern 7 (Pipeline)
Validation: structure_planned
Step 3: Create Visual Hierarchy
Actions:
- Use appropriate box styles (standard, important, terminal)
- Apply consistent spacing and alignment
- Add section headers for major phases
- Use dividers for parallel blocks
- Ensure clear visual flow with arrows
Spacing Rules:
- Single blank line between simple steps
- Double blank line between major sections
- Indent nested processes by 2-4 spaces
- Align parallel columns vertically
- Center decision diamonds over branches
Validation: hierarchy_clear
Step 4: Add Details & Context
Actions:
- Add descriptive labels to each step
- Include timing/duration where relevant
- Label decision branches clearly (Yes/No, options)
- Add annotations for important notes
- Include role indicators (who performs action)
- Add input/output notes where helpful
Detail Guidelines:
- Keep box text concise (1-3 lines max)
- Use active voice ("Create document" not "Document is created")
- Add context in parentheses when needed
- Use consistent terminology throughout
- Include measurement criteria for decisions
Validation: details_complete
Step 5: Review & Refine
Actions:
- Check all paths lead to logical conclusions
- Verify no orphaned branches
- Ensure arrows connect correctly
- Test readability at different zoom levels
- Confirm alignment and spacing
- Validate against original requirements
Quality Checks:
- โ Can follow any path from start to end?
- โ All decision outcomes covered?
- โ Parallel blocks have sync points?
- โ Approval gates clearly marked?
- โ Visual hierarchy supports understanding?
- โ No ambiguous connections?
Validation: flowchart_complete
7. ๐ก EXAMPLE WORKFLOWS
This skill includes comprehensive reference examples in the references/ directory. Each example demonstrates different patterns and real-world use cases.
Reference Examples Library
1. Simple Workflow (references/simple-workflow.md)
- Pattern: Linear Sequential Flow
- Use Case: User registration process
- Complexity: Low
- Demonstrates: Basic top-to-bottom flow with context annotations
2. Parallel Execution (references/parallel-execution.md)
- Pattern: Parallel Execution with Synchronization
- Use Case: CI/CD deployment pipeline with parallel tests
- Complexity: Medium-High
- Demonstrates: Concurrent tasks, sync points, approval gates
3. User Onboarding (references/user-onboarding.md)
- Pattern: Nested Sub-Process
- Use Case: Complete app onboarding with embedded multi-step forms
- Complexity: High
- Demonstrates: Nested processes, celebration moments, progressive disclosure
4. Decision Tree Flow (references/decision-tree-flow.md)
- Pattern: Complex Decision Branch
- Use Case: E-commerce order processing system
- Complexity: High
- Demonstrates: Multiple decisions, error handling, retry logic, alternative paths
5. Approval Workflow with Loops (references/approval-workflow-loops.md)
- Pattern: Loop/Iteration + Approval Gates
- Use Case: Marketing content approval with revision cycles
- Complexity: High
- Demonstrates: Multi-stage approval, loop-back mechanisms, escalation paths
6. System Architecture Swimlane (references/system-architecture-swimlane.md)
- Pattern: Swimlane Diagram
- Use Case: Microservices authentication and data flow
- Complexity: High
- Demonstrates: Layer separation, horizontal flow, system integration
Quick Example Selector
| Your Need | See Example | Key Features |
|---|---|---|
| Simple step-by-step | simple-workflow.md | Clear sequence, timing info |
| Parallel tasks | parallel-execution.md | Sync points, concurrent execution |
| Nested complexity | user-onboarding.md | Sub-processes, celebrations |
| Multiple decisions | decision-tree-flow.md | Branching logic, error paths |
| Review cycles | approval-workflow-loops.md | Loops, escalation, iterations |
| System architecture | system-architecture-swimlane.md | Layers, components, data flow |
Inline Example: Simple Decision Flow### Inline Example: Simple Decision Flow
โโโโโโโโโโโโโโโโโโโโ
โ User Login โ
โ Submit Creds โ
โโโโโโโโโโโโโโโโโโโโ
โ
โผ
โฑโโโโโโโโโฒ
โฑ Valid? โฒ
โฒ โฑ
โฒโโโโโโโโโฑ
โ โ
Yes No
โ โ
โผ โผ
โโโโโโโ โโโโโโโโ
โAllowโ โRejectโ
โEntryโ โAccessโ
โโโโโโโ โโโโโโโโ
For complete, production-ready examples, see the references/ directory which contains 6 beautifully crafted flowcharts demonstrating all patterns and techniques from this skill.
โผ โผ
โฑโโโโโโโโโโโฒ โฑโโโโโโโโโโโฒ
โฑ Approved? โฒ โฑ Revision? โฒ
โฒ โฑ โฒ โฑ
โฒโโโโโโโโโโโฑ โฒโโโโโโโโโโโฑ
โ โ
Approved Revision
โ โ
โผ โผ
โฑโโโโโโโโโโโฒ โฑโโโโโโโโโโโฒ
โฑ No โฒ โฑ No โฒ
โฒ Response โฑ โฒ Response โฑ
โฒโโโโโโโโโโโฑ โฒโโโโโโโโโโโฑ
โ โ
โ โ
โโโโโโโโโโโโฌโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโ
โ โ โ
โผ โผ โผ
โโโโโโโโโโโ โโโโโโโโโโโโโโโโ โโโโโโโโโโโ
โPublishingโ โ Implement โ โ Send โ
โ Queue โ โ Revisions โ โRemindersโ
โโโโโโโโโโโ โโโโโโโโโโโโโโโโ โโโโโโโโโโโ
โ โ โ
โ โ โ
โ โโโโโโ โโโโโโโโโ
โ โ โ
โ Loop backโ
โ โ โ
โผ โผ โผ
โโโโโโโโโโโ โโโโโโโโโโโโโโโโ
โSchedule โ โ Past โ
โ Posts โ โ Deadline? โ
โโโโโโโโโโโ โโโโโโโโโโโโโโโโ
โ โ
โ โผ
โ โโโโโโโโโโโโโโโโ
โ โ Escalate โ
โ โ to AM โ
โ โโโโโโโโโโโโโโโโ
โ
โผ
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ Content Published โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
8. โ ๏ธ COMMON MISTAKES
Mistake 1: Inconsistent Spacing
Problem: Makes flow hard to follow visually Example:
โโโโโโ
โStepโ
โโโโโโ
โ
โผ
โโโโโโ
โStepโ
โโโโโโ
Fix: Use consistent spacing between elements
โโโโโโโโโโ
โ Step โ
โโโโโโโโโโ
โ
โผ
โโโโโโโโโโ
โ Step โ
โโโโโโโโโโ
Mistake 2: Ambiguous Arrows
Problem: Unclear which box arrow connects to Example:
โโโโโโ โโโโโโ
โ A โ โ B โ
โโโโโโ โโโโโโ
โ
โผ
โโโโโโ
โ C โ (Does arrow come from A or B?)
โโโโโโ
Fix: Align arrows clearly
โโโโโโ โโโโโโ
โ A โ โ B โ
โโโโโโ โโโโโโ
โ โ
โโโโโโโฌโโโโโโ
โ
โผ
โโโโโโ
โ C โ
โโโโโโ
Mistake 3: Missing Decision Outcomes
Problem: Not all paths from decision are shown Example:
โฑโโโโโโโโโฒ
โฑ Valid? โฒ
โฒ โฑ
โฒโโโโโโโโโฑ
โ
Yes
โ
โผ
(What about No?)
Fix: Show all outcomes
โฑโโโโโโโโโฒ
โฑ Valid? โฒ
โฒ โฑ
โฒโโโโโโโโโฑ
โ โ
Yes No
โ โ
โผ โผ
Mistake 4: Orphaned Processes
Problem: Boxes with no entry or exit points
Fix: Ensure every box connects to the flow
Mistake 5: Over-Complexity
Problem: Trying to show too much detail in one diagram
Fix: Break into multiple diagrams or use nested sub-processes
Mistake 6: Poor Box Alignment
Problem: Boxes don't line up, creating visual chaos
โโโโโโโโโโ
โ Step โ
โโโโโโโโโโ
โ
โผ
โโโโโโโโโโ
โ Step โ
โโโโโโโโโโ
Fix: Align vertically or horizontally
โโโโโโโโโโ
โ Step โ
โโโโโโโโโโ
โ
โผ
โโโโโโโโโโ
โ Step โ
โโโโโโโโโโ
9. ๐ RULES
ALWAYS
- Use consistent box styles throughout diagram
- Align elements vertically or horizontally
- Label all decision branches clearly
- Show complete paths from start to end
- Include context/timing when relevant
- Use visual hierarchy (size, style) for importance
- Test readability at different zoom levels
- Validate all paths lead to logical conclusions
NEVER
- Mix box styles inconsistently
- Leave decision outcomes unlabeled
- Create orphaned boxes without connections
- Use diagonal lines (stick to vertical/horizontal)
- Overcrowd a single diagram
- Assume unlabeled paths are obvious
- Forget to show loop-back paths
- Skip terminal nodes (start/end)
ESCALATE IF
- Process is too complex for single diagram
- Client wants interactive/exportable format
- Diagram needs to be maintained in design tool
- Animation or interactivity required
- Diagram exceeds ~30-40 boxes
- Multiple stakeholders need collaborative editing
10. ๐ SUCCESS CRITERIA
Flowchart is successful when:
- โ All paths from start to end are clear
- โ Decisions have labeled outcomes
- โ Parallel processes are clearly marked
- โ Approval gates are visually distinct
- โ Spacing and alignment are consistent
- โ Can be understood without verbal explanation
- โ Matches actual process accurately
- โ Visual hierarchy supports comprehension
Quality Gates:
- Can a new person follow any path?
- Are all decision points exhaustive?
- Do parallel blocks resolve properly?
- Are approval gates clearly identified?
- Is timing/context provided where needed?
- Does visual hierarchy aid understanding?
11. ๐ง ADVANCED TECHNIQUES
Multi-Column Layouts
For wide processes with parallel tracks:
โโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโ
โ Track 1 โ Track 2 โ Track 3 โ
โ Frontend โ Backend โ Database โ
โโโโโโโโโโโโโโโผโโโโโโโโโโโโโโผโโโโโโโโโโโโโโค
โ โ โ โ
โ โโโโโโโโโ โ โโโโโโโโโ โ โโโโโโโโโ โ
โ โ Step โ โ โ Step โ โ โ Step โ โ
โ โโโโโโโโโ โ โโโโโโโโโ โ โโโโโโโโโ โ
โ โ โ โ โ โ โ
โ โผ โ โผ โ โผ โ
โ โโโโโโโโโ โ โโโโโโโโโ โ โโโโโโโโโ โ
โ โ Step โ โ โ Step โ โ โ Step โ โ
โ โโโโโโโโโ โ โโโโโโโโโ โ โโโโโโโโโ โ
โโโโโโโโโโโโโโโดโโโโโโโโโโโโโโดโโโโโโโโโโโโโโ
Swimlane Diagrams
For showing responsibility across roles:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
User โ System โ Database
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โ
โโโโโโโโ โ โ
โLogin โโโโโโโโถ โโโโโโโโโโโโ โ
โโโโโโโโ โ โ Validate โโโโโโถ โโโโโโโโโโโ
โ โโโโโโโโโโโโ โ โ Query โ
โ โ โ โโโโโโโโโโโ
โ โผ โ โ
โ โโโโโโโโโโโโ โ โ
โโโโโโโโ โโโโโโโโ Generate โ โโโโดโโโโโโโ
โToken โ โ โ Token โ โ
โโโโโโโโ โ โโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Conditional Loops with Exit Conditions
โโโโโโโโโโโโโโโโโโ
โ Initialize โ
โ Counter = 0 โ
โโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโ
โโโโถโ Process Item โโโโโ
โ โโโโโโโโโโโโโโโโโ โ
โ โ โ
โ โผ โ
โ โฑโโโโโโโโโโโโโโโฒ โ
โ โฑ Counter < 10 โฒ โ
โ โฒ AND More Data โฑ โ
โ โฒโโโโโโโโโโโโโโโฑ โ
โ โ โ โ
โ Yes No โ
โ โ โ โ
โ โ โผ โ
โ โ โโโโโโโโโ โ
โ โ โ End โ โ
โ โ โโโโโโโโโ โ
โ โ โ
โ โผ โ
โ โโโโโโโโโโโโ โ
โ โIncrement โ โ
โ โ Counter โ โ
โ โโโโโโโโโโโโ โ
โ โ โ
โโโโโโโโโ โ
โ
Loop continues โโโโโโ
Error Handling Flows
โโโโโโโโโโโโโโโโโโ
โ Execute Task โ
โโโโโโโโโโโโโโโโโโ
โ
โผ
โฑโโโโโโโฒ
โฑ Success โฒ
โฒ โฑ
โฒโโโโโโโฑ
โ โ
Yes No (Error)
โ โ
โ โผ
โ โญโโโโโโโโโโโโโโโโโโโฎ
โ โ ERROR HANDLER โ
โ โฐโโโโโโโโโโโโโโโโโโโฏ
โ โ
โ โผ
โ โฑโโโโโโโฒ
โ โฑRetryableโฒ
โ โฒ โฑ
โ โฒโโโโโโโฑ
โ โ โ
โ Yes No
โ โ โ
โ โ โผ
โ โ โโโโโโโโโโโโ
โ โ โ Log & โ
โ โ โ Alert โ
โ โ โโโโโโโโโโโโ
โ โ โ
โ โ โผ
โ โ โโโโโโโโโโ
โ โ โ Fail โ
โ โ โโโโโโโโโโ
โ โ
โ โโโ(Retry)โโโ
โ โ
โโโโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโ
โ Continue โ
โโโโโโโโโโโโ
12. ๐ INTEGRATION POINTS
Called By
- Documentation workflows - For process documentation
- Spec Kit workflows - For workflow visualization
- Onboarding systems - For user journey mapping
- Architecture reviews - For system flow documentation
Pairs With
- workflow-spec-kit - Visualizing the 15-step workflow
- git-worktrees - Documenting branch strategies
- Project documentation - Process guides and READMEs
Outputs To
- Markdown files in project documentation
- README files
- Specification documents
- Knowledge base articles
- Process handbooks
13. ๐ REFERENCES
Character Sets Used
Box Drawing Characters:
โโโโโโ- Single lineโโโโโโ- Double lineโโคโฌโดโผ- Line intersectionsโญโฎโฐโฏ- Rounded corners
Arrows:
โฒโผโโถ- Filled trianglesโโโโ- Line arrowsโโ- Bidirectional
Shapes:
โฑโฒ- Diamond cornersโโโ- Filled shapes
Related Documentation
- ASCII Art and Box Drawing Standards
- Markdown Extended Syntax
- Flowchart Design Best Practices
14. ๐ก TIPS & BEST PRACTICES
Clarity Over Complexity
- If diagram needs more than 40 boxes, split into multiple diagrams
- Use nested sub-process notation for complex steps
- Link to separate detailed diagrams when needed
Consistent Terminology
- Use same terms throughout (e.g., "User" vs "Customer")
- Match terminology to your domain/project
- Define acronyms on first use
Consider Your Audience
- Technical audience: Can include system details
- Business audience: Focus on high-level flow
- Mixed audience: Use layers (overview + detailed views)
Maintenance
- Keep flowcharts near related code/docs
- Update when process changes
- Include version/date in header
- Document major process changes in git commits
Testing Your Diagram
- Ask someone unfamiliar to trace a path
- Check if all questions are answered visually
- Verify no ambiguous connections
- Confirm all outcomes are shown
- Test readability at different zoom levels
15. ๐ฏ QUICK REFERENCE
Common Scenarios
| Need | Pattern to Use |
|---|---|
| Linear process | Pattern 1: Sequential |
| Yes/No decision | Pattern 2: Decision Branch |
| Multiple paths split | Pattern 2: Multi-way Branch |
| Simultaneous work | Pattern 3: Parallel Execution |
| Complex subprocess | Pattern 4: Nested Process |
| Manual checkpoint | Pattern 5: Approval Gate |
| Repeated action | Pattern 6: Loop/Iteration |
| Multi-phase project | Pattern 7: Pipeline |
| User journey | Example 2 format |
| Review process | Example 3 format |
Quick Syntax
Standard box: โโโโโโโ
Important box: โโโโโโโ
Terminal: โญโโโโโโฎ
Decision: โฑโโโโโโฒ
Down arrow: โ โผ
Branch: โโโโโ
Parallel divider: โโโโโ
Section header: โโโโโ