catch-up
Catch up on the state of delegated work — recurse a ticket's subtasks, match each to its PRs and branches, and report what changed since a chosen date.
- License 许可
- MIT
- 最近更新
- 2026-11-06
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- catch-up
- description
- Catch up on the state of delegated work — recurse a ticket's subtasks, match each to its PRs and branches, and report what changed since a chosen date.
- disable-model-invocation
- true
02 资源文件 1
- 参考文档BRIEFING-FORMAT.md2.4 KB
03 SKILL.md 正文
Catch-up
Brief the user on work they left in the team's hands — reconstructing the state of a task from what the team did across the tracker and the code host.
Three leading ideas run through the skill:
- Anchor — the date the catch-up counts from. In delta mode it filters every source to what changed since; in full mode there is no filter and you report the whole state from the start.
- State ladder — each task sits on one rung: nothing → branch, no PR → open PR → merged PR. The ladder is how the briefing renders where each task rests now.
- Delegate the noise — the main agent only orchestrates and synthesises. Every noisy search, match, and read happens in a subagent that returns a distilled finding, so the main context never fills with raw PR lists, diffs, or comment threads.
Step 1 — Frame the catch-up
Establish three things before touching any source:
- Identifier — the user gives a reference or link to a ticket. Derive its identifier (e.g.
PD-123) from that reference; it's the string you'll match PRs and branches against. Don't ask for it — read it off what they gave you. - Tracker access — the
## Agent skillsblock points at the issue-tracker doc/setup-skillswrote. That doc is the source of truth for which tracker is configured and how to reach it (gh,glab, ClickUp MCP, local markdown…). Never assume a specific tracker. - Anchor — ask: full catch-up from the start, or the delta since a date? For delta, propose a date from the user's last git activity in the repo (
git log --author=<them> -1) and let them confirm or override; if there's no such activity, just ask for the date. Full mode = no date filter.
Done when you hold (identifier, tracker access, anchor).
Step 2 — Map the work tree
Read the ticket via the configured tracker and recurse its hierarchy (epic → subtasks) into a flat list of task identifiers to resolve. Follow the tracker's own subtask convention; if the tracker has no subtask concept, the single ticket is the tree — say so and move on.
Step 3 — Resolve each task in a subagent
Fan out one subagent per task, in parallel. The main agent assembles nothing itself here — it only dispatches and collects distilled findings.
Each subagent, for its identifier, must:
- Search the code host for PRs and branches whose name, title, or body cite the identifier — including branches with no PR yet (in-flight work that hasn't surfaced). Matching by identifier string is deliberate: it stays independent of any tracker's PR integration.
- Place the task on the state ladder (nothing / branch, no PR / open PR / merged PR).
- Compute the delta against the anchor: commits, PR events, review discussion, tracker comments, decisions, blockers, and scope changes since the date (in full mode, the whole history).
- Return a distilled finding — the rung, the PRs/branches/commits/ticket each with its full URL, and a short prose delta. Not raw command output. Carry the URLs through: the synthesis can only link what the finding hands it.
Degrade gracefully. A source it can't reach (no matching branch, unauthenticated MCP, a tracker with no comments) is a note in the finding, not a failure. Matching by string has a blind spot — if the team never cited the identifier, its PRs won't be found; the finding must say so.
Step 4 — Synthesise the briefing
Synthesise the findings into a self-contained HTML briefing written to the OS temp directory — never into the repo, and don't write back to the tracker. It's an ephemeral, read-only artifact: one scroll the user reads once.
Follow BRIEFING-FORMAT.md for structure and house style. Its spine is a timeline of what changed since the anchor — the point of a delta catch-up is the change, not the static state — and every beat is a sourced event, so the storytelling never outruns what a finding can prove.
Then open it for the user with a single command (open <path>), show a short summary, and stop. Read-only, one-shot.
04 同仓库更多 Skills
zoom-out
Tell the agent to zoom out and give broader context or a higher-level perspective. Use when you're unfamiliar with a section of code or need to understand how it fits into the bigger picture.
writing-for-agents
Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.
walkthrough
Build a throwaway HTML reading guide for a set of changes (dirty tree, local commits, or a PR): what it means for users and for the system, then an ordered walk through the code with links that open each file in the IDE. Orients the human; leaves every quality call to them.
teach
Teach the user a new skill or concept, within this workspace.
suggest-reviewers
Suggest GitHub reviewers for the current branch's Pull Request by ranking the people who actually own and recently touched the changed files (git history + CODEOWNERS). Use when the user asks who should review this PR/branch or wants reviewer suggestions. Also invoked as the final step of the github-pr skill.
setup-skills
Sets up an `## Agent skills` block in AGENTS.md/CLAUDE.md and `docs/agents/` so the engineering skills know this repo's issue tracker (GitHub, GitLab, ClickUp, or local markdown), domain doc layout, and error tracking. Run as a first-time bootstrap for a repo, or if engineering skills appear to be missing context about the issue tracker, domain docs, or error tracker.