- Home
- Skills
- Code Quality & Review
- GitHub Top Contributors This Month
GitHub Top Contributors This Month
Rank GitHub repository contributors by pull requests created in the current month using precise Search API filtering.
Free
Works with the AI Agents you already use
GitHub Top Contributors This Month
Example session with this skill installed
Who are the top contributors for the month in the current repository?
- Read your context and instructions
- Compiled the github top contributors
I have analyzed the pull request activity for the current month (2025-05-01 to 2025-05-22). I retrieved 142 total pull requests and aggregated the authors to identify the most active contributors.
Monthly PR Leaderboard (May 2025)
Total PRs Raised: 142
Date Range: 2025-05-01 to 2025-05-22
| # | Author | PRs |
|---|---|---|
| 1 | dev-pro-99 | 24 |
| 2 | octocat | 18 |
| 3 | code-master | 15 |
| 4 | bug-squasher | 12 |
| 5 | feature-lead | 11 |
| 6 | docs-guru | 9 |
| 7 | junior-dev-01 | 8 |
| 8 | refactor-king | 7 |
| 9 | test-enthusiast | 6 |
| 10 | ui-specialist | 5 |
Note: Your current rank is #7 with 8 pull requests.
Next steps
- Run
gh pr list --author <login>to review specific contributions from any author. - Use
gh repo view --webto see these PRs in the browser. - Request a deep dive on any specific author's PR titles.
Connects securely to your tools. The creator never sees your data.
About this skill
GitHub's standard API endpoints for pull requests often return misleading data when filtering by time. Using the since parameter captures updated PRs rather than newly created ones, leading to inaccurate leaderboard counts. This skill solves that by leveraging the GitHub Search API and the gh CLI to precisely track monthly contributions.
What it does
- Precision filtering Targets the
createddate attribute to ensure only PRs opened within the current month are counted. - Accurate aggregation Collects author logins across paginated results to build a reliable ranking.
- Cross-page verification Compares the sum of aggregated author counts against the API's
total_countto ensure no data is missed. - Limit detection Monitors the 1,000-result threshold of the GitHub Search API and warns if data may be incomplete.
- Leaderboard generation Produces a formatted Markdown table of the top 10 contributors including the total PR count.
How it works
- Calculate the current month's date range and execute a search query to retrieve the
total_countof pull requests. - Fetch paginated result sets using the
gh apicommand, extracting the login of every PR author. - Process the list of logins to count occurrences and rank authors in descending order.
- Validate the results against the initial total count and format the findings into a leaderboard.
Frameworks & tools
Requires the GitHub CLI (gh) to be installed and authenticated. It utilizes the GitHub Search API for issue and pull request indexing.
Why this beats prompting it yourself
Manual prompts often fail to account for the nuances of GitHub's pagination or mistakenly use the pulls endpoint which overcounts via the since filter. This skill handles the specific CLI syntax and multi-step verification required for data integrity.
Use cases
- Generate monthly contribution reports for open-source maintainers.
- Audit team velocity by identifying the most active PR authors.
- Create automated "Contributor of the Month" leaderboards for internal repositories.
Known limitations
Requires gh CLI authentication. GitHub Search API caps results at 1000 items, which may affect extremely high-velocity repositories.
Requires authenticated gh CLI. Search API limit of 1000 results per query may truncate data for very high-volume repos.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 11 days ago
- Free with an Agensi account
Permissions
No special permissions declared or detected
What's inside
Frequently Asked Questions
New in Code Quality & Review
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Code Quality & Review.