Converts local Markdown files into Feishu documents with automatic image handling, which is genuinely useful if you're maintaining docs in both formats. The implementation is thorough: it extracts titles from headings, detects your Python environment (uvx preferred, falls back to global install), and most impressively, converts Mermaid diagrams to PNG via the mermaid.ink API before upload since Feishu can't handle them natively. It creates temp files for processing and cleans up after itself. The main catch is you need Python 3.11+ and Feishu API credentials configured first. Solid automation for a specific but real workflow problem.

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

Install

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

Installs into .claude/skills of the current project.

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:

Sponsors

Details

Repository
github.com/zc277584121/marketing-skills
Categories
Marketing & SEO, CLI & Terminal, Office & Documents
First seen
May 16, 2026

More from zc277584121/marketing-skills

All 14
1zc277584121 avatarscreenshot-compressionzc277584121/marketing-skillsCompress PNG and JPEG screenshots in place using pngquant and jpegoptim, keeping the original format for maximum compatibility.3.8Kskills.sh installs
2kostja94 avatartiktok-captionskostja94/marketing-skillsWhen the user wants to create TikTok video captions, scripts, or optimize for TikTok. Also use when the user mentions "TikTok post," "TikTok caption," "TikTok v2.9Kskills.sh installs
3blacktwist avatarcarousel-writer-smsblacktwist/social-media-skillsWhen the user wants to write content for a LinkedIn carousel, Instagram carousel, Facebook carousel, TikTok photo carousel, Pinterest Idea Pin, or any swipeable2.5Kskills.sh installs
4kostja94 avatartranslationkostja94/marketing-skillsWhen the user wants to translate content, create translation workflows, manage terminology, or optimize translation quality. Also use when the user mentions "tr2.4Kskills.sh installs
5kostja94 avatarreddit-postskostja94/marketing-skillsWhen the user wants to create Reddit post copy, comments, or optimize for Reddit. Also use when the user mentions "Reddit post," "subreddit," "r/," "Reddit mark2.4Kskills.sh installs
6zc277584121 avatarmilvus-meme-stickerzc277584121/marketing-skillsCreate tiny no-text Milvus-style sticker memes for technical marketing, WeChat-style article moments, community posts, and developer-group reactions. Use when t2.3Kskills.sh installs