Github report builder
Build structured JSON reports from GitHub repository activity data. Use this skill whenever you need to compile PR and issue statistics into a formatted JSON file for meeting summaries, community pulse reports, or stakeholder updates. Triggers on tasks that require outputting a report.json or similar artifact from GitHub metrics.From its SKILL.md
npx -y skills add cxcscmu/SkillLearnBench --skill github-report-builderAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
1.7 KB, 351 tokens by cl100k_base, as published. Nobody here has run it
GitHub Report Builder
Compile GitHub activity metrics into a structured JSON report.
Report Schema
{
"pr": {
"total": "<int> total PRs created in period",
"merged": "<int> PRs merged (as of query time)",
"closed": "<int> PRs closed without merge (as of query time)",
"avg_merge_days": "<float> average days from creation to merge, 1 decimal",
"top_contributor": "<str> login of user who opened the most PRs"
},
"issue": {
"total": "<int> total issues created in period",
"bug": "<int> issues with a label containing 'bug'",
"resolved_bugs": "<int> bug issues that were closed during the period"
}
}
Computation Notes
avg_merge_days
- Filter to merged PRs only.
- For each:
(mergedAt - createdAt)in fractional days. - Average all values, round to 1 decimal place.
- If no PRs were merged, use
0.0.
top_contributor
- Count PRs per
author.login. - If there is a tie, pick the one that appears first alphabetically (or as the requester specifies).
resolved_bugs (closed during the month)
- Filter issues to those with at least one label containing
bug. - Among those, count the ones whose
closedAttimestamp falls within the report period.
Output
Write the JSON to the specified path using Write tool or jq. Ensure numeric types are correct (integers for counts, float for avg_merge_days).
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.