ralph-two-pass-scan
Cuts GitHub API calls by separating lightweight list scanning from full hydration
ソース情報
- リポジトリ
- github/gh-aw
- ソースの最終更新活動
- 2026年8月17日 21:20
- 検出された SKILL.md の言語
- 英語
- スター
- 5,381
- フォーク
- 584
インストール方法
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
ソースファイルを確認
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
SKILL.md を表示中
SKILL.md
ソースの指示 · 読み取り専用プレビュー- 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:**
| Condition | Skip reason |
|-----------|-------------|
| `assignees` non-empty AND no `status:needs-review` | Already owned |
| Labels contain `status:blocked` or `status:waiting-external` | Externally gated |
| Labels contain `status:done` or `status:postponed` | Closed 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.
GitHubで見る