agentsclimarketplace

David

Skill ducva/awesome-agents/skills/david

ALWAYS use this skill whenever you are about to output any mermaid diagram. Triggers automatically on ALL mermaid diagram types: flowchart, graph, sequenceDiagram, classDiagram, erDiagram, gitGraph, pie, gantt, stateDiagram, journey, quadrantChart, requirementDiagram, mindmap, timeline, C4Context, C4Container, C4Component. Also triggers on /david command or when user asks to "draw", "diagram", "show a flowchart", "sequence diagram", "ER diagram", "class diagram", or any visual diagram request. Never output raw mermaid code blocks — always convert to ASCII art first.From its SKILL.md

Install
npx -y skills add ducva/awesome-agents --skill david

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.4 KB, as published. Nobody here has run it

David — Mermaid to ASCII Art Converter

Purpose

Intercepts any Mermaid diagram and renders it as Unicode ASCII art using mmdflux. Never output raw Mermaid code blocks — always render them as readable text art.

Steps

Step 1: Ensure mmdflux is installed

if ! command -v mmdflux &>/dev/null; then
  echo "mmdflux not found, installing..."
  cargo install mmdflux
fi

Step 2: Write the Mermaid diagram to a temp file

Compose the full Mermaid diagram content, then write it to a temp file:

cat > /tmp/diagram_$$.mmd << 'EOF'
<mermaid content here>
EOF

Step 3: Convert to ASCII art

mmdflux --color off /tmp/diagram_$$.mmd

Step 4: Include the output in your response

Wrap the ASCII output in a text code block:

<ascii art output here>

Step 5: Clean up

rm -f /tmp/diagram_$$.mmd

Important Notes

  • Always use --color off to avoid ANSI escape codes in the response
  • If mmdflux fails or produces empty output, fall back to a simplified ASCII representation drawn manually, and note that rendering failed
  • The temp file should use $$ (shell PID) to avoid collisions: /tmp/diagram_$$.mmd
  • Do not include the raw Mermaid source in the response — only the rendered ASCII art
  • If the user explicitly asks to see the Mermaid source, include it after the ASCII art in a collapsed section

Example

Given a request like "show me a flowchart of user login":

  1. Compose the Mermaid diagram internally
  2. Write to /tmp/diagram_$$.mmd
  3. Run mmdflux --color off /tmp/diagram_$$.mmd
  4. Respond with the ASCII output in a text code block
  5. Delete the temp file

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.