generate-timesheetlisted
Install: claude install-skill bibennurbani/geekstack-flow
# Generate Timesheet
## When to use this skill
Invoke this skill when:
- It's the end of the week (typically Friday) and worklogs are due.
- The user provides admin-meeting input inline (date + time + admin task name).
- Active and recently-completed tasks have YAML log entries the skill can derive descriptions from.
**Do not use this skill** to submit the timesheet — that's `submit-timesheet`. Generation and submission are separate skills with separate risk levels.
## Instructions
You are producing a Markdown file at `tasks/weekly/Weekly_Timesheet_{YYYY-MM-DD}.md` containing a chronological day-by-day breakdown plus a copy-paste Tempo block. All configurable values come from `config.yaml` under `tempo:`. **The skill does not call any external service** — it just writes a file.
### Procedure
1. **Determine the week.** If the user didn't specify, default to the current week (Mon–Fri). Format the file as `Weekly_Timesheet_{Monday-YYYY-MM-DD}.md`.
2. **Read config** at `.tcgstackflow/config.yaml`. Honour `tempo.work_start`, `tempo.daily_hours`, `tempo.weekly_hours`, `tempo.preferred_chunk`, `tempo.max_chunk`, `tempo.admin_key`, `tempo.timezone`.
3. **Collect tasks for the week.**
- Walk `tasks/active/` and `tasks/completed/`.
- For each task, parse YAML implementation log entries (`### ENTRY START` blocks).
- Keep entries whose `timestamp` falls inside the week.
- Group entries by day and by task ID.
4. **Parse admin input.** The user pastes admin meetings in