pr-issue-scanner
Skill3 starsChanged 2 days agoApache-2.0View on GitHub
Live scan of GitHub PRs and issues using gh CLI to produce impact reports. Use when auditing contributions, checking PR status changes, or generating one-line impact summaries for a repository.
In this repository37 other files it gives its agents.
- docs/manual/agents.mdAGENTS.md
- ablate-combined-changesSkill
- agent-supervisor-methodologySkill
- benchmark-comparisonSkill
- browser-vlm-acceptanceSkill
- claim-verificationSkill
- claude-code-best-practicesSkill
- code-attributionSkill
- comms-connectSkill
- condition-based-waitingSkill
- conference-intelligenceSkill
- deep-research-methodologySkill
- defense-in-depthSkill
- detect-deployment-thrashingSkill
- directory-cross-examinationSkill
- doc-freshness-auditorSkill
- eval-harnessSkill
- github-comment-managerSkill
- github-deep-researchSkill
- github-issue-responseSkill
- harness-setupSkill
- issue-closure-strategistSkill
- issue-quality-assessmentSkill
- k8s-configmap-runtime-patchSkill
- k8s-config-persistence-trapSkill
- maintainer-profilingSkill
- measure-before-theorizeSkill
- multi-phase-optimization-campaignSkill
- phase-trackerSkill
- pptx-slide-creationSkill
- public-root-reproducibilitySkill
- repo-organizerSkill
- root-cause-tracingSkill
- technique-versioning-workflowSkill
- wrong-layer-debuggingSkill
- wrong-theory-cascade-preventionSkill
- youtube-transcriberSkill
The file
Files
PR & Issue Scanner Skill
Perform a live deep scan of all PRs and issues for a given GitHub repository and user. Produces a structured impact report showing what was merged, adopted, completed, or influenced upstream changes.
Usage
/pr-issue-scanner [repo] [username]$ARGUMENTS[0]= repository (e.g.,owner/repo)$ARGUMENTS[1]= GitHub username (optional, defaults to@me)
Workflow
Step 1: Gather All PRs
# List all PRs by author with full metadata
gh pr list --repo REPO --author USER --state all --limit 100 \
--json number,title,state,closedAt,mergedAt,statusCheckRollup,reviews,url
# For each PR, get detailed status
gh pr view NUMBER --repo REPO \
--json number,title,state,mergedAt,closedAt,reviews,reviewDecision,mergeableStep 2: Gather All Issues
# List all issues by author
gh issue list --repo REPO --author USER --state all --limit 100 \
--json number,title,state,closedAt,stateReason,urlStep 3: Classify Impact
For each item, determine impact category:
| Category | Criteria |
| MERGED | PR has mergedAt timestamp |
| ADOPTED | PR closed but code approach appears in another merged PR (check by searching for similar code patterns in other merged PRs) |
| COMPLETED | Issue with stateReason: COMPLETED |
| INFLUENCED | Issue closed as COMPLETED and referenced in a merged PR or commit |
| UNDER REVIEW | PR still OPEN with APPROVED or REVIEW_REQUIRED status |
| NO IMPACT | Closed without merge, no adoption evidence |
Step 4: Check for Attribution (Adopted Code)
For closed-but-not-merged PRs, search for code adoption:
# Get the PR diff
gh pr diff NUMBER --repo REPO > /tmp/pr_NUMBER.diff
# Search recent merged PRs for similar patterns
gh pr list --repo REPO --state merged --limit 50 \
--json number,title,mergedAt | jq -r '.[].number' | while read pr; do
gh pr diff $pr --repo REPO 2>/dev/null | grep -c "UNIQUE_PATTERN"
doneStep 5: Generate One-Line Impact Summary
Format each item as:
N. **#NUMBER** - TITLE [STATUS DATE] - ONE_SENTENCE_IMPACTGroup by category: Merged/Adopted > Critical Bugs Fixed > Features Added > Documentation > Under Review
Step 6: Generate Statistics
Total Contributions: N items with measurable impact
Upstream Code Adoptions: N PRs
Critical Bugs Fixed: N issues
Features Added: N issues
Documentation: N issues
Under Review: N PRsOutput Format
Save report to: YYYY-MM-DD_IMPACT-SUMMARY.md in current directory.
Key Commands Reference
# Quick status of all PRs
gh pr list --repo REPO --author @me --state all --json number,title,state,mergedAt
# Check if PR was merged
gh pr view NUMBER --repo REPO --json mergedAt
# Check review status
gh pr view NUMBER --repo REPO --json reviewDecision,reviews
# Check mergeable status
gh pr view NUMBER --repo REPO --json mergeable
# Get PR diff for attribution analysis
gh pr diff NUMBER --repo REPO
# Check issue close reason
gh issue view NUMBER --repo REPO --json stateReason<!-- imported on 2026-10-31 by tools/import-skills.py from a native Claude Code instance's skill library; the source site's names, ids, hosts and paths are scrubbed to <placeholders>; its other files were not copied -->Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

