feat: migrate skills review desk to astro

This commit is contained in:
Marcos Paulo
2026-09-05 16:54:37 +00:00
parent 107e429fb9
commit 71e4775573
66 changed files with 8184 additions and 96 deletions
@@ -0,0 +1,25 @@
---
name: long-day-start
description: Punch in at the Long Day Factory. Records startTime with the current timestamp in ~/long-day-factory.json and wipes lunchTime / backToWork from any previous shift. Use when the user says they arrived at the office / started their day / "long day start".
---
# long-day-start
Begins a new shift at the Long Day Factory (the office). The sentence is 4 hours,
minus time served at lunch.
## Steps
1. Run the script below. It creates `~/long-day-factory.json` if missing, sets
`startTime` to now (ISO 8601, `-03:00`), and resets `lunchTime` and
`backToWork` to `null`.
```bash
bash "$CLAUDE_SKILL_DIR/start.sh"
```
If `$CLAUDE_SKILL_DIR` is not set, use the absolute path
`~/.claude/skills/long-day-start/start.sh`.
2. Report back to the user with a bit of humor — they've just clocked in and the
clock is now running. Mention the time they punched in.
@@ -0,0 +1,11 @@
#!/bin/bash
# Punch in: set startTime, clear the rest.
set -euo pipefail
F="$HOME/long-day-factory.json"
TS="$(python3 -c 'import datetime;print(datetime.datetime.now().astimezone().isoformat(timespec="seconds"))')"
printf '{\n "startTime": "%s",\n "lunchTime": null,\n "backToWork": null\n}\n' "$TS" > "$F"
echo "Clocked in to the Long Day Factory at $TS"
echo "Wrote $F"