Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

cross-ref

bởi glucksberg

Web & Frontend Development
354Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Cross-reference GitHub PRs and issues to find duplicates and missing links.

Mô tả

Kỹ năng này làm gì

Cross-references GitHub PRs and issues to surface duplicate PRs and issues that already have a solving PR but no explicit link. Spawns parallel Sonnet subagents to analyze up to 1000 PRs and 1000 issues simultaneously, then groups findings into thematic clusters scored by actionability. After review, it can comment, label, or close items via the GitHub CLI.

Manual cross-referencing stops being feasible past a few dozen items; parallel subagent analysis covers 1000 PRs and 1000 issues in minutes instead of hours.

Khi nào nên dùng

  • Finding duplicate bug-fix PRs submitted by different contributors
  • Linking open issues to merged PRs that solve them but lack a fixes #N reference
  • Auditing cross-references before closing out a milestone
  • Cleaning up a backlog of stale duplicate PRs in a large repo
  • Checking which open issues already have a PR in flight

Quy trình ví dụ

ĐẦU VÀO

User asks: Find duplicate PRs and missing issue links in myorg/myrepo

AGENT
  1. 1

    Fetch PR and issue metadata from GitHub API using fetch-data.sh, producing compact per-line indexes and an existing-references map

  2. 2

    Split PRs into batches of 50 and spawn parallel Sonnet subagents, each receiving its batch plus the full issue and PR indexes

  3. 3

    Merge subagent results, deduplicate symmetric duplicate-PR pairs, filter by confidence threshold, and group into thematic clusters scored by actionability

  4. 4

    Spawn a single verification subagent to confirm candidates using full PR diffs and issue bodies fetched via gh CLI, downgrading or removing false positives

  5. 5

    Present a scored cluster report and prompt the user to choose comment, label, or close actions per cluster before anything is executed

ĐẦU RA

A markdown report listing clusters of related findings sorted by actionability score, with suggested actions per cluster and a separate section for items flagged for manual review

Yêu cầu

  • GitHub account
  • gh CLI authenticated with repo scope (or public_repo for public repos) and issues:write permission

Cài đặt

clawhub install glucksberg/cross-ref

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết