pullrequests-list
List open PRs or MRs for one code/ repo on GitHub or GitLab, classified by merge readiness: G ready, C conflicted, R checks failed. Use to list or review open PRs/MRs for a repo.
- License 许可
- MIT
- 最近更新
- 2026-10-26
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- pullrequests-list
- description
- List open PRs or MRs for one code/ repo on GitHub or GitLab, classified by merge readiness: G ready, C conflicted, R checks failed. Use to list or review open PRs/MRs for a repo.
02 资源文件 2
- 脚本scripts/list.py1.9 KB
- 脚本tests/test_list.py8.3 KB
03 SKILL.md 正文
pullrequests-list
Lists every open PR/MR of a single code/ repo, classifies each by merge
readiness, and prints a table sorted oldest-to-newest. The host (GitHub or
GitLab) is detected from the repo's origin.
Procedure
-
Invoke the script once, passing the repo name:
mise exec -- python3 ${CLAUDE_PLUGIN_ROOT}/skills/pullrequests-list/scripts/list.py --repo <repo> -
Read the table (
URL,ST,DESCRIPTION). Codes, priority C over R over G:Code GitLab GitHub C detailed_merge_status=conflictorhas_conflictsmergeable=CONFLICTINGR head pipeline failedorcanceledcheck rollup reduces to failed G everything else everything else -
DESCRIPTION is the PR
body(GitHub) or MRdescription(GitLab), stripped and cut to 200 characters plus.... The title is not shown.
Exit rule
- Exit 1 when any PR/MR is C or R; otherwise 0.
- No open PR/MR: an empty table, exit 0.
- Malformed
WORKBENCH_SCM_HOSTSentry: usage error, exit 2. - Local-only repo: prints
local-only: no PR/MR host for <origin>, exit 0.
04 同仓库更多 Skills
claudy
d claudy
gamma
Literal line one. Literal line two.
beta
Quoted: description with a colon.
alpha
Folded description that spans two lines and ends here.
worktree-merge
Rebases one subagent's worktree onto the base branch, optionally verifies the rebased tree, fast-forwards it into the worktree that has the base checked out (an epic integration tree or the main checkout), verifies every commit landed, and only then removes the worktree and its branch. Keeps the worktree intact on any conflict, dirty tree, or failed check. Use after a subagent returns work created with worktree-create.
worktree-create
Creates one isolated git worktree for one subagent, at <workbench>/.claude/worktrees/<name>, branched from main with the newest origin/main and local main merged in. Refuses a name already in use so two agents can never share a tree. Use once per implementation or review subagent before dispatching it; pair with worktree-merge to land the work and clean up.