improving notion integration with skills

This commit is contained in:
aj.siegel
2026-03-27 11:19:40 -04:00
parent af73829458
commit ecceffa9d5
3 changed files with 28 additions and 16 deletions

View File

@@ -23,17 +23,15 @@ Format my calendar events in a simple Markdown table with columns: Time (ET), Ev
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
Fetch Notion data using these URLs. Run all three in parallel:
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
1. **Blocking tasks** — fetch view://2c0abd6c-450a-8060-b247-000c30138b80 (pre-filtered: Blocking populated + not Done)
2. **Daily planning tasks** — fetch view://2c0abd6c-450a-8064-869a-000cf1f5a919 (pre-filtered: incomplete tasks sorted by Suggested for today)
3. **Focus projects** — fetch view://2c0abd6c-450a-806e-a2c9-000c8aa14a44 (pre-filtered: Focus this week = true)
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.
If the view fetches fail, fall back to fetching the full databases:
- Tasks: https://www.notion.so/solutioninnovation/2c0abd6c450a805098d3cc0e7d3dfccf (data source: collection://2c0abd6c-450a-8085-80a0-000ba136a154)
- Projects: https://www.notion.so/solutioninnovation/2c0abd6c450a8090aca3e0b2b0373c17 (data source: collection://2c0abd6c-450a-807a-a3d7-000b8d8aaecc)
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.