CommunityBildgithub.com

zc277584121/md-to-feishu

Konvertiert lokale Markdown-Dateien in Feishu (Lark)-Dokumente mit automatischem Bild-Upload. Nutzt das feishu-docx CLI-Tool.

Was ist md-to-feishu?

Dieses Skill wandelt lokale Markdown-Dateien in Feishu (Lark)-Dokumente um und lädt dabei automatisch eingebettete Bilder hoch. Es basiert auf dem Kommandozeilen-Tool `feishu-docx` und ermöglicht Entwicklern und KI-Agenten, Inhalte nahtlos von Markdown in die Feishu-Plattform zu übertragen - ideal für Dokumentation, Wissensmanagement und Kollaboration. Unterstützt werden gängige Markdown-Elemente wie Überschriften, Listen, Codeblöcke, Tabellen und Bilder, wobei letztere automatisch in Feishu-Bilder konvertiert werden. Der Skill eignet sich besonders für Entwickler, die ihre lokalen Markdown-Notizen, Blogbeiträge oder technische Dokumentationen in Feishu veröffentlichen möchten, ohne die Formatierung manuell anpassen zu müssen.

Funktioniert mit~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/zc277584121/marketing-skills/tree/main/skills/md-to-feishu

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

In Ihrer bevorzugten KI fragen

Öffnet einen neuen Chat, in dem dieser Agent-Skill bereits geladen ist.

Vorschau

Aus dem Skill-README

Ein Beispielbild

Dokumentation

Was macht md-to-feishu?

Konvertiert lokale Markdown-Dateien in Feishu (Lark)-Dokumente mit automatischem Bild-Upload. Nutzt das feishu-docx CLI-Tool.

Voraussetzungen

  • feishu-docx CLI-Tool installiert
  • Feishu (Lark)-App-Zugangsdaten (App ID und App Secret)
  • Python 3.6+

Installation

  1. Klone das Repository:

    git clone https://github.com/zc277584121/md-to-feishu.git
    cd md-to-feishu
    
  2. Installiere die Abhängigkeiten:

    pip install -r requirements.txt
    
  3. Konfiguriere Umgebungsvariablen:

    export FEISHU_APP_ID="your_app_id"
    export FEISHU_APP_SECRET="your_app_secret"
    

Verwendung

Führe das Skript mit einer Markdown-Datei als Argument aus:

python md_to_feishu.py pfad/zu/deiner/datei.md

Optional kannst du auch eine "user_id" (gemäß der Feishu-Open-API) angeben:

python md_to_feishu.py pfad/zu/deiner/datei.md --user_id deine_user_id

Funktionen

  • Automatischer Bild-Upload: Bilder in der Markdown-Datei werden erkannt und automatisch in Feishu-Bild-Assets hochgeladen.
  • Format-Erhaltung: Unterstützt gängige Markdown-Elemente: Überschriften, Listen, Codeblöcke, Tabellen und mehr.
  • Einfache Integration: Funktioniert mit dem standardmäßigen feishu-docx CLI-Tool.

Beispiel

Angenommen, du hast eine Datei dokumentation.md:

# Meine Dokumentation

Dies ist ein **fetter** Text und ein [Link](https://example.com).

![Ein Beispielbild](images/beispiel.png)

Führe aus:

python md_to_feishu.py dokumentation.md

Der Skill erstellt ein neues Feishu-Dokument mit dem korrekt formatierten Inhalt und dem hochgeladenen Bild.

Fehlerbehebung

  • Feishu-App-Zugangsdaten: Stelle sicher, dass FEISHU_APP_ID und FEISHU_APP_SECRET korrekt gesetzt sind.
  • Bildpfade: Verwende relative oder absolute Pfade zu lokalen Bilddateien. Der Skill unterstützt keine URLs.
  • feishu-docx: Überprüfe, ob das CLI-Tool installiert ist: feishu-docx --help.

Lizenz

MIT

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/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/mermaid-to-image

Convert Mermaid code blocks in Markdown files to PNG images using the mermaid.ink API.

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.

Verwandte Skills