SkillsGrove
SkillsGrove/생산성/leecyno1/newma-media-studio/feishu-doc-creator

feishu-doc-creator

설치

$npx skills add https://github.com/leecyno1/newma-media-studio --skill feishu-doc-creator
$git clone --depth 1 https://github.com/leecyno1/newma-media-studio.git /tmp/newma-media-studio && mkdir -p ~/.claude/skills && cp -r /tmp/newma-media-studio/skills/feishu-doc-creator ~/.claude/skills/feishu-doc-creator
이 Agent Skill을 설치해 주세요: https://github.com/leecyno1/newma-media-studio/tree/1760eda6177fb7a2a566126c889c485e630c03b5/skills/feishu-doc-creator — 먼저 SKILL.md와 스크립트를 읽고, 안전하다고 확인한 뒤에만 제 skills 폴더에 설치해 주세요.

요약

원문 설명 · MITUse when creating or updating Feishu docs from markdown in this repo and you need the known-safe block conversion flow instead of writing docx blocks naively.
아래 SKILL.md는 leecyno1/newma-media-studio(커밋 1760eda)에서 MIT 라이선스에 따라 게시한 것입니다. 본문은 변경하지 않았으며, 파일 상단의 메타데이터만 생략하고 이미지는 링크로 표시하며 매우 긴 파일은 일부만 표시합니다. Copyright 2026 Newma Media Studio. 라이선스: LICENSE. 지침 파일만 표시되며 스크립트 등은 원본 저장소를 참고하세요.

Feishu Doc Creator

目标

用本仓库已经验证过的方式,把 markdown 文档可靠写入飞书 docx 文档。

本地实现

  • 脚本:${DASHENG_PROJECT_ROOT:-.}/scripts/send_feishu_report.py

核心规则

  • 先走 markdown convert API
  • 过滤不支持创建的 block 类型:
    • 31 Table
    • 32 TableCell
  • 按 first_level_block_ids 排序后再写入
  • 表格型内容若无法通过 API 直写,必须优雅降级而不是卡死

何时使用

  • 阶段报告要同步飞书
  • Intake / Brief / Draft / Publish 文档要批量推送飞书
  • 需要避免空白文档、invalid param、block 顺序错乱
라이선스 전문 보기(MIT)
MIT License

Copyright (c) 2026 Newma Media Studio

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.