飞书文档可读性优化
飞书文档格式优化与安全修改规范。**必须在通过MCP修改任何mi.feishu.cn文档之前加载此skill**。包括最小修改原则、富文本保护、段落间距、加粗规范。触发条件:用户要求修改飞书文档内容或格式,涉及mi.feishu.cn域名,或调用小米飞书MCP的update-doc工具。
Why use this skill?
使用飞书文档可读性优化Skill,通过最小修改原则和精准排版技术,解决飞书API自动修改文档时的格式错乱问题,提升云文档视觉层次感。
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/guoqunabc/feishu-readabilityWhat This Skill Does
飞书文档可读性优化 (Feishu Doc Readability Optimizer) 是一款专门为飞书云文档(mi.feishu.cn)定制的格式化与安全维护工具。它通过引入“最小修改原则”和“带属性占位符”技术,解决了通过 API 自动写入文档时常见的排版紧凑、视觉层次模糊及富文本丢失问题。该 Skill 能够自动化处理段落间距、加粗规范以及列表格式,确保自动化修改后的文档符合专业的人工阅读排版标准。
Installation
在 OpenClaw 环境中,请在控制台执行以下命令进行安装:
clawhub install openclaw/skills/skills/guoqunabc/feishu-readability
安装完成后,在处理任何飞书文档任务前,请先调用该 Skill 以加载其安全约束与排版规范。
Use Cases
本 Skill 适用于以下场景:
- 自动化文档排版:将生成的 Markdown 文本同步至飞书,并希望其在飞书客户端拥有良好的阅读体验。
- 格式规范化:批量修复文档中加粗标点粘连、标题间距过窄等排版瑕疵。
- 高风险编辑:涉及包含图片、公式等富文本标签的文档修改,需要严格遵守最小修改原则,防止数据意外丢失。
Example Prompts
- "请通过小米飞书MCP将当前的文档项目计划标题前增加适当的视觉间距,确保阅读体验更清晰。"
- "修正文档中所有‘加粗文字:正文’的格式,确保冒号外侧有空格,并按照飞书格式卫生规范检查列表项标点。"
- "在这个飞书文档中,将‘核心指标’章节下的内容进行微调,仅修改文案,严禁重写文档或破坏原有的图片资源引用。"
Tips & Limitations
- 核心铁律:绝对禁止使用
overwrite模式,避免丢失历史记录与评论。 - 空白修复:若遇到飞书解析器自动清洗空白导致排版过于拥挤,请务必使用带
{align="center"}属性的空段落进行强制占位。 - 定位精准:利用唯一的标点符号或特有 Token 进行
selection_with_ellipsis定位,避免大范围选区误伤其它内容。 - 富文本保护:对于包含
<image>等复杂标签的区块,修改前必须先行获取 Token,禁止在未解析原文件结构的情况下盲目覆盖。
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-guoqunabc-feishu-readability": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: external-api, file-write, file-read
Related Skills
gateway-watchdog
Monitor OpenClaw Gateway health by detecting abnormal error rates in logs. Use when: (1) setting up Gateway error monitoring, (2) diagnosing repeated API failures (429, quota, timeouts), (3) user asks about Gateway health or error trends, (4) integrating error detection into heartbeat checks. Detects rate-limiting, server errors, auth failures, network errors, and message delivery failures across all channels.
Feishu Doc Writing
Skill by guoqunabc
chat-with-l
和小提(L)聊天。小提是朋友 Kid(孙榕)的 OpenClaw AI 助手,运行在 49.232.185.232:18789。使用场景:(1) 主人让雷姆去找小提聊天/传话/打招呼,(2) 提到"小提"、"L"、"Kid"、"孙榕"相关的对话请求。
feishu-doc-editing
Performance-optimized strategies for editing Feishu (Lark) documents via OpenClaw's feishu_doc tool. Use when: (1) modifying existing Feishu documents, (2) inserting images at specific positions, (3) writing tables or structured content, (4) any multi-block document editing task, (5) writing long documents that may hit API size limits. Provides concrete patterns to minimize API calls and maximize editing speed while preserving existing formatting. Covers: parallel operations, positioned image insertion, large document chunking, rate-limit handling, rich-text preservation, and conflict avoidance. Complements the built-in feishu-doc skill (API reference) with operational best practices.
browser-zombie-cleaner
Detect and clean up zombie browser processes left by OpenClaw's browser tool. When the OpenClaw Gateway restarts, Playwright-launched browser processes get orphaned and accumulate memory. This skill identifies them safely and optionally terminates them. Use when: memory is high, browser processes are piling up, or as part of periodic health checks.