Claude Code Plugins

Community-maintained marketplace

Feedback
0
0

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.

Install Skill

1Download skill
2Enable skills in Claude

Open claude.ai/settings/capabilities and find the "Skills" section

3Upload to Claude

Click "Upload skill" and select the downloaded ZIP file

Note: Please verify skill by going through its instructions before using it.

SKILL.md

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:

  1. Analyze the process/workflow to be visualized
  2. Select appropriate pattern(s) from the pattern library
  3. Build flowchart using standard components (boxes, arrows, decisions)
  4. Apply consistent styling and spacing
  5. Add context and annotations
  6. 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

  1. Ask someone unfamiliar to trace a path
  2. Check if all questions are answered visually
  3. Verify no ambiguous connections
  4. Confirm all outcomes are shown
  5. 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:   โ”€โ”€โ”€โ”€โ”€