跳到正文
Skillpedia
API 与服务器(后端)41k · #6528

feishu

它能做什么

这个技能引导与 Feishu 或 Lark(办公应用)相关的集成工作。适合把机器人、文档或工作流程连接到这些应用的开发者。

适用场景

  • ✓当你希望机器人在 Feishu 或 Lark 中发送消息的时候。
  • ✓当你需要读取或写入 Feishu 文档、表格或 Bitable 记录的时候。
  • ✓当你想设置 Feishu 或 Lark 的 MCP 服务器的时候。

技能链接

https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/feishu/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/feishu/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请设置一个 Feishu 机器人,在构建完成时向我们的团队频道发送消息?”

每周 5 个新技能,1 分钟读完。

工作原理

AI 会确认你使用的是 Feishu 还是 Lark,选择正确的凭证类型,并使用官方端点,把机密信息保存在环境变量中。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Feishu / Lark

Use this skill when the user asks for Feishu, Lark, or "飞书" integration work.

Ground Rules

  • Feishu China APIs use open.feishu.cn; Lark international APIs use open.larksuite.com.
  • Never hardcode app secrets, webhook secrets, tenant tokens, or user tokens. Use environment variables such as FEISHU_APP_ID, FEISHU_APP_SECRET, FEISHU_WEBHOOK_URL, and FEISHU_WEBHOOK_SECRET.
  • If credentials are unavailable, produce setup instructions or a local stub instead of pretending the integration is live.

Common Use Cases

  • Bot webhook messages
  • App access token and tenant access token flows
  • Docs, Sheets, Wiki, and Bitable reads/writes
  • Approval or workflow status updates
  • Feishu/Lark MCP server configuration

Workflow

  1. Clarify whether the target is Feishu or Lark.
  2. Identify the credential type: webhook, internal app, marketplace app, or OAuth user token.
  3. Prefer official OpenAPI endpoints and signed webhooks when secrets are configured.
  4. For MCP, build or configure a server that exposes narrow tools such as send_message, read_doc, append_sheet_row, or query_bitable.
  5. Register the MCP server with codewhale mcp add, then run codewhale mcp validate and codewhale mcp tools.
  6. Verify with a dry run, sandbox document, or read-back call before sending externally visible messages.

Ask for confirmation before sending messages, writing production documents, or changing approval/workflow state.

常见问题

凭证应该放在哪里?

技能要求使用 FEISHU_APP_ID 和 FEISHU_APP_SECRET 等环境变量,绝不硬编码机密信息。

如果我还没有凭证怎么办?

技能要求提供设置说明或本地桩代码,而不是假装集成已经可用。

消息会在未经检查的情况下发出吗?

不会。技能要求在发送可见消息前,先通过试运行、沙盒文档或回读进行验证。

详情

作者的原始描述

Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.

repo: codewhale-hq/Codewhale

热度

GitHub 星标
41k
排名
#6528
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能