Use when explaining System V AMD64, ARM AAPCS, RISC-V psABI, stack frames, variadic calls, or FFI register rules. Not for the Rust FFI binding layer: use rust-ffi.
日本語の概要は準備中です。原文の説明を表示しています。
Use when the user asks "where to help", "contribution opportunities", or "find a good first issue". Returns data-backed first steps. Not for PR review queues: use gh-review-requests.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
| Field | Bound contract |
|---|---|
| Trigger | The user asks "where can I help", "what can I contribute", "find a good first issue", or "what should I work on". |
| Authority | Read-only. No file, VCS, credential, paid, published, deployed, or remote mutation. |
| Side effect | None; ranked recommendations only. |
| Done | Two to five evidenced recommendations with what, why, location, and first step, each based on a read source range and carrying a certainty label. |
Bound scope. If the user already named an exact task or issue, stop: solve that task instead. If the request is pure project orientation with no contribution decision, produce orientation, not recommendations. If the repo cannot be read locally and no public issue tracker is available, report what is missing and stop. Done when: scope is bounded to contribution recommendations, or the request is redirected to the named task or orientation.
Resolve target and collect base context. Default target is the current repo unless the user supplied a path. Capture the project shape before ranking:
fd '^(package.json|pyproject.toml|Cargo.toml|go.mod|pom.xml|build.gradle|deno.json|bun.lockb|pnpm-lock.yaml|requirements.txt)$' <repo>.fd --max-depth 3 --type f <repo>; exclude generated/vendor directories.fd '^(README|CONTRIBUTING|DEVELOPMENT|HACKING)(\..*)?$' <repo> then read the relevant file ranges.fd '(^test$|^tests$|__tests__|spec$|\.test\.|\.spec\.)' <repo>.Collect contribution signals with native recipes. Prefer indexed codegraph when available; otherwise use ast-grep, rg, fd, and git history. Keep every signal as {kind, file, line?, metric, confidence, evidence}. Missing kind, file for file-backed work, or evidence downgrades the candidate to LOW. Done when: every collected signal has kind, file where applicable, evidence, and confidence.
rg -n 'from .*/<module>|require\(.*/<module>|use .*<module>|import .*<module>' and prefer files with few dependents plus visible neighboring tests.git --no-pager log --since='180 days ago' --name-only --format='commit:%H' -- <src-paths>; rank source files by touches, then subtract files whose commits include a matching test|tests|spec|__tests__ path. HIGH when source churn ≥5 and zero matching test co-change; MEDIUM when no test root exists but naming conventions are unclear.git --no-pager log --since='365 days ago' --name-only --format='commit:%H' -- docs README* CONTRIBUTING*; compute doc commits with no source files. Extract backticked identifiers/import paths from docs, check via codegraph search, else rg -n '<identifier-or-path>' <repo>. HIGH for broken import/path; MEDIUM for zero code coupling over the window.git --no-pager log --since='365 days ago' --regexp-ignore-case --grep='fix|bug|regression|crash|panic|race|leak|broken' --name-only --format='commit:%H' -- <repo>; bug-fix rate = fix_touches / max(total_touches, 1). HIGH when fix_touches ≥3 and rate ≥0.25; MEDIUM when only one threshold holds.gh issue list --state open --limit 15 --json number,title,labels. Route labels: bug/regression/crash → bugs; good first issue/help wanted → newcomer; documentation/docs → docs; test/testing/coverage → tests; cleanup/refactor/chore → cleanup only after repo verification. If gh fails, mark issue signal unavailable and continue.Ask the developer's interest, mandatory and first, before recommendations. Present a single-select with exactly one Recommended option. Do this even if signals already look obvious. Done when: the developer selects one interest.
Prompt: What kind of contribution do you want to make?
Options:
New to the stack: Recommended when good-first areas or cleanup candidates exist.Experienced: hard problems, bugspots, architecture-adjacent issues.Want to write tests: test gaps and bugspot overlap.Want to fix bugs: bug-labelled issues, bugspots, suspicious conditions.Want to improve docs: stale references, doc drift, documentation issues.Want quick cleanup: verified deletion-only or tightly-contained cleanup.Route interest to signals. Lead with the strongest non-empty primary signal for the chosen interest; skip empty subsections with one sentence, not a filler apology. If the chosen interest has no supporting signal, name which signal was empty and pivot to the nearest adjacent interest with data. Done when: the selected interest is routed to its strongest available signal or an explicit data-backed pivot.
good first issue labels (secondary); prefer one-file tasks with examples nearby and low blast radius.test/testing/coverage labels, nearby test templates (secondary); sort by hotness + bug-fix rate.bug/regression/crash issues, bugspots (primary); always-true/false conditions, flaky-test labels, recent reverts (secondary); issue + bugspot overlap first.documentation labels, README examples failing lookup (secondary); broken symbol/path beats coarse zero-coupling.Score and rank candidates. Order candidates within the selected interest:
base = confidence(HIGH=3, MEDIUM=2, LOW=1); overlap_bonus = 2 if two primary signals match else 0; locality_bonus = 1 if one file and nearby examples exist else 0; issue_bonus = 1 if matching open issue label exists else 0; risk_penalty = 2 if exported/public/entrypoint, 1 if generated-looking, 3 if no file read yet; score = base + overlap_bonus + locality_bonus + issue_bonus - risk_penalty.
Suppress candidates with score <= 1 unless every signal is weak; in that case disclose LOW certainty and ask whether to inspect deeper. Prioritize file-level evidence over directory-level evidence. Prefer overlap (test gap ∩ bugspot beats standalone test gap). Cap to 5 recommendations. Exclude generated, vendored, lockfile, snapshot, and build-output files. Done when: candidates are scored, ranked, filtered, and capped to five.
Read before explaining. For every candidate that survives ranking, read the target file range plus enough surrounding code to understand the local pattern. For docs, read the stale doc and the current code target. For tests, read one nearby existing test pattern. Structural claims without a read are Graft; exclude them. Done when: every surviving candidate has a read source range backing its explanation.
Apply the slop cleanup gate when a recommendation is cleanup-shaped and claims "zero behavior change". A recommendation that makes no such claim never routes through this gate. Before any zero-behavior wording:
rg -n '<symbol>' <repo> and language-specific ast-grep for import/export sites.Emit 2 to 5 recommendations. Each uses the four-field shape so a contributor can act without re-reading the code:
#<number> and still name the file once known.bat -P -p -n <file>, rg -n '<symbol>' <paths>, gh issue view <number>, or a concrete edit after verification. If line numbers are unavailable, the First step must produce them.
Do not include a recommendation that cannot fill all four fields. Done when: two to five recommendations fill all four fields and carry certainty labels.Offer the next depth step. Close with: Want me to walk you through one of these? I can read the target code, outline the exact diff, or draft the PR description. Done when: the depth-step offer is delivered.
gh unavailable or unauthenticated: open issues signal unavailable. Continue with local bugspots, test gaps, doc drift, and cleanup signals.A ranked list of 2 to 5 recommendations, each in the four-field shape (What / Why / How / First step), preceded by the developer's chosen interest and the signals that routed to it. Each recommendation carries a certainty label (HIGH, MEDIUM, or LOW). The list closes with an offer to walk through one recommendation in depth. If no safe recommendation survives, a terminal report stating that no data-backed contribution opportunity was found, naming the signals checked and the reason each was empty.
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Use when explaining System V AMD64, ARM AAPCS, RISC-V psABI, stack frames, variadic calls, or FFI register rules. Not for the Rust FFI binding layer: use rust-ffi.
日本語の概要は準備中です。原文の説明を表示しています。
Use when configuring ADC sampling time, DMA-driven ADC, calibration, or DAC channel setup on bare-metal MCUs. Not for the DMA stream itself: use dma-baremetal.
日本語の概要は準備中です。原文の説明を表示しています。
Use when creating AF_XDP sockets, configuring UMEM and XSK rings, writing an XDP redirect program, or choosing copy versus zero-copy mode. Not for full kernel bypass: use dpdk.
日本語の概要は準備中です。原文の説明を表示しています。
Use when a completed session needs an agent-environment retrospective. Not for an engineering retrospective from telemetry: use engineering-retrospective.
日本語の概要は準備中です。原文の説明を表示しています。
Use when a redacted, trimmed agent transcript must be appended to a GitHub PR or issue body, with human approval and preview. Not for automated or model-initiated insertion.
日本語の概要は準備中です。原文の説明を表示しています。
Use when a repo needs agent setup, AGENTS.md added or made lean, CLAUDE.md audited, or agent instructions scored or pruned. Not for remote, credential, publish, deploy, or irreversible changes.
日本語の概要は準備中です。原文の説明を表示しています。