Lark doc

From seaworld008/Commonly-used-high-value-skills · View interactive version

Lark doc is an AI agent skill from the GitHub repository seaworld008/Commonly-used-high-value-skills. 用于读取、创建和编辑飞书 Docx/Wiki,处理正文图片、附件与思维笔记。用户提供 /docx/、/wiki/ URL/token(含 doubao.com)时使用;/page/ 是妙搭应用。内嵌资源按读取参考分流;独立评论走 lark-drive,随正文读取评论用 docs +fetch。表格和 Base 数据操作转对应技能。

How to use this skill

Skill file

docs

场景与 Shortcut 路由

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

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

本地文件访问:优先使用已授权的 CWD 相对路径;区别文档内容引用(如 @file)、文件 flag 与输出路径,其他形式按该命令已安装版本的帮助和宿主文件权限选择,不假定所有命令都接受 @绝对路径。XML 相对资源按文档参考先查 CWD,缺失时再查源 XML 目录,同名文件以 CWD 为准;两处均须在授权范围内。内联内容、stdin、在线文档没有源文件目录,不执行回退。

文档内容

辅助能力

资源、画板与思维笔记

认证与 Scope

执行 Shortcut 时,不预读 CODE0 或预跑 auth status --verify;仅遇到未认证、token / 身份或 scope 错误时读取该 Skill,修复后重试。认证、身份或 scope 管理请求则直接使用该 Skill。

不在本 Skill 范围

<!-- LOCAL-QUALITY-SUPPLEMENT:START -->

Usage Notes

This supplement is maintained by the repository sync pipeline. It keeps the

imported upstream skill usable inside this curated collection when the upstream

source is intentionally concise.

Common Patterns

1. Confirm that the user's task matches the skill trigger.
2. Read the relevant project files or user-provided context before acting.
3. Choose the smallest reversible action that advances the task.
4. Run the verification command or manual check that proves the result.
5. Report the outcome, evidence, and any remaining risk.

Boundaries

guardrails.

unavailable.

expose private data, or change production state.

applicable workflow and keep user or repository instructions authoritative.

<!-- LOCAL-QUALITY-SUPPLEMENT:END -->

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.