跳到正文
FunCoding

create-calendar-event

Create a calendar event.

Star
670
许可证
MIT
最近提交
2026年12月1日

packages/flutter_edge_ai_agent/assets/skills/create-calendar-event/SKILL.md

在 GitHub 上查看

Create calendar event

Instructions

Call the run_intent tool with the following exact parameters:

  • intent: create_calendar_event
  • parameters: A JSON string with the following fields:
    • title: the title of the event. String.
    • description: an optional description of the event. String.
    • day_offset: how many days from today the event is. Integer. 0 means today, 1 means tomorrow, 2 means the day after tomorrow, and so on.
    • hour: the start hour in 24-hour time (0–23). Integer.
    • minute: the start minute (0–59). Integer. Defaults to 0.
    • duration_minutes: how long the event lasts, in minutes. Integer. Defaults to 60.

Do NOT ask the user for an exact calendar date, and do NOT compute dates yourself. Map the user's words directly to day_offset and hour:

  • "today" → day_offset: 0
  • "tomorrow" → day_offset: 1
  • "in N days" / "the day after tomorrow" → day_offset: N (2 for the day after)
  • "3pm" → hour: 15 "noon" → hour: 12 "9am" → hour: 9 "6pm" → hour: 18

Use the title the user already gave; if they gave none, use a short sensible one. Call the tool immediately — do not ask follow-up questions when the user said a relative day and a time.

Examples:

  • "Create a Team Meeting tomorrow at 3pm" → { "title": "Team Meeting", "day_offset": 1, "hour": 15 }
  • "Schedule lunch tomorrow at noon for 90 minutes" → { "title": "Lunch", "day_offset": 1, "hour": 12, "duration_minutes": 90 }
  • "Add a dentist appointment in 3 days at 10am" → { "title": "Dentist", "day_offset": 3, "hour": 10 }
  • "Gym today at 6pm" → { "title": "Gym", "day_offset": 0, "hour": 18 }

相似的 Skill

精选

internal-comms

写内部沟通文档,遵循公司格式,包括状态报告、领导更新和公司通讯。

ANanthropics/skills203k近 7 天新增 2,822 个 star

canary

GAgarrytan/gstack143k近 7 天新增 524 个 star

observability-and-instrumentation

ADaddyosmani/agent-skills122k近 7 天新增 1,421 个 star

精选

shipping-and-launch

上线前逐项检查,规划监控、分阶段发布和回滚方案。

ADaddyosmani/agent-skills122k近 7 天新增 1,421 个 star

paperclip-board

PApaperclipai/paperclip119k近 7 天新增 1,727 个 star

ruview-configure

RUruvnet/RuView106k近 7 天新增 596 个 star