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.
- License 许可
- MIT
- 最近更新
- 2026-10-02
- Stars
- ★ 93
- Forks
- 8
01 前言 Front Matter
- name
- Identify Top PR Contributor in December
- description
- Determine which person opened the most pull requests in December 2024 by analyzing author data from the PR query results.
03 SKILL.md 正文
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)
04 同仓库更多 Skills
object_counter
Count occurrences of an object in the image using computer vision algorithm.
travel-planning-workflow
Invoke this skill when performing travel planning. It defines a structured workflow for generating itineraries. Following this workflow is essential to ensure the final plan satisfies user requirements.
bundled-dataset-search-tool
invoke this skill when you need to perform database search for travel planning. This skill provides some useful pre-packaged tools to look up accommodations, attractions, cities, driving distance, flights, and restaurants from the bundled dataset.
glm-output
Output-processing guidance for GLM tasks. Especially useful after glm-basics and glm-calibration when you need verifier-matching metrics from output.nc and a final /root/metrics.json.
glm-calibration
Calibration guidance for GLM tasks. Often most effective after glm-basics has clarified the setup; glm-output is the companion skill for exact final metric computation.
glm-basics
A good starting point for GLM calibration tasks. Use to inspect glm3.nml, confirm how GLM runs, and identify the relevant files before moving on to calibration and output evaluation.