agentsclimarketplace

Flowchart

Skill hhk7734/hhk7734/skills/flowchart

This skill should be used when the user asks to "create a flowchart", "update a flowchart", "draw a flowchart", "visualize a workflow", "diagram a process or algorithm", or needs to represent decision trees, state transitions, or workflows using Mermaid.From its SKILL.md

Install
npx -y skills add hhk7734/hhk7734 --skill flowchart

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

2.8 KB, as published. Nobody here has run it

Update Flowchart

When to use this skill

Use this skill when creating a new Mermaid flowchart or updating an existing one. This covers syntax for nodes, shapes, links, subgraphs, and styling.

Instructions

  1. Start with flowchart: Every flowchart must start with this keyword followed by the direction.
    • flowchart TD (Top-Down)
    • flowchart LR (Left-Right)
    • flowchart BT (Bottom-Top)
    • flowchart RL (Right-Left)
  2. Define Nodes:
    • Metadata Syntax: id@{ shape: <shape-name>, label: "label text" }
    • Common Shapes:
      • rect: Rectangle (default)
      • rounded: Rounded Rectangle
      • stadium: Stadium
      • subroutine: Subroutine
      • cyl: Cylinder (Database)
      • circ: Circle
      • dbl-circ: Double Circle
      • diam: Diamond (Decision)
      • hex: Hexagon
      • lean-r / lean-l: Parallelogram (Lean Right/Left)
      • trap-b / trap-t: Trapezoid (Base Bottom/Top)
      • odd: Odd Shape
      • event: Event
      • proc: Process
      • doc: Document
      • manual-input: Manual Input
      • manual-file: Manual File
      • card: Card
      • stored-data: Stored Data
    • Note: Legacy syntax (e.g., id[text]) is still supported but metadata syntax is preferred for newer features.
  3. Define Links:
    • Solid: A --> B
    • Dotted: A -.-> B
    • Thick: A ==> B
    • Open: A --- B
    • With text:
      • A -->|text| B
      • A -- text --> B
      • A -. text .-> B
      • A == text ==> B
  4. Special Characters:
    • Use quotes for text with special characters: id["Text with (special) chars"]
    • For multi-line labels, use <br/> instead of \n: id["Line 1<br/>Line 2"]
  5. Subgraphs:
    subgraph Title
        direction TB
        A --> B
    end
    
  6. Styling:
    • style id fill:#f9f,stroke:#333,stroke-width:4px
    • classDef className fill:#f9f,stroke:#333
    • class id className

Example

flowchart LR
    A@{ shape: rect, label: "Start" } --> B@{ shape: diam, label: "Is it working?" }
    B -- Yes --> C@{ shape: rect, label: "Great!" }
    B -- No --> D@{ shape: rect, label: "Debug" }
    D --> B

    subgraph SubSystem
        direction TB
        E@{ shape: cyl, label: "Database" } <--> F@{ shape: rounded, label: "API" }
    end

    C --> F

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.