@tekmidian/pai 0.6.1 → 0.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3336,7 +3336,37 @@ const review = {
3336
3336
 
3337
3337
  USE WHEN user says 'review', 'what did I do', 'this week', 'weekly review', 'daily review', 'monthly review', 'what have we achieved', 'reflect', 'retrospective', 'recap', '/review', OR asks about accomplishments over a time period.
3338
3338
 
3339
- ### Commands
3339
+ ### MANDATORY FIRST ACTIONS
3340
+
3341
+ When this skill triggers, first announce: "Running **PAI Review** for [period]..."
3342
+
3343
+ Then execute these steps IN ORDER before doing anything else. Do NOT call Calendar, Todoist, Gmail, or any external MCP until steps 1-4 are complete.
3344
+
3345
+ **Step 1: Find PAI session notes for the period.**
3346
+
3347
+ find ~/.claude/projects/*/Notes -name "*.md" 2>/dev/null | grep "YYYY-MM-DD"
3348
+
3349
+ Session notes are at ~/.claude/projects/*/Notes/NNNN - YYYY-MM-DD - Description.md. Read each matching file. These describe what was actually worked on.
3350
+
3351
+ **Step 2: Check git commits for the period.**
3352
+
3353
+ git log --after="YYYY-MM-DD" --before="YYYY-MM-DD" --oneline --all
3354
+
3355
+ Run this in ~/dev/ai/PAI/ and any other project directory found in session notes.
3356
+
3357
+ **Step 3: Check completed TODO items.**
3358
+
3359
+ Search for \`[x]\` items in Notes/TODO.md files of active projects.
3360
+
3361
+ **Step 4: Check journal entries.**
3362
+
3363
+ find ~/Daten/Cloud/Development/ai/PAI/Journal/ -name "YYYY-MM-DD*" 2>/dev/null
3364
+
3365
+ **Step 5 (ONLY AFTER 1-4): External sources.**
3366
+
3367
+ Now you may check: Calendar (gcal_list_events), Todoist (find-completed-tasks), SeriousLetter (sl_list_jobs). Gmail only if specifically relevant.
3368
+
3369
+ ### Period Selection
3340
3370
 
3341
3371
  | Subcommand | Period |
3342
3372
  |------------|--------|
@@ -3345,15 +3375,16 @@ USE WHEN user says 'review', 'what did I do', 'this week', 'weekly review', 'dai
3345
3375
  | /review month | Current calendar month |
3346
3376
  | /review year | Current calendar year |
3347
3377
 
3348
- ### Data Sources
3378
+ ### Output Rules
3349
3379
 
3350
- Session notes (\`~/.claude/projects/*/Notes/\`), git commits, completed TODO items \`[x]\`, journal entries (\`\${PAI_DIR}/Journal/\`), SeriousLetter jobs (if available), Todoist completed tasks (if available), calendar events (if available).
3380
+ **Group by THEME, not chronology.** Sections: project themes, job search, personal, key decisions, numbers (sessions/commits/tasks).
3351
3381
 
3352
- ### Output Format
3382
+ Second person voice ("You built...", "You applied to..."). Concise but warm.
3353
3383
 
3354
- Group by THEME not chronology. Sections: project themes, job search, personal, key decisions, numbers (sessions/commits/tasks). Second-person voice ('You built...', 'You applied to...'). Highlight completed and shipped items.
3384
+ Highlight completed/shipped items. Briefly note unfinished work.
3355
3385
 
3356
- **WhatsApp:** Condensed, bold headers, under 2000 chars. Voice: 30-60 sec conversational summary, top 3-5 achievements.`
3386
+ **WhatsApp:** Bold headers only, no markdown headers or code blocks, under 2000 chars.
3387
+ **Voice (TTS):** 30-60 sec conversational summary, top 3-5 achievements, no asterisks/markdown.`
3357
3388
  };
3358
3389
 
3359
3390
  //#endregion