Obsidian/.claude/commands/weekly-report.md
2025-11-11 15:28:25 -05:00

47 lines
2.0 KiB
Markdown

---
description: Generate a weekly report of completed and upcoming tasks, saved to Zettelkasten/Fleeting Notes/Weekly/
---
Generate a weekly report and save it to `Zettelkasten/Fleeting Notes/Weekly/` with the filename format `YYYY_WW.md` where YYYY is the year and WW is the ISO week number (use the `date` command to get this).
**Important:** This report is centered on Wednesday (group meeting day). Calculate Wednesday of the current week and use it as the reference point:
- Past period: 7 days before Wednesday
- Future period: 7 days after Wednesday
The file should have this structure:
**Frontmatter:**
```yaml
---
id: YYYY-WW
title: Weekly — YYYY-MM-DD (the Wednesday of this week)
type: Weekly
created: [current timestamp in ISO format]
modified: [current timestamp in ISO format]
tags: [weekly]
---
```
**Content:**
# Weekly - YYYY CW WW (Wed YYYY-MM-DD)
## Accomplishments
Run `task end.after:[wednesday-7days] end.before:[wednesday] completed` to get all tasks completed in the 7 days before Wednesday. Group them by project and present them as a bulleted list with checkmarks.
## Pushed or Rescheduled
Run `task modified.after:[wednesday-7days] modified.before:[wednesday] status:pending` to find tasks that had their due dates modified (pushed) in the past 7 days. Present as a bulleted list showing the task and note that it was rescheduled.
## Cancelled or Deleted
Run `task end.after:[wednesday-7days] end.before:[wednesday] status:deleted` to get tasks that were cancelled/deleted in the past 7 days. Present as a bulleted list with strikethrough (~~task~~).
## To Do
Run `task due.after:[wednesday] due.before:[wednesday+7days] status:pending` to get all tasks due in the 7 days after Wednesday. Group them by:
- Immediate (due within 24 hours from now)
- Due dates throughout the week
- Group related tasks together (e.g., tasks with dependencies)
Present them as a clear bulleted list with due dates.
After creating the file, tell me the filename and location where it was saved.