potiuk opened a new pull request, #66464:
URL: https://github.com/apache/airflow/pull/66464

   ## Summary
   
   Restructure `pr-stats` from "two dense tables" to a multi-section maintainer 
dashboard. Hero cards show repo-health rating; a deterministic recommendation 
panel surfaces the next slash-command to run; weekly charts cover closure 
velocity, opened-vs-closed momentum, ready-for-review trend by top areas, and 
closed-by-triage-reason breakdown; a pressure ranking points at where to focus 
a triage/review session. Original tables move into collapsible details for 
maintainers who want raw per-area numbers.
   
   ## What changed
   
   - **`SKILL.md`** — new frontmatter; new Steps 5a–5f (health/actions, weekly 
velocity, opened-vs-closed buckets, ready-trend, closed-by-reason, pressure 
score); restructured Step 6 (render dashboard primary, with detailed tables 
collapsed); new Golden rules 6+7 (deterministic recommendations, actions link 
to other skills).
   - **`aggregate.md`** — five new sections: pressure score formula, weekly 
velocity, opened-vs-closed weekly buckets, ready-for-review trend by top areas, 
closed-by-triage-reason buckets, plus a health-rating thresholds table.
   - **`classify.md`** — new `pressure_weight` helper definition.
   - **`fetch.md`** — new "Ready-label timeline" section documenting the 
aliased GraphQL `LabeledEvent` query needed for the ready-for-review trend 
chart.
   - **`render.md`** — full restructure: HTML dashboard becomes primary output 
(hero cards / action panel / four chart panels / pressure-by-area / 
triage-funnel / collapsed detailed tables / verbose legend); Rich tables move 
to a `tables-only` opt-in. New recommendation-rule table (10 rules), expanded 
colour scheme covering all chart elements, and a verbose multi-section legend.
   
   ## Why
   
   Maintainers asked variations of "what should I do today" — a 17-column 
raw-numbers table requires the maintainer to scan, compare, and infer. The 
dashboard surfaces those conclusions explicitly with priority colours and 
one-paste slash-commands. Trend charts (closure velocity, opened-vs-closed 
momentum, ready-for-review per area) make queue dynamics legible at a glance 
instead of requiring weekly mental modelling.
   
   The change keeps the skill read-only — every recommendation points at 
another skill (`pr-triage`, `maintainer-review`) for the actual mutation.
   
   ## Mirror
   
   The same conceptual changes have been mirrored to the `pr-management-stats` 
skill in `apache/airflow-steward` (PR coming separately).
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Claude Code (Opus 4.7)
   
   Generated-by: Claude Code (Opus 4.7) following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to