Community影像github.com

zc277584121/mermaid-to-image

使用 mermaid.ink API 將 Markdown 檔案中的 Mermaid 程式碼區塊轉換為 PNG 圖片。

mermaid-to-image 是什麼?

此技能「zc277584121/mermaid-to-image」專為開發者與 AI 代理設計,能自動掃描 Markdown 檔案中的 Mermaid 程式碼區塊,並透過 mermaid.ink API 將其渲染成 PNG 圖片。它大幅簡化了在文件、部落格或專案 README 中嵌入圖表(如流程圖、時序圖)的流程,無需手動截圖或使用本機工具。此技能支援任何標準的 Mermaid 語法,並能保留原始程式碼區塊,方便後續編輯。主要適用於 Claude Code、Cursor 等可執行自訂技能的 AI 編碼代理環境,透過解析 Markdown 結構與 API 呼叫來實現自動化。它的核心優勢在於快速、無需安裝額外軟體,且能確保圖表與原始碼保持同步。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/zc277584121/marketing-skills/tree/main/skills/mermaid-to-image

Installed? Explore more 影像 skills: steipete/songsee, affaan-m/frontend-design, mattpocock/improve-codebase-architecture · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

mermaid-to-image 是做什麼的?

使用 mermaid.ink API 將 Markdown 檔案中的 Mermaid 程式碼區塊轉換為 PNG 圖片。

Individual skills in this repo

This repo contains 12 individual skills — each has its own dedicated page.

zc277584121/browser-screenshot

Take focused, region-specific screenshots from web pages. Navigates to the right page based on user context (URL, search query, social media post), locates the target region via DOM selectors, and crops to a clean, focused screenshot.

zc277584121/chrome-automation

Automate Chrome browser tasks using agent-browser CLI. Navigate pages, fill forms, click buttons, take screenshots, extract data, and replay recorded workflows — all inside the user's real Chrome session.

zc277584121/content-rewrite

Adapt and rewrite content for different platforms (LinkedIn, X, Reddit, English blog, WeChat). Each platform has its own tone, format, and length requirements.

zc277584121/github-traffic

Fetch, store, and visualize GitHub repository traffic data (views, clones, referrers, stars) with trend charts. Requires repo push access.

zc277584121/image-generation

Generate illustration images for articles and documentation with a Codex-first workflow, OpenAI API fallback, and Gemini fallback.

zc277584121/jupyter-notebook-writing

Write Milvus application-level Jupyter notebook examples using a Markdown-first workflow with jupyter-switch for format conversion.

zc277584121/md-to-feishu

Convert local Markdown files to Feishu (Lark) documents with automatic image uploading. Uses the feishu-docx CLI tool.

zc277584121/mermaid-to-gif

Convert Mermaid code blocks in .mmd or .md files to animated GIFs with customizable animation styles (progressive, highlight walk, pulse flow, wave).

zc277584121/raw-video-processing

Post-process raw screen recordings by removing silent segments and applying speed adjustments. Uses FFmpeg-based Python scripts to optimize video pacing automatically.

zc277584121/remove-ai-style

Review and adjust writing style to reduce AI-generated patterns, making text read more naturally and human-like. Supports Chinese and English.

zc277584121/screenshot-compression

Compress PNG and JPEG screenshots in place using pngquant and jpegoptim, keeping the original format for maximum compatibility.

zc277584121/video-to-gif

Convert a video to multiple GIF variants with different quality/size tradeoffs. Generates a comparison set so the user can visually pick the best result.

相關技能