Skills:lark-doc / openapi-explorer 指引与 CLI 实际能力矛盾,及 lark-slides 等提示写法问题
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 58/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- go
- Domain
- developer-experience, documentation
Research direction
Start by comparing the cited files under skills/: lark-doc, lark-openapi-explorer, lark-workflow-meeting-summary, lark-workflow-standup-report, lark-slides, lark-drive, lark-calendar, and lark-whiteboard. Check each suggested correction against the referenced Skill or CLI behavior, then update the instructions consistently. Done means all 12 listed issues are addressed and the Skills no longer give conflicting or misleading guidance.
Written by the indexing model from the issue text.
Description
背景
用 Claude Code 跑 lark-cli 内置 Skills 时做了一次提示词审计(v1.0.99,lark-cli update 同步后的版本)。下面是能对照仓库自身内容验证的问题,按影响排序;每条附了建议改法。和 #2140、#1848 的方向一致,但这里是具体的点。
一、两处说法与其他 Skill / CLI 实际能力矛盾(会把 agent 带到错误命令)
-
skills/lark-doc/SKILL.md:48写「复制文档……按其指引使用lark-cli drive files copy」,但它指向的skills/lark-drive/SKILL.md:19规定「必须使用lark-cli drive +copy」,references/lark-drive-copy.md也是+copy。- 建议:lark-doc 改成
lark-cli drive +copy。
- 建议:lark-doc 改成
-
skills/lark-openapi-explorer/SKILL.md:119-133的「场景 1:用户需要拉人进群(未被 CLI 封装)」示例说im --help里找不到 chat_members 的 create 命令,于是改走api POST。但skills/lark-im/SKILL.md:159已登记chat.members create。- 示例会教 agent 对已封装的能力去拼原生 API。
- 建议:删掉场景 1,保留场景 2(群公告)。
二、Skill 之间规则相反
-
lark-shared 要不要预读:
skills/lark-workflow-meeting-summary/SKILL.md:13要求「MUST 先完整读取 lark-shared」,同时加载的skills/lark-meeting/SKILL.md:15写「无需预读 lark-shared……仅遇到未认证、token / 身份或 scope 错误时读取」(lark-doc、lark-event 也是后一种写法)。- 建议:meeting-summary 对齐 lark-meeting。
-
日期计算:
skills/lark-workflow-standup-report/SKILL.md:50写「需要 AI 根据当前日期自行计算目标日期」,而lark-workflow-meeting-summary/SKILL.md:52和lark-calendar/SKILL.md:248都要求用date等系统命令、不要心算(容器常为 UTC,会差 8 小时)。- 建议:standup-report 改为「目标日期用
date根据当前日期算出,并显式带时区(如+08:00)」。
- 建议:standup-report 改为「目标日期用
-
lark-slides 内部矛盾:
skills/lark-slides/SKILL.md:25「页面任何一边都不要使用贴边窄条」与:60「卡片贴边窄条(可选)」。- 建议:25 行改为「页面四周不放贴边窄条(卡片内的贴边窄条可选)」。
三、lark-slides 的提示写法在新模型上起反作用
现在的模型对指令的服从度很高,满篇强调会让每条都被当成最高优先级,结果是过度执行、过度规划,强调本身也不再传达优先级。
:98-114连续 9 段**CRITICAL — … MUST …**。- 建议:合成一份平铺的「开始前按任务读取:认证 → lark-shared;历史版本 → …;写 XML 前 → schema;提交前 → xml_lint」清单,保留每条的条件和理由。
:21「!!!禁止交付无图产物!!! 必须使用大量图片增强视觉效果!!! 禁止重复使用同一张图!!!」、:55「!!!信息密度极高!!! 图多!!! 卡多!!! 字多!!!」(55 行是 54 行的重复)。- 建议:21 行改为「每页都要有图片,同一张图不重复使用」,删掉 55 行。
:13「务必使用 Read 工具阅读两次」、:19「你有充足的时间完成这个 PPT」、:43「当用户要求无损复述历史上下文时,必须无损复述……」。- 前两条是在补旧模型的毛病(记不住、偷懒),读两次只会让 token 翻倍;第三条是为上下文压缩写的补丁。
- 建议:删除。
:222「使用 NotifyHuman 工具交付 PPT 链接」:Claude Code 等多数 agent 里没有这个工具。- 建议:改为「在回复中把 PPT 链接交给用户」。
四、小问题
skills/lark-drive/SKILL.md有重复规则:- 27 行和 30 行是同一条(权限治理),27 行的引号还是错的(
”权限风险报告…”)。 - 「本地文件导入 Base 先用
drive +import --type bitable」在 17、38、51 行写了三遍。 - 建议:删掉 27 行和 51 行。
- 27 行和 30 行是同一条(权限治理),27 行的引号还是错的(
skills/lark-calendar/SKILL.md:247-248的「违者将导致严重的逻辑错误!」:理由(UTC 差 8 小时)已经写在句子里,威胁语气可以去掉。skills/lark-whiteboard/SKILL.md:15每次加载都「运行npx -y @larksuite/whiteboard-cli@^0.2.13 -v……无需询问用户」,本机没装时会静默从 npm 下载。- 建议:只在需要渲染或导出时检查,首次下载前告知用户。
我本地已按上面的建议改过这些文件,可以提 PR。如果维护者倾向于 PR 形式,回复一下就行。
- Dominant language
- Go
- Stars
- 18.2k
- Forks
- 1.4k
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 18
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from larksuite/cli
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day
-
domain/im
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
bug domain/doc
Difficulty 1/5 Under an hour Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
mail: all-ASCII draft bodies are hard-wrapped every 998 bytes, inserting newlines inside words and tagsPossibly taken @linye157 claimed this 26 days ago. Opendomain/mail
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
Maintainers usually reply within 1 day
-
auth: a 429 from the Token Endpoint during refresh deletes a still-valid loginPossibly taken @linye157 claimed this 26 days ago. Openbug domain/auth domain/im
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
larksuite/cli#2869 · 5 comments ·
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
github/github-mcp-server#3960 ·
Maintainers usually reply within 3 days
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
JuliusBrussee/caveman#1594 ·
Maintainers usually reply within 1 day
-
C-bug O-community X-blathers-triaged
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
cockroachdb/cockroach#176264 · 1 comment ·
-
security trivy
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
kubefleet-dev/kubefleet#1068 ·
Maintainers usually reply within 3 days