SuperAPI AI Directory

feishu-doc-orchestrator

Office & productivity

View repository

Updated 10-16 01:56

About this skill

Feishu document creation skill - GitHub release version

Converts Markdown files into Feishu documents, supports 25 block types, and provides complete permission management.

Quick Start

1. Configure the Feishu application

First-time use requires configuring the Feishu Open Platform application information:

python .claude/skills/feishu-doc-orchestrator/scripts/setup_config.py

Or manually create a configuration file .claude/feishu-config.env:

# 从 https://open.feishu.cn/ 获取
FEISHU_APP_ID = "cli_xxx"
FEISHU_APP_SECRET = "xxxxxxxx"

# 可选:自动添加文档权限
FEISHU_AUTO_COLLABORATOR_ID = "ou_xxx"

# 可选:默认文件夹
FEISHU_DEFAULT_FOLDER = "folder_token"

2. Check the configuration

python .claude/skills/feishu-doc-orchestrator/scripts/check_config.py

3. Use the skill

请帮我将 docs/example.md 转换为飞书文档

Supported 25 block types

Basic text (11 types):text, heading1-9, quote_container Lists (4 types):bullet, ordered, todo, task Special blocks (5 types):code, quote, callout, divider, image AI blocks (1 type):ai_template Advanced blocks (5 types):bitable, grid, sheet, table, board

Skill architecture

feishu-doc-orchestrator/        # 主技能
├── feishu-md-parser/               # Markdown解析
├── feishu-doc-creator-with-permission/  # 创建+权限
├── feishu-block-adder/             # 批量添加
├── feishu-doc-verifier/            # 文档验证
└── feishu-logger/                  # 日志记录

Test script

# 测试所有25种块类型
python .claude/skills/feishu-doc-orchestrator/scripts/test_all_25_blocks.py

Notes

⚠️ Important:

  • The configuration file contains sensitive information; do not commit it to Git
  • .claude/feishu-config.env and .claude/feishu-token.json are already in .gitignore
  • When publishing, make sure personal privacy data is not included