End-of-day check-in. Today: !date +%Y-%m-%d.
This is an interactive, conversational skill. Wait for the user's response at each prompt before continuing.
-
Pull merged PRs authored by or contributed to by the user in the last 24h:
gh search prs --author @me --merged --merged-at ">=!`date -v-1d +%Y-%m-%d`" --json title,url,repository,updatedAt,number --limit 50
Also pull open PRs authored by the user:
gh search prs --author @me --state open --json title,url,repository,createdAt,number --limit 20
Also pull PRs reviewed by the user in the last 24h:
gh search prs --reviewed-by @me --merged --merged-at ">=!`date -v-1d +%Y-%m-%d`" --json title,url,repository,number --limit 20
Note: gh search prs does not support headRefName. Branch names are fetched later via gh pr view when logging individual PRs (step 5).
Filter out any PRs that are also in the authored list (don't double-count).
-
Read existing work logs to identify what's already been captured:
obsidian search query="tag:status/done" --output paths
Read any notes dated today or yesterday. Compare PR titles/URLs against existing logs.
-
Show the PR list with numbers, filtering out already-logged PRs:
## Check-in — [date]
**Merged PRs (last 24h)**
1. [title] — [repo]
2. [title] — [repo]
3. [title] — [repo]
[N] already logged, not shown.
**Open PRs**
- [title] — [repo] — opened [N] days ago [⚠️ if >3 days]
**PRs you reviewed**
- [title] — [repo]
Open PRs are shown for awareness only — they are not logged.
For reviewed PRs, ask: "Want to log any reviews as work? (e.g. 'review-1' for work/led)"
If there are no unlogged merged PRs, say "No new merged PRs found" and skip to Phase 2.
-
Ask: "Which PRs do you want to log? You can group related PRs into a single entry. (e.g. 1,3 / all / 1+2 as one, 3 / none)"
Wait for the user's response. Accept:
- Comma-separated numbers: "1,3" → log PRs 1 and 3 as separate entries
- Groups: "1+2 as one, 3" → log PRs 1 and 2 as a single entry, PR 3 as another
- "all" → log all listed PRs (suggest groupings if PRs look related — same feature across repos, version bumps paired with the change they support, etc.)
- "none" → skip PR logging
When suggesting groupings for "all", look for signals like:
- PRs in different repos that reference the same feature/ticket
- A library bump PR paired with the PR that uses the new version
- Multiple PRs that are sequential steps in the same piece of work
-
For each entry (single PR or grouped PRs), run the /log flow:
- Parse what/impact/tag — for grouped PRs, write a single unified description covering the whole piece of work
- Use the earliest PR's merge date as the log date
- Include all PR links as a bullet list under the PRs field
- Jira ticket extraction: fetch the branch name via
gh pr view [url] --json headRefName and check for a ticket-like prefix (e.g. ef-123/some-feature → ticket is EF-123). Also check the PR body for ticket references. If found, ask the user to confirm: "Jira ticket EF-123?" If confirmed, add ticket: EF-123 to the note's YAML frontmatter.
- Create the note via
obsidian create
- Check for related projects and link them
- Insert into the correct quarter in the Work atlas (follow the same quarter-routing logic as
/log step 6)