AGENT SKILL

mermaid-to-svg

Use when the user needs Mermaid diagram text rendered to SVG using the local warpdotdev/mermaid-to-svg Rust renderer, or when validating Mermaid-to-SVG output without Node/headless-browser dependencies.

License 许可
MIT
所属仓库
agisota/old-one
最近更新
2026-07-04
Stars
★ 3
Forks
1

01 前言 Front Matter

name
mermaid-to-svg
license
MIT
metadata
{ "source_repo": "https://github.com/warpdotdev/mermaid-to-svg" }
description
Use when the user needs Mermaid diagram text rendered to SVG using the local warpdotdev/mermaid-to-svg Rust renderer, or when validating Mermaid-to-SVG output without Node/headless-browser dependencies.

03 SKILL.md 正文

Mermaid to SVG

Use this skill to convert Mermaid diagram source into SVG with the local warpdotdev/mermaid-to-svg checkout.

Source

The persistent source clone is:

/Users/marklindgreen/.skills-repos/mermaid-to-svg

The repository is a Rust crate. It exposes render_mermaid_to_svg as a library API and includes a CLI binary named render_mermaid.

Workflow

  1. Put the Mermaid source in a .mmd file or pipe it through stdin.
  2. Render with the local checkout:
cargo run --quiet --manifest-path /Users/marklindgreen/.skills-repos/mermaid-to-svg/Cargo.toml --bin render_mermaid -- diagram.mmd > diagram.svg

For stdin:

printf 'graph TD; A-->B\n' | cargo run --quiet --manifest-path /Users/marklindgreen/.skills-repos/mermaid-to-svg/Cargo.toml --bin render_mermaid -- > diagram.svg
  1. Inspect the SVG or open it in a browser/image viewer when visual proof is required.

Notes

  • Flowcharts are the primary supported diagram type.
  • Some other Mermaid diagram types render experimentally and may not match Mermaid CLI parity.
  • If a command fails, first run the same command without --quiet and inspect the Rust error instead of guessing.

04 同仓库更多 Skills

agisota
agisota/old-one

zoom-out

Tell the agent to zoom out and give broader context or a higher-level perspective. Use when you're unfamiliar with a section of code or need to understand how it fits into the bigger picture.

★ 3
agisota
agisota/old-one

zeroize-audit

Detects missing zeroization of sensitive data in source code and identifies zeroization removed by compiler optimizations, with assembly-level analysis, and control-flow verification. Use for auditing C/C++/Rust code handling secrets, keys, passwords, or other sensitive data.

★ 3
agisota
agisota/old-one

yeet

Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request in one flow using the GitHub CLI (`gh`).

★ 3
agisota
agisota/old-one

yara-rule-authoring

Guides authoring of high-quality YARA-X detection rules for malware identification. Use when writing, reviewing, or optimizing YARA rules. Covers naming conventions, string selection, performance optimization, migration from legacy YARA, and false positive reduction. Triggers on: YARA, YARA-X, malware detection, threat hunting, IOC, signature, crx module, dex module.

★ 3
agisota
agisota/old-one

x-twitter-growth

X/Twitter growth engine for building audience, crafting viral content, and analyzing engagement. Use when the user wants to grow on X/Twitter, write tweets or threads, analyze their X profile, research competitors on X, plan a posting strategy, or optimize engagement. Complements social-content (generic multi-platform) with X-specific depth: algorithm mechanics, thread engineering, reply strategy, profile optimization, and competitive intelligence via web search.

★ 3
agisota
agisota/old-one

x-api

X/Twitter API integration for posting tweets, threads, reading timelines, search, and analytics. Covers OAuth auth patterns, rate limits, and platform-native content posting. Use when the user wants to interact with X programmatically.

★ 3