agentleFS
andradehenriqueandradehenrique/agent-skills/skills/github-engineering-report/SKILL.md

github-engineering-report

Skill5 starsChanged 10 days agoMITView on GitHub

Use when the user wants a daily or weekly engineering panorama, repository overview, or PR timeline analysis from GitHub, optionally cross-referenced with Jira tickets. Triggered by prompts about engineering summaries, repository activity, PR timelines, or what happened on a specific day/week.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 4 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Org-wide: No repo mentioned, or words like "engenharia", "time", "org", "geral"

    line 37
  2. Distinctive:

    Use GitHub MCP to fetch:

    line 48
  3. Very specific:

    Classify reviewers: Use scripts/heuristics.py — is_bot(username) to detect bots (dependabot, github-actions, sonarqube, etc.)

    line 66
  4. Very specific:

    Use scripts/heuristics.py for classification:

    line 70
  5. Very specific:

    Use <details>/<summary> for collapsible sections

    line 100
  6. Distinctive:

    All KPIs, all PRs, all issues, releases, workflow runs, full timeline

    line 114
  7. Distinctive:

    Jira: Only works if tickets referenced in PRs/commits

    line 130

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

GitHub Engineering Report

Overview

Generate self-contained HTML reports from GitHub activity (commits, PRs, issues, reviews, actions, releases) with optional Jira cross-reference. Detects blockers, anomalies, human vs. bot reviews, and produces actionable insights.

Required Tools

  • GitHub MCP with repo scope
  • Jira MCP (optional, for ticket cross-reference)

When to Use

  • User asks for "panorama da engenharia", "resumo do dia", "o que aconteceu ontem"
  • User mentions a specific repo: "resumo do repo X"
  • User asks about a PR: "timeline do PR #234", "análise do PR X"
  • User wants "drill-down" de engenharia, atividades do time, destaques do dia

When NOT to Use

  • User asks for code changes, bug fixes, or feature implementation
  • User asks for data outside the configured GitHub org/repos
  • User asks for metrics of AI tool usage (Cursor, Claude Code) — these are unavailable due to admin permission limitations

Workflow

Step 1: Determine Scope and Time Window

From the user's prompt, extract:

Scope:

  • Org-wide: No repo mentioned, or words like "engenharia", "time", "org", "geral"
  • Repo-specific: Repo name detected (e.g., "auth-service", "frontend")
  • PR-timeline: PR number mentioned, or word "timeline" + PR reference

Time Window:

  • Default: Last 24 hours (00:00 to 23:59 of previous day)
  • Explicit: Parse "esta semana", "últimos 7 dias", "desde segunda", "hoje", "ontem"
  • Custom: ISO dates if provided

Step 2: Query GitHub Data

Use GitHub MCP to fetch:

  1. list_commits (since/until, per repo)
  2. list_pull_requests (state=all, sorted by updated, filter by date)
  3. list_issues (state=all, filter by created/closed in window)
  4. list_reviews (for PRs in window)
  5. list_comments (for PRs in window)
  6. list_workflow_runs (for repos in window, filter by date)
  7. list_releases (for repos in window, filter by date)

For org-wide, query top 10 repos by recent activity (commits + PRs in window).

For PR-timeline, query the specific PR + all reviews + all comments + all commits + all workflow runs for that branch.

Step 3: Parse and Enrich

  • Extract Jira keys: Scan PR titles, commit messages, branch names for pattern [A-Z]+-\d+
  • Deduplicate keys, then query Jira MCP (get_issue) for each
  • Classify reviewers: Use scripts/heuristics.py — is_bot(username) to detect bots (dependabot, github-actions, sonarqube, etc.)

Step 4: Apply Heuristics

Use scripts/heuristics.py for classification:

FunctionPurpose
is_bot()Detect bot reviewers
classify_pr()Feature / Bugfix / Other
detect_blocked()Flag blocked PRs
detect_long_running()Flag old PRs
extract_jira_keys()Find Jira references
classify_verdict()Healthy / Blocked / Long-running

Step 5: Generate HTML Report

Generate a single self-contained HTML file with inline CSS.

Sections:

  1. Header — Title, scope, date, limitation note about AI usage
  2. KPI Cards — 11 cards: Eventos, Commits, PRs abertos, PRs merged, Reviews, Comentários, Issues fechadas, Issues abertas, Devs ativos, Actions falha, Releases
  3. Destaques — Color-coded cards: bloqueados, long-running, humano vs bot, anomalias
  4. PRs em Destaque — Table with PR #, Repo, Autor, Título, Status, Reviews, Comentários, Duração, Jira links, Tags
  5. Análise de Reviews — Stats: total, human vs bot, top revisores, direct merges
  6. Cruzamento Jira — Table (if applicable)
  7. Contribuidores — List with counts
  8. Timeline — Chronological events
  9. Footer — Source note

CSS Requirements:

  • Self-contained, no external dependencies
  • Responsive with max-width 1200px
  • Colors: green=merged, red=blocked, yellow=long-running, blue=info, gray=bot
  • Use <details>/<summary> for collapsible sections

Step 6: Output

  • Save HTML to: github-report-{scope}-{date}.html
  • Present key highlights in text summary
  • Offer to open in browser

Output Format by Mode

Org-wide

  • Top 10 repos, top 5 PRs, Jira summary, top 5 contributors

Repo-specific

  • All KPIs, all PRs, all issues, releases, workflow runs, full timeline

PR-timeline

  • PR metadata + timeline + reviews + comments + Jira + verdict

Error Handling

  • GitHub MCP error: Report in header, suggest checking token
  • Jira MCP error: Skip section, continue
  • No data: Zeroed KPIs + "Nenhuma atividade detectada"
  • Partial failure: Note about what couldn't be fetched
  • Rate limited: Retry once with 5s backoff

Limitations

  • No AI usage metrics: Cannot report on Cursor/Claude Code per dev
  • Jira: Only works if tickets referenced in PRs/commits
  • Private repos: Require appropriate MCP permissions
  • Large orgs: Limited to top 10 repos

Examples

  1. "Dá o panorama de ontem na engenharia" → org-wide report
  2. "Resumo do repo auth-service" → repo-specific
  3. "Timeline do PR #234" → PR deep-dive

Version 1.0 - 2026-06-11

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.