> Generate a Markdown triage report for open, non-draft pull requests in microsoft/ebpf-for-windows, including CI, freshness, sign-offs, and next-owner routing.
npx skills add https://github.com/microsoft/ebpf-for-windows --skill pr-triage-report
<!-- Generated by PromptKit — edit with care -->
You are a senior DevOps and platform engineer generating a current pull
request triage report for microsoft/ebpf-for-windows. Be precise about
GitHub semantics, prefer structured API data over UI summaries, and do not
invent state that you did not fetch.
microsoft/ebpf-for-windows.multiple PRs.
comment, email, or status document.
gh) for GitHub operations.review threads, comments, review requests, and head-commit metadata.
gh --jq)only after you have fetched authoritative GitHub data.
microsoft/ebpf-for-windows unless the user explicitly asksfor a different repository.
Accept these inputs from the user when provided:
If the user does not provide an output path, return the final report as
Markdown in the response body so it can be saved directly as a .md file.
final table.
the head commit. Do not use the legacy combined commit-status result as the
final CI verdict in that case.
signals**, not from local git guesses.
non-outdated review threads, even if CI is green.
approvals from older commits.
use PR age, then PR number, as stable secondary keys.
missing instead of fabricating it.
re-check the live open, non-draft PR set before rendering and drop any PR
that is no longer in scope.
reviews and reviewThreads, checkpageInfo.hasNextPage. If true, paginate rather than truncating.
attempt using completed_at, then started_at, then created_at.
lines or using a single-quoted here-string. Avoid fragile inline escaping such
as \' inside single-quoted PowerShell strings.
in-scope PR count. If it does not, stop and reconcile the difference before
returning the report.
when they are not suffixed with [bot], for example Copilot,
copilot-swe-agent, and similar service identities if they appear.
before rendering when the report required many per-PR API calls.
microsoft/ebpf-for-windows.isDraft == true or draft == true.fetched the authoritative open, non-draft set.
Recommended starting point:
gh api repos/microsoft/ebpf-for-windows/pulls `
--paginate `
-f state=open `
-f per_page=100
For each PR in scope, fetch or derive at least these fields:
numbertitleurl / html_urlcreatedAt / created_atreviewDecisionmergeablemergeStateStatus or REST mergeability equivalentthe review applies to
isResolved and isOutdatedPrefer a GraphQL per-PR fetch for review and mergeability data so you can
query the current head commit, review threads, and review metadata in one
place. If one large query becomes unwieldy, split the work into:
If a PR has more review threads, comments, or reviews than fit in one page,
paginate rather than silently truncating.
Recommended execution pattern:
Age from created_at / createdAt to the report snapshot time.<days>d with one decimal place, for example 53.6d.Use the PR head SHA and fetch check runs for that exact commit.
Recommended source:
gh api repos/microsoft/ebpf-for-windows/commits/<head-sha>/check-runs `
-H "Accept: application/vnd.github+json"
CI rules:
attempt for each check name.
successneutralskippedor if its status is queued / waiting / requested / in progress.
run concludes with a failing terminal result such as:
failurecancelledtimed_outaction_requiredstartup_failurestalecontexts, and even then do not describe the result as check-run-derived.
summary looks green or pending.
deciding CI state.
Format the final cell as exactly one of:
PassingPendingFailing: check-a, check-bUse GitHub mergeability / merge-state signals from the PR object.
Map them as follows:
Up to datemergeStateStatus like CLEAN, HAS_HOOKS, orUNSTABLE, with mergeable not indicating conflicts.
Needs rebase/updatemergeStateStatus == BEHIND.Needs rebase/update (conflicts)merge state.
mergeable == CONFLICTING ormergeStateStatus == DIRTY.
If GitHub has not computed mergeability yet, wait briefly and re-fetch rather
than guessing from local branch ancestry.
Current sign-offs are approvals that still apply to the **current head
commit**.
Rules:
APPROVED review on thecurrent head commit and do not have a later current-head review from the
same reviewer with state CHANGES_REQUESTED or DISMISSED.
COMMENTED review does not cancel an otherwise valid approval byitself.
whose type is not a human user or whose login ends with [bot].
Format Sign-offs as a comma-separated list of usernames, or None.
Compute Next step in this order:
Author to address comments
reviewDecision == CHANGES_REQUESTED, report:Author to address comments
Passing,report:
Ready to merge
Reviewers to review latest version
Do not treat outdated threads as blockers for this rule.
Freshness is the age of the latest meaningful activity on the PR.
Candidate activity types:
Rules:
<days>d (<activity type>), for example1.0d (review comment).
head commitreview submissionreview commentissue commentUse review-thread comment timestamps for review comment, not the enclosing
thread creation time if newer comments exist.
Compute Next owner after Next step.
Rules:
Next step is Author to address comments, set Next owner to the PRauthor login.
automation accounts where possible, for example accounts whose type is not
a human user or whose login ends with [bot].
commenters, excluding:
meaningful participation first.
None.label them as bots.
Format multiple owners as a comma-separated list.
The final report must be Markdown and must contain:
# microsoft/ebpf-for-windows open non-draft PRs
Sorted by freshness, oldest to newest.
PRAgeFreshnessCIBase branchNext stepNext ownerSign-offs#1234 PR titleAge: 53.6dFreshness: 1.0d (review comment)CI: Passing, Pending, or Failing: <checks>Sign-offs: comma-separated usernames or NoneNotes: section that briefly explains:Author to address comments is decidedNext owner is chosenDo not include draft PRs anywhere in the table.
Before you finalize the report, verify all of the following:
PR cell contains the PR number, URL, and title.Age and Freshness use one decimal place and d units.CI was computed from check runs whenever check runs existed.Base branch uses GitHub mergeability / merge-state signals.Next step uses unresolved non-outdated threads before review decision.Sign-offs include only current-head approvals.Next owner excludes bots where possible.count.
before rendering.
Notes: section covering the required heuristics.available.
git history alone.
MANDATORY guidelines for ANY edit to ANY file under Tools/Solutions Analyzer/ — including the mapper (map_solutions_connectors_tables.py), doc generator (generate_connector_docs.py), interactive docs (generate_interactive_docs.py), ASIM browser, collect_table_info, collect_asim_fields, upload_to_kusto, compare_runs, solution_analyzer_overrides.csv, filter_field_resolution.yaml, or any other script/config in that folder. Use when: editing/modifying/refactoring/fixing/renaming/tweaking ANY logic in those files, even one-line fixes such as renaming a classification, escaping a character, adjusting a regex, adding an override row, suppressing a false positive, or changing a constant. Covers: keeping script-docs in sync, README Version History changelog rules (required for feature/behavior changes; optional for small bug fixes), CSV output sync with upload_to_kusto.py, static/interactive index synchronization, and markdown/HTML entity page synchronization.
Self-heal + report bugs to make the ecosystem better. When you hit ANY defect in comfyui-mcp / the sidebar panel, OR in a third-party custom node / ComfyUI core, use this: diagnose it, and for OUR repos (comfyui-mcp / comfyui-mcp-panel) **fix it locally FIRST** — patch the code where it actually runs so the user is unblocked immediately — then file a report that includes the diff, so reports arrive as near-PRs, not just tickets. (Attempt the fix exactly ONCE; if it's genuinely upstream-only, mark it and include the precise change needed.) Report it the right way: our intake Worker for our repos; the node's own GitHub for third-party. For OUR repos (artokun/comfyui-mcp, comfyui-mcp-panel, comfyui-mcp-issue-worker) act **autonomously** — fix-then-file and just inform the user, no per-step permission. For THIRD-PARTY / ComfyUI-core it is **offer-and-ask**: propose the workaround/report and act only with the user's go-ahead. **BETA — bias HARD toward fix-then-file (our repos):** trigger on any comfyui-mcp/panel defect you notice — an error, a crash, a tool that returns wrong/misleading/empty output, a silent failure, a confusing result, or a limitation that forced an awkward workaround — EVEN IF you recovered or worked around it. You do NOT need to be blocked. Also on "report this" / "fix this bug". If a future user would hit the same friction, fix-and-file it — the intake Worker dedupes, so over-reporting is cheap and under-reporting costs us the bug. THIRD-PARTY / ComfyUI-core bugs stay offer-and-ask.
> Scan codebases for technical debt with AST parsing, prioritize by impact, and generate trend dashboards. Use when tracking tech debt, prioritizing refactoring, calculating cost-of- delay, planning sprint debt, or reporting debt to execs.
This skill should be used when designing, running, validating, or auditing statistical experiments on personal or observational time-series data (health metrics, speech/text corpora, behavioral logs, diaries, n-of-1 self-tracking). It enforces pre-registration, exact permutation tests, FDR discipline, data-validation gates, adversarial code review, and cross-validation with external models. Triggers on "design an experiment", "test this hypothesis on my data", "is this correlation real", "audit these findings", "pre-register", "validate this dataset", or any n-of-1 / quantified-self analysis request.
List APIView revisions created or actually opened/viewed in a date range, broken out by language and type. Use for: created revisions, opened revisions, viewed revisions, revision counts, how many revisions, revisions for March, revision breakdown, revision types, automatic vs manual revisions, PR revisions, pull request revisions, page views, actually viewed, who opened reviews, opened revision breakdown.
Load when an existing Web product, especially a dashboard, dense-data view, or multi-step app, needs a deep evidence-backed experience review; report findings only, and use design-taste-frontend for marketing-page direction, code-review for source diffs, web-design-guidelines for checklist compliance, or frontend-design for implementation.
> Technical leadership guidance for engineering teams, architecture decisions, and technology strategy. Includes tech debt analyzer, team scaling calculator, engineering metrics frameworks, technology evaluation tools, and ADR templates. Use when assessing technical debt, scaling engineering teams, evaluating technologies, making architecture decisions, establishing engineering metrics, or when user mentions CTO, tech debt, technical debt, team scaling, architecture decisions, technology evaluation, engineering metrics, DORA metrics, or technology strategy.
OpenTelemetry Weaver registry authoring, codegen, and CI enforcement. Use when adopting Weaver, authoring or reviewing a registry (manifest, attributes, metrics, spans, events), writing Jinja2 templates against the resolved schema, migrating hand-maintained telemetry constants, or wiring `weaver registry check`/`generate`/`diff` into CI.
Take microsoft/pr-triage-report from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.