Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/wulaosiji/skills --skill feishu-block-adder명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
长文生成与深度写作工具,支持结构化长文(2000字以上)的生成,包括教程、研究报告、分析报告等。 Use when: - 生成长篇教程(2000字以上)generate long tutorials 2000+ words - 撰写研究报告 write research reports - 创建深度分析报告 create in-depth analysis - 将原始数据转为叙事结构 transform data to narrative - 扩写大纲为完整内容 expand outline to full content - 多章节长文档生成 multi-chapter document generation Cross-references: content-extractor, document-hub, pdf, email-sender, md-to-wechat Part of UniqueClub toolkit. Learn more: https://uniqueclub.ai
微信公众号文章抓取工具,基于Playwright绕过微信反爬机制,获取完整文章内容。 Use when: - 抓取微信公众号文章内容 fetch WeChat article content - 批量获取公众号文章 batch fetch WeChat articles - 公众号内容归档 archive WeChat content - 文章素材收集 article material collection - 绕过微信反爬 bypass WeChat anti-crawling - 微信文章转Markdown convert WeChat to Markdown Cross-references: content-extractor, document-hub, pdf, md-to-wechat, long-form-writer Part of UniqueClub toolkit. Learn more: https://uniqueclub.ai
Twitter/X推文抓取工具,基于xcancel.com获取公开推文数据,支持单个用户抓取、批量账号抓取、JSON/CSV输出。 Use when: - 抓取Twitter/X用户推文 scrape Twitter/X tweets - 批量监控多个账号 batch monitor multiple accounts - 社交媒体数据分析 social media data analysis - 获取公开推文数据 fetch public tweet data - 推特内容归档 archive Twitter content - 竞品/舆情监控 competitive monitoring Cross-references: content-extractor, rss-feed, document-hub, email-sender, long-form-writer Part of UniqueClub toolkit. Learn more: https://uniqueclub.ai
SOC 직업 분류 기준
SKILL.md 표시 중
| name | feishu-block-adder |
| description | 块添加子技能 - 将解析后的块数据添加到飞书文档,分批处理,支持表格和普通块。 |
将解析后的块数据添加到飞书文档,分批处理以避免 API 限制。
blocks.json - 由 feishu-md-parser 生成doc_info.json - 由 feishu-doc-creator-v2 生成output/add_result.json - 添加结果统计从 blocks.json 加载解析后的块。
从 doc_info.json 加载文档 ID。
保存添加结果到 output/add_result.json。
{
"success": true,
"document_id": "U2wNd2rMkot6fzxr67ScN7hJn7c",
"total_blocks": 290,
"tables_created": 10,
"regular_blocks": 280,
"batches": 15,
"duration_seconds": 5.2
}
python scripts/block_adder.py workflow/step1_parse/blocks.json workflow/step2_create/doc_info.json output
result = call_skill("feishu-block-adder", {
"blocks_file": "workflow/step1_parse/blocks.json",
"doc_info_file": "workflow/step2_create/doc_info.json",
"output_dir": "workflow/step3_add_blocks"
})
feishu-md-parser 的块数据feishu-doc-creator-with-permission 的文档信息feishu-doc-verifier 和 feishu-logger| block_type | 名称 | 状态 | 说明 |
|---|---|---|---|
| 2 | text | ✅ | 普通文本 |
| 3-8 | heading1-6 | ✅ | 一到六级标题 |
| 12 | bullet | ✅ | 无序列表 |
| 13 | ordered | ✅ | 有序列表 |
| 14 | code | ✅ | 代码块 |
| 15 | quote | ✅ | 引用块 |
| 22 | divider | ✅ | 分割线 |
| 31 | table | ✅ | 表格(特殊处理) |
详细的块类型支持情况请查看:
.claude/skills/feishu-md-parser/BLOCK_TYPES.mdfeishu-md-parser/scripts/md_parser.py 中添加解析逻辑scripts/block_adder.py 的有效块类型检查中添加新类型BLOCK_TYPES.md 中的示例代码# 在 block_adder.py 中添加新块类型(约第 247 行)
if block_copy.get("block_type") in [
2, 3, 4, 5, 6, 7, 8, # text, headings
12, 13, # lists
14, # code
15, # quote
19, # callout (新增示例)
22, # divider
]:
valid_blocks.append(block_copy)
Callout 块的颜色字段必须直接放在 callout 对象下,不能嵌套在 style 中。
{
"block_type": 19,
"callout": {
"elements": [{"text_run": {"content": "警告信息"}}],
"emoji_id": "warning",
"background_color": 1,
"border_color": 1,
"text_color": 1
}
}
在 block_adder.py 第 130-178 行:
def create_callout_with_children(token, config, document_id, callout_style, callout_content):
payload = {
"children": [{
"block_type": 19,
"callout": {
"elements": [{"text_run": {"content": callout_content}}],
**callout_style # 关键:使用展开操作符
}
}],
"index": -1
}
# ... 调用 API
检查 API 返回的 callout 对象是否包含颜色字段:
returned_callout = result["data"]["children"][0].get("callout", {})
if "background_color" not in returned_callout:
print("❌ 格式错误:颜色字段未被保存")
../feishu-doc-orchestrator/TROUBLESHOOTING.md../feishu-doc-orchestrator/test_callout_only.py