Skip to content

lark-doc

Create, read, edit, and manage Lark documents with content extraction, summarization, and formatting support.

— (0 ratings) 506.9K downloads larksuite
$ npx skills add https://github.com/larksuite/cli --skill lark-doc

Skills can run code on your computer. Review the source before installing. This listing is community-made and isn't affiliated with Anthropic.

About this skill

Summary

Create, read, edit, and manage Lark documents with content extraction, summarization, and formatting support.

  • Supports three document types: Docx, Wiki, and Cloud Documents; handles embedded spreadsheets, multidimensional tables, and whiteboards by extracting tokens for downstream skill routing
  • Core operations include fetch (with scoping and detail levels), create (XML or Markdown), update (str_replace, block operations, append, overwrite), and media management (insert, download, preview)
  • All docs +create, docs +fetch, and docs +update commands require --api-version v2 flag; defaults to DocxXML format unless Markdown is explicitly requested
  • Recognizes Feishu document URLs and tokens from both feishu.cn and doubao.com domains; routes based on URL path patterns and token type, not domain alone

docs

场景与 Shortcut 路由

CRITICAL:先判断场景,再读取该场景的参考文件;不要在任务开始时一次性读取全部参考文件。每个文件只在首次进入对应阶段时读取一次。

身份:文档操作推荐显式指定 --as user。

本地文件引用统一遵循文件访问权限:CWD 内优先使用 @./相对路径,其他目录使用 @绝对路径。XML 内的相对资源路径先查 CWD;仅文件不存在时再查源 XML 文件所在目录,同名文件以 CWD 为准。内联内容、stdin、在线文档没有源文件目录,不执行回退。

文档内容

  • **读取 / 摘要 — +fetch**:先读参考再获取文档。
  • **从零创作 — 创建工作流:先完整执行创建工作流,简单任务不是跳过的理由**;
  • **导入 / 空文档 — +create**:仅创建空文档或原样导入用户提供的完整内容时,跳过创建工作流。
  • **编辑 / block 直达链接 — +update**:语义改写、润色、重组、补写或排版均按 update 参考完成。

辅助能力


Installs: 506.9K | GitHub stars: 18.2K | First seen: Mar 28, 2026

Related skills

New

Testing

grill-with-docs

Relentless design interrogation that stress-tests plans against your domain model and sharpens terminology inline.

New • 1.4M
New

Writing & content

setup-matt-pocock-skills

Configuration scaffold for engineering skills to locate issue tracker, triage labels, and domain documentation.

New • 1.2M
New

AI & LLMs

domain-modeling

Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a GLOSSARY.md, or recording or editing an ADR.

New • 1M