spark-recipe-schedule-meeting

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Recipe: Schedule a Meeting

方案:安排会议

Find mutual availability with attendees and present time slot options for scheduling.
Prerequisite: Read the
use-spark
base skill for command reference and filter syntax.
Access level required: read-only.
查找与会者的共同空闲时间,并提供可用于安排会议的时段选项。
前提条件: 阅读
use-spark
基础技能文档,了解命令参考和过滤语法。
所需访问权限: 只读。

Steps

步骤

Step 1: Look up attendee emails

步骤1:查找与会者邮箱

bash
spark contacts "attendee name"
Repeat for each attendee to get their email addresses.
bash
spark contacts "attendee name"
为每位与会者重复执行此命令,获取他们的邮箱地址。

Step 2: Find mutual availability

步骤2:查找共同空闲时间

For tomorrow:
bash
spark availability --tomorrow --attendees alice@co.com,bob@co.com
For a specific date range:
bash
spark availability --start 2026-04-10 --end 2026-04-11 --attendees alice@co.com,bob@co.com
For the full week:
bash
spark availability --week --attendees alice@co.com,bob@co.com
查询明天的空闲时间:
bash
spark availability --tomorrow --attendees alice@co.com,bob@co.com
查询特定日期范围内的空闲时间:
bash
spark availability --start 2026-04-10 --end 2026-04-11 --attendees alice@co.com,bob@co.com
查询整周的空闲时间:
bash
spark availability --week --attendees alice@co.com,bob@co.com

Step 3: Present the options

步骤3:提供时段选项

List the available time slots for the user to choose from. Include:
  • Date and time range for each slot
  • Duration of each slot (so the user knows if a 1-hour meeting fits)
列出可用时段供用户选择,需包含:
  • 每个时段的日期和时间范围
  • 每个时段的时长(方便用户判断是否适合安排1小时的会议)

Step 4: Narrow down if needed

步骤4:必要时缩小或扩大范围

If no slots work, try a broader window:
bash
spark availability --start 2026-04-10 --end 2026-04-14 --attendees alice@co.com,bob@co.com
Or check individual availability to find who's blocking:
bash
spark availability --start 2026-04-10 --end 2026-04-11 --attendees alice@co.com
spark availability --start 2026-04-10 --end 2026-04-11 --attendees bob@co.com
如果没有合适的时段,尝试扩大时间范围:
bash
spark availability --start 2026-04-10 --end 2026-04-14 --attendees alice@co.com,bob@co.com
或者查看单个与会者的空闲时间,找出是谁的日程冲突:
bash
spark availability --start 2026-04-10 --end 2026-04-11 --attendees alice@co.com
spark availability --start 2026-04-10 --end 2026-04-11 --attendees bob@co.com

Tips

提示

  • availability
    respects working hours (08:00-20:00) and skips weekends automatically.
  • Events marked as "free" in the calendar are ignored - they don't block availability.
  • Without
    --attendees
    , the command shows the user's own free time.
  • For large groups, narrow the date range to get focused results.
  • If the user provides names instead of emails, use
    spark contacts
    first to resolve them.
  • The free slots are computed as mutual windows - times when all attendees and the user are available.
  • availability
    命令会自动遵循工作时间(08:00-20:00)并跳过周末。
  • 日历中标记为“空闲”的活动会被忽略,不会占用空闲时段。
  • 如果不添加
    --attendees
    参数,命令会显示用户自己的空闲时间。
  • 对于大型群组,缩小日期范围可获得更精准的结果。
  • 如果用户提供的是姓名而非邮箱,需先使用
    spark contacts
    命令解析出邮箱。
  • 空闲时段是所有与会者和用户的共同空闲窗口。