界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
开发与工程 · SKILL.md

ralph-two-pass-scan

ralph-two-pass-scan

【开发与工程】Cuts GitHub API calls by separating lightweight list scanning from full hydration

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: "ralph-two-pass-scan" description: "Cuts GitHub API calls by separating lightweight list scanning from full hydration" domain: "work-monitoring" confidence: "high" source: "extracted"

Skill: Ralph — Two-Pass Issue Scanning

Confidence: high Domain: work-monitoring Last validated: 2026-03-24

Context

Cuts GitHub API calls from N+1 to ~7 per round (~72% reduction) by separating list scanning from full hydration. Addresses the scanning inefficiency described in issue #596.

Pattern

Pass 1 — Lightweight Scan

gh issue list --state open --json number,title,labels,assignees --limit 100

Skip hydration if ANY of these match:

ConditionSkip reason
assignees non-empty AND no status:needs-reviewAlready owned
Labels contain status:blocked or status:waiting-externalExternally gated
Labels contain status:done or status:postponedClosed loop
Title matches stale/noisy pattern ([chore], [auto])Low-signal

Pass 2 — Selective Hydration

For each issue surviving Pass 1:

gh issue view <number> --json number,title,body,labels,assignees,comments,state

Then apply normal Ralph triage logic. Rule of thumb: hydrate ≤ 30% of scanned list. If more than 30% survive Pass 1, tighten filter rules.

我的收藏