返回 Skills 列表
📅

飞书日历

查询、创建、修改日历事件。

社区

📦安装

在终端中运行以下命令安装此 Skill:

clawhub install feishu-calendar

✨ 主要特性

  • 飞书日历智能管理
  • 会议自动调度
  • 日程冲突检测和解决
  • 会议纪要自动生成
  • 提醒和通知管理
  • 团队日程协调

📖 使用指南

创建日程

快速创建飞书日程

import { FeishuCalendar } from "@ima-claw/feishu-calendar"

const calendar = new FeishuCalendar({
  appId: process.env.FEISHU_APP_ID,
  appSecret: process.env.FEISHU_APP_SECRET
})

await calendar.createEvent({
  title: "产品讨论会",
  startTime: "2024-03-20T14:00:00",
  duration: 60,
  attendees: ["user1@company.com", "user2@company.com"]
})

智能调度

自动寻找合适的会议时间

const suggestion = await calendar.findBestTime({
  attendees: ["user1", "user2", "user3"],
  duration: 60,
  dateRange: ["2024-03-20", "2024-03-22"],
  preferences: {
    avoidLunch: true,
    preferMorning: true
  }
})

💡 示例代码

会议管理

管理重复会议和系列会议

await calendar.createRecurring({
  title: "周会",
  pattern: "weekly",
  dayOfWeek: "monday",
  time: "10:00",
  duration: 60,
  endDate: "2024-12-31"
})

冲突检测

检测并解决日程冲突

const conflicts = await calendar.detectConflicts({
  userId: "user123",
  dateRange: ["2024-03-20", "2024-03-27"]
})

if (conflicts.length > 0) {
  const resolved = await calendar.resolveConflicts(conflicts, {
    strategy: "auto" // 自动重新调度
  })
}

🔧 故障排除

  • 确保飞书应用权限配置正确
  • 跨时区会议注意时间转换
  • 批量操作注意 API 限流
  • 会议纪要需要会议录音授权