docs-editor
Use when the user asks to edit a Feishu Document, insert elements, or modify specific text in a document. The agent should use keyboard shortcuts for precision instead of mouse clicks.
- License 许可
- MIT
- 最近更新
- 2026-05-05
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- docs-editor
- description
- Use when the user asks to edit a Feishu Document, insert elements, or modify specific text in a document. The agent should use keyboard shortcuts for precision instead of mouse clicks.
02 资源文件 1
- 脚本scripts/docs_editor.py14.2 KB
03 SKILL.md 正文
Docs Editor Skill
Provide robust guidance for document editing workflows in Feishu Docs.
Trigger
Use this skill when the user intent is equivalent to:
- 在文档中的 xxx 后面补充内容
- 在文档里插入一个表格/图片/待办
- 把文档中的 xxx 改为 yyy
Workflow
To avoid inaccurate mouse clicks in a free-form canvas like Feishu Docs, this skill enforces a Keyboard-Driven approach.
1. Anchor Search (精准定位文本)
If you need to edit or append content near specific text:
- Press
ctrl+f(orcmd+fon Mac) to open the document search box. - Input the target text to search. The cursor will automatically jump to the target.
- Press
escto close the search box. - Press
rightarrow key to unselect the highlighted text and place the cursor at the end of the text. - Input your new text.
2. Slash Command (精准插入元素)
If you need to insert complex elements (tables, code blocks, images, todos):
- Locate the correct position (using Anchor Search or arrow keys).
- Input
/to trigger the shortcut menu. - Input the element name (e.g.,
表格,待办). - Press
enter.
ReAct constraints
- ABSOLUTELY FORBIDDEN: Do not try to use
click_positionto precisely click on a specific word or sentence in the document editing area. Visual coordinates are too inaccurate for text editing. - Always prefer
press_keyandpaste_content(orinput_text) for document operations. - Selecting text should be done via
shift + arrow keysrather than mouse dragging.
04 同仓库更多 Skills
send-message
Use when the user asks to send a message to a specific contact in Lark. The agent should open search, locate the contact, enter the chat window, paste the message content, and send with Enter.
schedule-video-meeting
Automatically parse time and participants from natural language to schedule a video conference via UI automation.