31 lines
1.1 KiB
Markdown
31 lines
1.1 KiB
Markdown
---
|
|
name: back-to-work
|
|
description: Log the return from lunch at the Long Day Factory. Records backToWork with the current timestamp in ~/long-day-factory.json. Use when the user says lunch is over / they are back at their desk / "back to work".
|
|
---
|
|
|
|
# back-to-work
|
|
|
|
Records when the user returns from lunch. The gap between `lunchTime` and
|
|
`backToWork` is the lunch break that `am-i-free` subtracts from time served.
|
|
|
|
## Steps
|
|
|
|
1. Run:
|
|
|
|
```bash
|
|
bash "$CLAUDE_SKILL_DIR/back.sh"
|
|
```
|
|
|
|
Fallback path: `~/.claude/skills/back-to-work/back.sh`.
|
|
|
|
2. The script creates `~/long-day-factory.json` if missing and sets `backToWork`
|
|
to now.
|
|
- If it warns that `lunchTime` is not set, ask the user whether they want to
|
|
also set `lunchTime` now (to the current time) or leave it for `am-i-free`
|
|
to handle with the default 11:30 assumption. If they say yes, re-run with:
|
|
`bash "$CLAUDE_SKILL_DIR/back.sh" --also-lunch`
|
|
- If it warns that `startTime` is not set, pass that along.
|
|
|
|
3. Reply with humor: the machine missed you, the assembly line resumes, etc.
|
|
Include the timestamp.
|