360 Secure SkillHub
360 安全技能中心

catch-up

该 Skill 用于让用户快速回到旧工作线程:先核对 GitHub PR/issue 与默认分支现状,判断工作是否仍需继续;若可放弃则关闭本线程 PR、通知相关同事、清理任务资源并结算线程;若需继续则检查概念冲突、变基推送并用简明英文总结现状、剩余工作和下一步。

分类:开发
t3dotgg
热度 0.00
最近更新 2026-12-04 23:30:15

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add t3dotgg/tstack/catch-up
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
catch-up
description
Trigger this if the user says 'catch up' or 'catch me up'.

Catch Up

Get the user back into flow on an old thread with minimal cognitive load, or clear it out if the work is no longer needed.

A "catch up" request authorizes closing this thread's own PRs/issues, posting the teammate handoff comment, rebasing with --force-with-lease, cleaning up task-started resources, and settling on Drop. Never merge or close a teammate's PR. Use leaving-pr-comments for every GitHub comment.

1. Check if the work is still needed

Fetch latest origin and verify against live GitHub and the current default branch:

  • Was our PR already merged or closed?
  • Does the problem still exist on the default branch (not fixed, removed, or obsoleted by newer architecture)?
  • Is a core teammate already further along (merged fix or further-along open PR)?
  • Is it still significant enough to deserve the user's attention?

Choose DROP only when the evidence is clear. Choose CONTINUE when the work is still needed or when dropping is a borderline call.

2A. DROP — close, notify, clean up, settle

  1. Close: Close this thread's open PR(s) and obsolete issues we opened, with a one-line reason. If closing in favor of a teammate's open PR, leave the shared bug/feature issue open for their PR to close.
  2. Notify: If closed in favor of a teammate's open PR, comment on their PR saying ours (link it) was closed in favor of theirs and asking them to let the user know directly if theirs won't merge.
  3. Clean up: Stop task-started processes and resources (dev servers, watchers, tunnels, preview processes, temp databases/branches) strictly by recorded handle (task ID, PID after checking its command line, DB/branch name) — never by port, process name, or pattern. Leave shared data, unhandled items, and user-owned dirty worktree files untouched and note them. In T3 Code, call unwatch_pull_request if watching.
  4. Settle: If every close and comment succeeded, call t3_thread_organize with settle as your last tool call when in T3 Code, then post a brief receipt. On any failure, report the blocker and leave the thread unsettled.

2B. CONTINUE — modernize and ELI5

  1. Modernize:
    • Check base-branch changes since divergence for conceptual conflicts (changed APIs, invariants, or deleted/moved paths) — a clean rebase does not prove the implementation still fits.
    • If the goal still holds but the implementation no longer fits, stop before pushing and note the smallest credible rewrite in the ELI5.
    • Otherwise rebase onto the freshly fetched base (use a disposable worktree if the active one has uncommitted user edits), verify intent with git range-diff, run focused checks for the touched area, and push with --force-with-lease against the pre-rebase head SHA.
    • With no PR yet, rebase a clean local branch onto latest base and leave dirty edits untouched.
  2. ELI5: Leave the thread unsettled and summarize in plain English so the user can scan it in 15 seconds (no commit logs or diff play-by-play):
    • What this is: one sentence on the problem and why it still matters.
    • Where it's at: PR/issue link, what's built, rebase/rework status, and live CI/review state.
    • What's left: 1–3 bullets on actual blockers or remaining work.
    • Next step: one concrete action or single decision, recommendation first.