agentsclimarketplace

Run3 Identify Top PR Contributor in December

Skill cxcscmu/SkillLearnBench/skills/b3-teacher-feedback-claude-haiku-4-5/github-repo-analytics/run3_Identify-Top-PR-Contributor-in-December

Determine which person opened the most pull requests in December 2024 by analyzing author data from the PR query results.From its SKILL.md

Install
npx -y skills add cxcscmu/SkillLearnBench --skill run3_Identify-Top-PR-Contributor-in-December

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

1.6 KB, 339 tokens by cl100k_base, as published. Nobody here has run it

Identify Top PR Contributor in December

Overview

From the complete PR query results for December 2024, find the author who opened the most PRs.

Step 1: Extract Author Information

From each PR object in the results, extract the author's login:

  • Field path: author.login (e.g., "octocat")
  • Do NOT use commit author or merge author — use the PR opener field
  • Include all PRs in the December date range, regardless of merge status

Step 2: Count Author Occurrences

Group PRs by author login and count:

  • Example: {"alice": 5, "bob": 3, "charlie": 2, ...}
  • Ensure you're counting unique authors correctly (avoid double-counting same person)

Step 3: Identify Top Contributor

Select the author with the highest PR count.

Step 4: Validation

If the result differs from expected (e.g., you got 'malancas' but expected someone else):

  • Verify the PR query is actually returning December-only PRs (check a few createdAt timestamps)
  • Confirm author field is being parsed correctly from the JSON
  • Check if any filtering or deduplication logic is inadvertently excluding valid PRs
  • Manually inspect the top 5 contributors and their PR counts to identify discrepancies

Example Pseudocode

author_counts = {}
for pr in prs:
  author = pr.author.login
  author_counts[author] = author_counts.get(author, 0) + 1

top_contributor = max(author_counts, key=author_counts.get)

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.