agentsclimarketplace

Report generator

Skill cxcscmu/SkillLearnBench/skills/b4-skill-creator-gemini-3.1-flash-lite-preview/github-repo-analytics/report-generator

How to process GitHub API JSON output into a structured report.json for monthly analytics. Use this whenever you have raw JSON data from the gh CLI.From its SKILL.md

Install
npx -y skills add cxcscmu/SkillLearnBench --skill report-generator

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

SKILL.md

0.9 KB, 201 tokens by cl100k_base, as published. Nobody here has run it

Overview

This skill outlines how to process raw JSON output from gh into the required report.json format.

Required Fields

  • PRs:
    • total: Count of created PRs.
    • merged: Count of merged PRs.
    • closed: Count of closed (not merged) PRs.
    • avg_merge_days: Average days from creation to merge.
    • top_contributor: Person with the most opened PRs.
  • Issues:
    • total: Count of created issues.
    • bug: Count of issues labeled with 'bug' (substring match).
    • resolved_bugs: Count of bug issues closed within the month.

Process

  1. Save raw data to temporary files (e.g., prs.json, issues.json).
  2. Use Python (or jq) to aggregate the metrics.
  3. Output the JSON in the exact schema provided in the request.

What ships with it

Read from the repository

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

Keep looking

Skills are one crate of 326,871. 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.