Skip to main content

list-review-threads

List unresolved review threads for the pull request recorded in workflow state. Use only when explicitly invoked as the list-review-threads skill.

来源信息

仓库
NTCoding/living-architecture
最近来源活动
2026年9月4日 19:39
检测到的 SKILL.md 语言
英语
星标
139
分支
21

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
list-review-threads
description
List unresolved review threads for the pull request recorded in workflow state. Use only when explicitly invoked as the list-review-threads skill.
# List Review Threads 1. Detect the current harness before reading review threads: - If `CODEX_THREAD_ID` is present, run workflow operations with `pnpm --dir tools/dev-workflow-v2 run codex-workflow <operation> [args]`. - Otherwise, if `PI_CODING_AGENT=true` is present, run workflow operations with the `workflow` tool. - Otherwise, run workflow operations with `/dev-workflow-v2:workflow <operation> [args]`. 1. Run the selected harness's `get-state` workflow operation and extract `prNumber`. 1. Stop if `prNumber` is missing. Do not infer a PR from the current branch. 1. Fetch the PR URL, `reviewDecision`, reviews, and `reviewThreads` through GitHub GraphQL. Paginate the reviews, review threads, and every thread's comments connection until `pageInfo.hasNextPage` is false. 1. Keep unresolved review threads only and group them by file path. Use `no file` when a thread has no path. 1. For every unresolved thread, report its thread ID, file path, line when present, comment authors in chronological order, and the latest comment body selected by greatest `createdAt`. 1. Return exactly this report shape: ```text PR: #<number> <url> Unresolved threads: <count> ## <file path or "no file"> - Thread: <id> Line: <line or —> Authors: <author1>, <author2> Latest comment: <summary> ``` This skill is read-only. Do not reply to or resolve threads, and do not record workflow state.
在 GitHub 查看