New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Convert local Markdown files into Feishu documents, rendering Mermaid diagrams and uploading images automatically.

skills.sh installs
3.8K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers the full conversion flow: title detection, runtime check, Mermaid pre-processing, upload, cleanup, and result reporting
  • Runs through the feishu-docx create command, preferring uvx and falling back to a globally installed feishu-docx on Python 3.11 or later
  • Renders each ```mermaid block to PNG via the mermaid.ink API on a temp copy, leaving the original Markdown file unmodified
  • Designed for users who keep documentation in Markdown and need Feishu (Lark) credentials configured before running

Install

$ npx -y skills add zc277584121/marketing-skills --skill md-to-feishu -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Markdown to Feishu Document

Convert a local Markdown file into a Feishu document, with automatic image upload.

User Input

The user only needs to provide a Markdown file path. Title is optional — if not provided, extract it automatically (see below).

Step 1: Determine the Document Title

  1. Read the Markdown file and look for the first # heading — use that as the title.
  2. If no # heading exists, scan the content and generate a concise, descriptive title based on the topic.
  3. If the user explicitly provides a title, use that instead.

Step 2: Check the Runtime Environment

Try each option in order. Use the first one that works.

Option A: uvx (preferred)

which uvx

If uvx is available, the run command is:

uvx feishu-docx create "<TITLE>" -f <MARKDOWN_FILE_PATH>

If uvx runs with Python < 3.11, add --python 3.11:

uvx --python 3.11 feishu-docx create "<TITLE>" -f <MARKDOWN_FILE_PATH>

Option B: feishu-docx already installed

which feishu-docx

If found, check Python version:

python3 --version

If Python >= 3.11, the run command is:

Details

Repository
github.com/zc277584121/marketing-skills
Categories
Office Files & Slides, Technical Documentation
First seen
May 16, 2026

More from zc277584121/marketing-skills

All 14

Similar to Md To Feishu

More Office Files & Slides