用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Morrison-Lab/ai-config --skill pending-decisions命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | pending-decisions |
| description | Surface items awaiting decision. |
| user-invocable | true |
| allowed-tools | ["Bash","Read","Agent"] |
prompt-me / prompt-me-all sweep the current conversation for questions
left unanswered. They can't see a question a prior session left stalled on
an issue or PR — that stub sits in the tracker until someone happens to reopen
it. This skill sweeps the tracker itself: it finds issues/PRs genuinely
waiting on the user's decision and triggers the question-asking, one item at a
time.
/pending-decisions, /pd, "pending decisions", "pd".pd all (every repo in this session's GitHub
scope), pd owner/repo (one specific repo).all / "every repo" / "sweep everything" → every repo in this session's
GitHub scope (the "Repository Scope" list, plus any repo added via
add_repo this session).owner/repo → that repo specifically.State the scope you're using before searching, so a wrong guess is cheap to correct.
For each repo in scope, search for open issues/PRs against these signals, most reliable first. An item can hit more than one signal; that's fine, dedupe in Step 3.
Explicit review-request escalation — search_issues with
repo:<owner>/<repo> is:open review-requested:@me (GitHub resolves @me
to the authenticated user — more portable than hardcoding a username).
This is exactly
the deadlock-escalation mechanism ardi/fully-clean/
address-every-comment already use ("request a human reviewer... surface
the open item to me") — a hit here is unambiguous: something is genuinely
stalled on the user.
A decision-style label, if the repo defines one — search_issues with
repo:<owner>/<repo> is:open label:question (GitHub's common default
label) or whatever the repo's own convention names.
An unresolved bot-posed question in recent activity — the noisiest
signal, so bound it: pull the ~30 most recently updated open issues/PRs
(search_issues ... sort:updated), and for each, read the latest comment
(pull_request_read get_comments / issue_read get_comments, plus
get_review_comments for inline threads on PRs). Count it as a candidate
only when all of:
?;This is a judgment call, not a regex — when it's unclear whether a comment is still live or was already resolved by later activity, read the surrounding thread rather than guessing either way. If more open items exist beyond the ~30-item window, say so ("N more open issues not scanned for this signal") instead of silently under-covering.
Collect every candidate across repos and signals into one list, dedupe by issue/PR number (an item hitting more than one signal ranks by its strongest signal), and rank most-pressing first, three tiers:
Within each tier, more recently updated beats older.
(Same ordering prompt-me/prompt-me-all use for conversation-scoped
questions — reused here rather than re-derived.)
Apply the "Present decisions one at a time" rule
(proposed in ai-config#584 ---
once merged, follow that CLAUDE.md section directly; until then, apply the
same logic inline): pose only the single most pressing candidate — quote or
paraphrase the actual question, link the issue/PR, state how many more are
queued — then wait for the answer before moving to the next. Fold each answer
into the framing of the next question, and drop any later candidate the
answer already mooted.
Once the user answers a candidate:
CLAUDE.md's "Post in-chat feedback to the PR"), so the record is visible
to future sessions and bots — not just this transcript.If the sweep turns up nothing, say so plainly ("no pending decisions found
across <repos>") rather than manufacturing a candidate to fill the report.
prompt-me / prompt-me-all — the conversation-scoped analog; this
skill is scoped to the issue/PR tracker instead, so it survives across
sessions and finds what a transcript-only sweep can't see.CLAUDE.md's "Present decisions one at a time" (#584) ---
the presentation mechanic Step 4 reuses rather than redefining.ardi / fully-clean / address-every-comment — the mechanisms that
produce most Signal-1 candidates (a deadlock escalated to a human
reviewer via request-pr-review).post-merge — once a candidate's issue/PR merges or closes, it drops
out of the next sweep on its own; nothing extra to clean up here.CLAUDE.md's "Present decisions one at a time").