From 8685b3c466b365d9867453910d4f5655b9cc6a2a Mon Sep 17 00:00:00 2001 From: troogs Date: Wed, 12 Aug 2026 18:07:33 +0200 Subject: [PATCH] docs: add prompt 8 for icalendar attachment feature --- .github/prompts/8-icalendar-attachment.prompt.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .github/prompts/8-icalendar-attachment.prompt.md diff --git a/.github/prompts/8-icalendar-attachment.prompt.md b/.github/prompts/8-icalendar-attachment.prompt.md new file mode 100644 index 0000000..58220ec --- /dev/null +++ b/.github/prompts/8-icalendar-attachment.prompt.md @@ -0,0 +1,6 @@ +I want to attach an iCalendar (.ics) file to the reservation confirmation email so that booked dates can be directly imported into a smartphone calendar. + +Requirements: +- Format the outgoing email as a `multipart/mixed` MIME message. +- Dynamically generate an iCalendar (`.ics`) file containing the booking details (date, selected activity/activities, name). +- Set proper MIME headers (`Content-Type: text/calendar`, `Content-Disposition: attachment; filename="date-event.ics"`) so smartphones (iOS / Android) and calendar apps present a direct "Add to Calendar" import prompt.