返回 Skill 列表
extension
分类: 效率与办公无需 API Key

Feishu Docx PowerWrite

通过OpenClaw实现高质量飞书/ Lark Docx文档编写。可将Markdown转换为格式规范的飞书文档(支持标题、列表、嵌套、代码块),使用feishu_docx_write_markdown接口。包含安全流程、模板及故障排查。触发条件:飞书doc/docx链接、「写入飞书文档」、「生成飞书文档」、「追加/替换docx」、「Markdown转飞书文档」或用户需要统一规范的文档格式。

person作者: xiongjjljhubclawhub

Feishu Docx PowerWrite

This skill focuses on reliably writing great-looking Feishu Docx using OpenClaw’s Feishu OpenAPI tools.

Key idea: prefer feishu_docx_write_markdown (Markdown → Docx blocks) for structure-preserving output.

Quick workflow

  1. Get document_id (Docx token)
  • From a Docx URL: https://.../docx/<document_id>
  1. Decide write mode
  • Append: add new content below existing content (most common)
  • Replace: overwrite the entire document (use carefully)
  1. Write markdown
  • Use headings + lists + short paragraphs
  • Avoid huge single paragraphs (harder to read)

Recommended defaults

Append mode (safe)

Use when adding sections, meeting notes, daily logs.

  • mode: append
  • Keep each append chunk <= ~300-600 lines if possible

Replace mode (destructive)

Use when generating the full doc from scratch.

  • mode: replace
  • MUST set confirm: true

Markdown patterns that render well

Title + summary

# <Title>

**Summary**
- Point 1
- Point 2

---

Sections

## Section

Short paragraph.

- Bullet
- Bullet

### Subsection

1) Step
2) Step

Code

Use fenced blocks.

```bash
openclaw skills check

## Templates & references

- Templates: `references/templates.md`
- Troubleshooting: `references/troubleshooting.md`

## Safety / privacy

- Never hardcode tokens, chat_id, open_id, or document links inside this skill.
- Always use the user’s own Feishu app credentials and scopes.