/software:daily-handofffrom software
Generates a daily handoff document by gathering GitHub PRs, comments, AI coding sessions, and local uncommitted changes, then organizing them into Done, Ready for Merging, In Progress, and What's Next sections.
Ships in software. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Turn the last 24 hours of scattered activity — pull requests, review comments, AI coding sessions, and half-finished local work — into one handoff document a teammate can read without asking follow-up questions.
At the end of a working day the record of what happened is spread across GitHub, several local checkouts, and the transcripts of whatever AI coding tools were used. None of those tell a colleague what is finished, what is waiting on them, and what to pick up next.
This skill collects all four sources, sorts them into four buckets, and writes the result as plain-language markdown aimed at a reader who was not there.
Write for a teammate who does not know this work. That single decision drives every other rule in this skill:
references/plain-language.md.Default to a 24-hour lookback and today's local date.
HOURS=24
TODAY=$(date +%Y-%m-%d)
OUT="$HOME/${TODAY}-handoff.md"
Honour the hours, scan-root and output arguments if the user supplied them. If the
user asked for "yesterday" or "this week", translate that into hours (24, 168) rather than
inventing a different window.
They are independent. Run them together, and do not stop if one comes back empty — an empty section is itself information.
SKILL_DIR="<this skill's directory>"
TMP=$(mktemp -d)
bash "$SKILL_DIR/scripts/collect-github.sh" "$HOURS" > "$TMP/github.json"
bash "$SKILL_DIR/scripts/collect-repos.sh" "$HOME/Projects" "$HOURS" > "$TMP/repos.json"
python3 "$SKILL_DIR/scripts/collect-sessions.py" --hours "$HOURS" > "$TMP/sessions.json"
| Script | Covers | Notes |
|---|---|---|
collect-github.sh | Merged PRs, open PRs, closed-unmerged PRs, and every comment the user left | Needs an authenticated gh. Takes ~15s; the per-PR detail calls are what make the summaries specific. |
collect-repos.sh | Uncommitted changes, unpushed commits, stashes | Read-only. Scans ~/Projects six levels deep, which reaches agent worktrees under .claude/worktrees/. |
collect-sessions.py | Claude Code, Codex CLI and OpenCode sessions | Reads only the user's own prompts. A tool that is not installed is silently absent. |
Every collector reports its own failures in an errors array instead of exiting non-zero.
Read those arrays. If gh was not authenticated, the handoff must say the GitHub half
is missing rather than implying the day was quiet.
A PR title is a label, not a summary. Before writing anything, understand what actually changed:
body, files, and the additions/deletions counts.
If the body is thin and the change is not obvious, run
gh pr diff <number> --repo <owner/repo> and read it.git -C <repo> diff --stat and, where the
change is small enough to matter, git -C <repo> diff to see what it does.Cross-reference the three sources. The same piece of work usually appears in all of them — a session prompt, then a branch, then a PR. Report it once, in the furthest-along bucket, and use the other sources for detail.
| Bucket | What goes in it |
|---|---|
| Done (Merged) | PRs authored by the user and merged inside the window. |
| Ready for Merging | Work that is finished but not in main/staging yet: open non-draft PRs, and local branches with commits that are pushed or ready to push but have no PR. |
| In Progress (Uncommitted) | Uncommitted file changes, stashes, and draft PRs. Also sessions that ended without producing a commit. |
| What's Next | Everything the work implies but nobody has started: follow-ups named in PR bodies or comments, failing checks, review feedback not yet answered, PRs closed without merging, and stated intentions from sessions. |
Judgment calls:
.claude/worktrees/ is real work — an agent produced it — but say where it
lives, because it is easy to lose. It is also usually In Progress.This is the rule that makes the document useful:
General information is summarized. Anything that needs another person is detailed.
Summarize — one to three sentences, no file paths, no function names:
Finished the login work. Users now stay signed in when they switch between the two company accounts they belong to, instead of being kicked back to the sign-in page.
Detail — anything that is blocked on, or waiting for, someone else. Give each its own block and answer all five questions:
Things that always get the detailed treatment: a PR waiting on review, a failing check, a review comment not yet answered, a decision the user cannot make alone, anything sitting in a worktree another person would not think to look in, and any credential, access or environment problem.
The block goes wherever the item is. The bucket does not decide the level of detail —
the presence of another person does. A blocker sitting under What's Next gets exactly the
same full block as one under Ready for Merging. In What's Next, those items come first,
each under its own ### heading; the one-line bullet form is reserved for follow-ups the
next person can simply go and do. A warning ("do not run this runbook yet") is an item that
needs a person: name who has to receive it.
Summarised means summarised. The other half of the rule is the half that gets dropped. Done (Merged) is capped at three sentences per entry and carries no aside nobody acts on — a corrected percentage in an old changelog, an explanation of a line count, a blow-by-blow of how a review went. Before keeping a detail, ask who acts on it; if the answer is nobody, cut it. When the merged section is the longest part of the document and the blockers are bullets, the rule has been applied backwards.
Open the document with a title naming the day's actual theme — not "Daily Handoff". If the day had one dominant thread ("Sign-in and account switching"), use it. If it had three unrelated threads, name the largest and say there were others.
Follow it with a three-to-five sentence summary a reader can stop after: what moved, what is waiting, and the single most important thing for someone else to pick up.
Write to $OUT using the structure in references/handoff-template.md. Then tell the user
the path and give a two-line spoken summary — do not paste the whole document back.
If a section is genuinely empty, keep its heading and write one honest line ("Nothing merged in this window."). A missing heading reads like an oversight; an empty one reads like a fact.
scripts/collect-github.sh — merged, open and closed PRs, plus the user's own comments.scripts/collect-repos.sh — uncommitted changes, unpushed commits, stashes.scripts/collect-sessions.py — Claude Code, Codex and OpenCode sessions.references/handoff-template.md — the document structure to fill in.references/plain-language.md — how to say technical things without technical words.gh on PATH and authenticated (gh auth status) for the GitHub half.jq for the shell collectors.python3 3.9+ for the session collector.git for the local scan.Any missing piece degrades the document rather than stopping it — but must be stated in the Gaps in this handoff section so nobody reads a partial picture as a complete one.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
4 skills in this plugin
/categorize-taskReference guide for classifying development tasks into the 8-phase clean architecture structure (Foundational → Models → Services → Data → Rules → State Management → UI → Tests). Use when you need to determine which architectural phase a task belongs to./conventional-commitThis skill should be used when the user asks to "create a conventional commit", "generate conventional commits", "generate commit", "commit with conventional format", "group my changes for commits", "make a conventional commit message", or mentions "semantic commits", "commitizen", "commit conventions". Analyzes staged and unstaged changes, groups related modifications, and generates properly formatted conventional commit messages with interactive commit grouping options./Other plugins' skills for the same job
npx claudepluginhub hirogakatageri/hirokata-claude-marketplace --plugin software