Evo gh report generator

From OpenLAIR/OpenSkill · View interactive version

Evo gh report generator is an AI agent skill from the GitHub repository OpenLAIR/OpenSkill. Computes community pulse metrics from raw PR and issue data and writes a structured report.json file. Calculates PR counts by state, average time-to-merge, top contributor, bug issue counts, and resolved bugs. Use when you need to generate GitHub repository health metrics reports.

How to use this skill

Skill file

evo-gh-report-generator

Processes fetched PR/issue data to compute all required metrics and serialize results to report.json.

Key Concepts

Usage

import sys
sys.path.insert(0, '/app/environment/skills/evo-gh-report-generator/scripts')
from utils import compute_pr_metrics, compute_issue_metrics, generate_report

# prs = list of PR dicts from GitHub REST API
# issues = list of issue dicts from GitHub Search API

pr_metrics = compute_pr_metrics(prs)
issue_metrics = compute_issue_metrics(issues)
report = generate_report(pr_metrics, issue_metrics, "/app/report.json")

Functions

Output Format

{
  "pr": {
    "total": <int>,
    "merged": <int>,
    "closed": <int>,
    "avg_merge_days": <float>,
    "top_contributor": <str>
  },
  "issue": {
    "total": <int>,
    "bug": <int>,
    "resolved_bugs": <int>
  }
}
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.