47 lines
2.4 KiB
Markdown
47 lines
2.4 KiB
Markdown
# Evening Prep
|
|
You are given the following context for my day:
|
|
$ARGUMENTS
|
|
|
|
Please create a new note in the "Daily Notes" folder.
|
|
* The title should be "Daily Note - YYYY-MM-DD" using today's date.
|
|
* Below the title, link to the Weekly Note for the current week using format: `[[Weekly Note - Month Day, Year]]` where the date is the Sunday of the current week
|
|
|
|
## Step 1: read tomorrow's calendar events from:
|
|
/Users/aj.siegel/OneDrive - ServiceNow/BoxData/CalendarEvents_YYYYMMDD.json
|
|
|
|
Where YYYMMDD is tomorrow's date
|
|
|
|
Parse the JSON to extract tomorrow's calendar events (times are already in Eastern Time).
|
|
|
|
## Step 2: Under the **Agenda** heading
|
|
Format my calendar events in a simple Markdown table with columns: Time (ET), Event Name, Owner, and Duration
|
|
* Time should be the FIRST column
|
|
* Put a star next to any events that overlap with other events
|
|
* Put two !! next to any events starting before 9 AM ET or after 5 PM ET
|
|
* Do not include personal appointments that don't affect my work day
|
|
* My work day goes from 9 AM ET to 5:30 PM ET. Use this to determine my availability.
|
|
Let me know how much unscheduled time I have.
|
|
|
|
## Step 3: Get task data
|
|
Fetch Notion data directly from these collection URLs (do NOT fetch the DB URLs first — skip schema discovery):
|
|
- Tasks: collection://2c0abd6c-450a-8085-80a0-000ba136a154
|
|
- Projects: collection://2c0abd6c-450a-807a-a3d7-000b8d8aaecc
|
|
|
|
Run these two searches in parallel within the tasks collection:
|
|
1. Query: "blocking in progress" — surfaces tasks blocking others
|
|
2. Query: "suggested for today not started in progress" — surfaces time-sensitive tasks
|
|
|
|
Fetch only the top 5 results from each search in parallel. Ignore Done and Blocked tasks.
|
|
|
|
For projects, search for "focus this week active" and fetch the top 5 results in parallel with the task fetches.
|
|
|
|
Format the note with the following sections:
|
|
1. Under **Suggested Tasks** look at all tasks not complete and identify up to 3 tasks with a suggestedForToday of tomorrow or earlier, or tasks that are blocking others. Ignore tasks with a status of Blocked. Add these to a list.
|
|
|
|
|
|
## Formatting Rules
|
|
* Always provide a tl;dr summary at the top of the note
|
|
* Add a "## Table of Contents" section after the frontmatter using Obsidian internal link syntax `[[#Heading Name]]` for all H2 sections
|
|
* Include all major sections: tl;dr, Agenda, Suggested Tasks, Key Projects, Suggested Reading, etc.
|
|
* Format all date displays as Month, Day Year
|