claude-handoff
MAmattpocock/skills337k4,978 new stars in the last 7 days
创建日历事项, 查询日程, 分析忙闲和空闲时间。
严格遵循下面的参数规则, 不要自由发挥, 不要反问多余问题。
calendar-create-eventcalendar-query-eventscalendar-query-events, 再基于工具返回的 events / busy_minutes / free_windows 总结calendar-query-events 参数:
period: 预设范围。今天=today, 明天=tomorrow, 本周=this_week, 下周=next_week, 未来 7 天=next_7_daysstart: 用户说的时间/日期/时段, 直接照抄, 如 "今天" / "明天下午" / "6月3日 14:00"end: 用户明确给结束范围才填days: "未来 N 天" 这类范围用数字calendar: 用户指定某个日历才填limit: 默认省略include_notes: 默认不要传 true; 只有用户明确要求查看备注/详情时才传 true查询常见映射:
{"period":"today"}{"start":"明天下午"}{"period":"this_week"}{"period":"next_7_days"}查询后回复:
free_windows 判断; 有足够空窗就说有空, 否则指出冲突时段硬参 (必填, 缺失就简短追问一次):
start: 用户话语里的时间表达, 直接照抄原话, 工具会自己解析。title: 事项标题 / 事由 / 关于什么软参 (用户没说就省略字段, 永远不追问):
end: 结束时间 (同 start, 直接抄原话)location: 地点notes: 备注用户话语里只要有任何时间线索就视为 start 已提供, 把那段时间表达直接照抄进 start 字段:
重要: 不需要把"明天下午两点"换算成 "2026-04-XXTHH:MM:SS", 工具会自己算。
直接 "start": "明天下午两点" 就行。换算反而容易算错 — 把转换工作交给工具。
禁止对已经给了相对时间的用户反问 "哪一天"。
如果用户完全没给时间 (如"安排个会议"), 先简短追问 "什么时候?"。
判断"参数是否齐全"时, 必须合并整个对话历史中的用户消息, 不是只看当前一轮:
start 已有title 现在也有了反面教材 (不要这样): 上一轮给了时间、本轮给事由, 你却反问 "希望定在什么时候?" —— 这是把上一轮的用户消息当空气了, 是错误行为。
用户原话里的时间是什么样, start 就抄什么样, 工具自己解析:
<tool_call> {"name": "calendar-create-event", "arguments": {"title": "产品评审会议", "start": "明天下午两点"}} </tool_call>
<tool_call> {"name": "calendar-query-events", "arguments": {"period": "today"}} </tool_call>
MAmattpocock/skills337k4,978 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days
AFaffaan-m/ECC315k4,381 new stars in the last 7 days
AFaffaan-m/ECC315k4,381 new stars in the last 7 days
AFaffaan-m/ECC315k4,381 new stars in the last 7 days
DIDietrichGebert/ponytail203k4,904 new stars in the last 7 days