Upstream Recon
by @semmyt
Investigate an open-source project before interacting with it — PRs, issues, or comments. Use BEFORE: filing an issue, submitting a PR, or commenting on an e...
clawhub install upstream-recon📖 About This Skill
name: upstream-recon description: > Investigate an open-source project before interacting with it — PRs, issues, or comments. Use BEFORE: filing an issue, submitting a PR, or commenting on an existing thread. Triggers on: "upstream recon", "should I PR this", "will they merge", "check the project", "investigate the repo", "PR strategy", "file an issue", "check existing issues", "should I comment", or any time the user wants to interact with a repo they don't maintain. Also use proactively when about to file an issue or PR — checking existing threads prevents duplicates and wasted effort.
Upstream Recon
Investigate a repo's culture and existing threads before interacting. Prevents duplicate issues, wasted PR effort, and uninformed comments.
Arguments:
Procedure
Use gh CLI throughout. Run independent queries in parallel.
1. Repo metadata — stars, forks, license, last push date, archived status
2. Top 10 contributors — commit counts. Is it one person with 90%+ commits?
3. Existing issues search — search open AND closed issues for the topic keyword.
Check for duplicates, prior art, and maintainer responses. Report what was found.
4. Recent 30 PRs (all states) — get the lay of the land
5. Merged PRs (last 20) — who merges them? How fast? What types get accepted?
6. Closed-without-merge PRs (last 50, filter mergedAt == null) — deep-dive
2-3 notable rejections: read comments for maintainer reasoning
7. Open PRs — how many sit with 0 reviews? For how long?
8. Topic deep-dive (if keyword given) — read comments on 2-3 most relevant
existing issues/PRs to understand maintainer sentiment and community workarounds
Analysis Dimensions
Recommendation
End the report with one of:
Include concrete next steps (e.g., "comment on #13738 with your workaround", "start with a bug fix PR to build credibility", "file an issue referencing #189", "fork and maintain independently").