feishu-calendarlisted
Install: claude install-skill op7418/CodePilot
# 飞书日历管理 (feishu-calendar)
## 🚨 执行前必读
- ✅ **时区固定**:Asia/Shanghai(UTC+8)
- ✅ **时间格式**:ISO 8601 / RFC 3339(带时区),例如 `2026-02-25T14:00:00+08:00`
- ✅ **create 最小必填**:summary, start_time, end_time
- ✅ **user_open_id 强烈建议**:从 SenderId 获取(ou_xxx)��确保用户能看到日程
- ✅ **ID 格式约定**:用户 `ou_...`,群 `oc_...`,会议室 `omm_...`,邮箱 `email@...`
---
## 📋 快速索引:意图 → 工具 → 必填参数
| 用户意图 | 工具 | action | 必填参数 | 强烈建议 | 常用可选 |
|---------|------|--------|---------|---------|---------|
| 创建会议 | feishu_calendar_event | create | summary, start_time, end_time | user_open_id | attendees, description, location |
| 查某时间段日程 | feishu_calendar_event | list | start_time, end_time | - | - |
| 改日程时间 | feishu_calendar_event | patch | event_id, start_time/end_time | - | summary, description |
| 搜关键词找会 | feishu_calendar_event | search | query | - | - |
| 回复邀请 | feishu_calendar_event | reply | event_id, rsvp_status | - | - |
| 查重复日程实例 | feishu_calendar_event | instances | event_id, start_time, end_time | - | - |
| 查忙闲 | feishu_calendar_freebusy | list | time_min, time_max, user_ids[] | - | - |
| 邀请参会人 | feishu_calendar_event_attendee | create | calendar_id, event_id, attendees[] | - | - |
| 删除参会人 | feishu_calendar_event_attendee | batch_delete | calendar_id, event_id, user_open_ids[] | - | - |
---
## 🎯 核心约束(Schema 未透露的知识)
### 1. user_open_id 为什么必填?
**工具使用用户身份**:日程创建在用户主日历上,用户本人能看到。
**但为什么还要传 user_open_id**:将发起人也添加为**参会人**,确保:
- ✅ 发起人会收到日程通知
- ✅ 发起人可以回复 RSVP 状态(接受/拒绝/待定)
- ✅ 发起人出现在参会人列表中
- ✅ 其他参会人能看到发起人
**如果不传**:
- ⚠️ 用