Table of Contents generated with DocToc
Scope. Works on any project, ASF or not — no Apache-Software-Foundation-specific assumptions baked in.
Maintainer-facing PR-queue management for projects with a public contributor PR queue. Five skills that compose into a complete triage + review + mentoring pass:
APPROVE / REQUEST_CHANGES / COMMENT review with inline comments, posts on confirmation.Why a framework skill family? These skills were originally maintained inside one ASF project‘s developer-tooling repo as breeze pr auto-triage and breeze pr stats — useful for any ASF project with a meaningful contributor-PR queue, but locked behind that project’s local toolchain. Lifting them into the framework lets other adopters reuse the playbook with their own adopter-config files for project-specific knobs (committers team handle, area-label prefix, comment-template wording, CI-check → doc-URL map, review-criteria source files).
| Skill | Purpose |
|---|---|
pr-management-triage | First-pass triage. Successor to breeze pr auto-triage. |
pr-management-stats | Read-only summary tables grouped by area label. |
pr-management-code-review | Deep code review, one PR at a time. |
pr-management-quick-merge | Express-lane screener for trivial, low-risk PRs in the ready for maintainer review queue; surfaces ranked candidates with diff summaries and the exact merge command. Read-only on the queue; the one optional mutation (APPROVE) requires explicit per-PR confirmation. |
pr-management-mentor | Draft a teaching-register comment on a single GitHub issue or PR thread (clarifying questions, project-convention pointers, rationale explanations); waits for explicit maintainer confirmation before posting. mode: Mentoring — see also docs/mentoring/README.md. |
The skills resolve project-specific content from these files in the adopter's <project-config>/ directory:
| File | Used by |
|---|---|
pr-management-config.md | pr-management-triage, pr-management-stats, pr-management-quick-merge (Real-CI patterns) |
pr-management-triage-comment-templates.md | pr-management-triage |
pr-management-triage-ci-check-map.md | pr-management-triage |
pr-management-code-review-criteria.md | pr-management-code-review |
pr-management-quick-merge-config.md | pr-management-quick-merge (thresholds, path globs, merge-command template) |
mentoring-config.md | pr-management-mentor (tone knobs, hand-off protocol) |
The skills read project-specific defaults from the <project-config>/ files above. Adopters customise by editing their copy of each template; illustrative examples in skill prose may still use the patterns that motivated the framework (monorepo <area>/ layout, area:* labels, etc.) — the behaviour is config-driven, the example wording is not.
projects/_template/README.md — adopter scaffold index, including the PR-management config files.tools/spec-loop/specs/pr-management-family.md — functional spec: acceptance criteria, validation commands, and known gaps.docs/mentoring/README.md — pr-management-mentor family overview.