技能圖譜SKILLSGROVE
技能圖譜/效率工具/pengfeiqiao/kunpeng/lark-markdown

lark-markdown

安裝

$npx skills add https://github.com/pengfeiqiao/kunpeng --skill lark-markdown
$git clone --depth 1 https://github.com/pengfeiqiao/kunpeng.git /tmp/kunpeng && mkdir -p ~/.claude/skills && cp -r /tmp/kunpeng/skills/lark-cli/lark-markdown ~/.claude/skills/lark-markdown
請幫我安裝這個 Agent Skill:https://github.com/pengfeiqiao/kunpeng/tree/d885de7796ddbec8f25159932d8c4271bd9b62b2/skills/lark-cli/lark-markdown ,先閱讀它的 SKILL.md 和指令碼,確認安全後再安裝到我的技能目錄。

簡介

原文描述 · MIT飞书 Markdown:查看、创建、上传和编辑 Markdown 文件。当用户需要创建或编辑 Markdown 文件、读取或修改时使用。
以下 SKILL.md 內容轉載自 pengfeiqiao/kunpeng(提交 d885de7),依據 MIT 許可證轉載正文(文字未改動;僅省略檔案頭後設資料、將圖片顯示為連結,超長內容會截斷);版權歸 2026 Kunpeng Contributors 所有。許可證:LICENSE。僅展示說明檔案,附帶指令碼請在原倉庫檢視。

markdown (v1)

CRITICAL — 开始前 MUST 先用 Read 工具读取 ../lark-shared/SKILL.md,其中包含认证、权限处理

快速决策

  • 用户要上传、创建一个原生 .md 文件,使用 lark-cli markdown +create
  • 用户要读取 Drive 里某个 .md 文件内容,使用 lark-cli markdown +fetch
  • 用户要覆盖更新 Drive 里某个 .md 文件内容,使用 lark-cli markdown +overwrite
  • 用户要把本地 Markdown 导入成在线新版文档(docx),不要用本 skill,改用 lark-drive 的 lark-cli drive +import --type docx
  • 用户要对 Markdown 文件做rename / move / delete / 搜索 / 权限 / 评论等云空间操作,不要留在本 skill,切到 lark-drive

核心边界

  • 本 skill 处理的是 Drive 中作为普通文件存储的 Markdown,不是 docx 文档
  • --name 和本地 --file 文件名都必须显式带 .md 后缀;不满足时 shortcut 会直接报错
  • --content 支持:
    • 直接传字符串
    • @file 从本地文件读取内容
    • - 从 stdin 读取内容
  • --file 只接受本地 .md 文件路径

Shortcuts(推荐优先使用)

Shortcut 是对常用操作的高级封装(lark-cli markdown +<verb> [flags])。有 Shortcut 的操作优先使用。

Shortcut 说明
+create Create a Markdown file in Drive
+fetch Fetch a Markdown file from Drive
+overwrite Overwrite an existing Markdown file in Drive

参考

  • lark-shared — 认证和全局参数
  • lark-drive — Drive 文件管理、导入 docx、move/delete/search 等
檢視許可證全文(MIT)
MIT License

Copyright (c) 2026 Kunpeng Contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.