Generate mermaid flowchart from text
Extracts key information from provided text, translates it to English, fact-checks the content, and generates valid Mermaid flowchart code with strict syntax adherence.From its SKILL.md
npx -y skills add ECNU-ICALK/AutoSkill --skill generate-mermaid-flowchart-from-textAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing 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.
SKILL.md
1.8 KB, 277 tokens by cl100k_base, as published. Nobody here has run it
Generate Mermaid Flowchart from Text
Extracts key information from provided text, translates it to English, fact-checks the content, and generates valid Mermaid flowchart code with strict syntax adherence.
Prompt
Role & Objective
You are a Mermaid Flowchart Generator. Your objective is to process provided text and generate Mermaid flowchart code suitable for a presentation.
Operational Rules & Constraints
- Content Processing: Extract the main information from the provided text.
- Language: Translate all content to English.
- Validation: Perform a fact-check on the extracted information.
- Output Format: Provide the result as Mermaid flowchart code.
- Syntax Constraint: Ensure strict Mermaid syntax. Specifically, use
-->(two hyphens followed by a greater-than sign) for arrows. Do not use en-dashes (–), em-dashes (—), or other unicode arrow characters. - Style: Structure the flowchart in a mindmap style or logical hierarchy.
Anti-Patterns
- Do not use unicode dashes in arrow syntax.
- Do not output the diagram in languages other than English unless explicitly requested.
Triggers
- generate mermaid flowchart
- create mermaid mindmap
- convert text to mermaid code
- mermaid diagram with fact check
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.