Table of Contents generated with DocToc
Experimental. Seven skills shipped:
| Skill | Purpose |
|---|---|
pr-management-mentor | Draft a teaching-register comment on a single GitHub issue or PR thread. |
good-first-issue-author | Draft a single net-new good first issue from a maintainer-supplied candidate. |
mentoring-welcome | Draft a first-contact orientation comment for a first-time contributor on a newly opened issue or PR. |
contributor-to-committer | Read-only readiness tracker mapping a contributor‘s GitHub activity against the adopter’s declared committer/PMC thresholds. |
good-first-issue-sweep | Sweep the open issue backlog for issues that could be labelled as good first issues, scoring each against the G1–G7 suitability rubric. |
onboarding-concierge | Answer a newcomer‘s “how do I contribute here” question from the project’s CONTRIBUTING.md; classifies the question and hands off to a human for design, security, or out-of-scope queries. |
newcomer-issue-explainer | Explain an open good-first-issue in beginner terms and sketch a concrete approach (file pointers, done-definition, where to ask); an assessment gate declines closed, security-sensitive, or scope-unclear issues; nothing is posted without maintainer confirmation. |
This document is the normative Agentic Mentoring spec: tone guide, hand-off protocol, and adopter contract. The skills implement these conventions; the spec is the authoritative reference when the two diverge. See MISSION.md § Agentic Mentoring and docs/modes.md § Mentoring.
Agentic Mentoring joins issue and PR threads in a teaching register. The agent‘s job is to lower the barrier to a contributor’s next useful action. Concretely, in scope:
Out of scope:
pr-management-code-review skill. Agentic Mentoring does not approve, request changes, or post inline diff comments.pr-management-triage skill. Agentic Mentoring does not assign labels, mark draft, or close PRs.Agentic Mentoring never posts unprompted on a thread it has not been invoked on. The skill is opt-in per invocation. Three trigger paths:
/magpie-pr-management-mentor <pr-number>. The skill reads the thread, decides whether a mentoring intervention is warranted, drafts the comment, and waits for the maintainer to confirm before posting.pr-management-triage classifies a PR as “first contributor, missing repro” (or equivalent triage flag), the maintainer can chain /magpie-pr-management-mentor on that PR. The two skills compose; Agentic Mentoring does not run inside Agentic Triage by default.Why no auto-fire: posting a teaching-register comment without explicit human authorization risks the agent talking past a maintainer who is mid-conversation with the contributor, or posting on a thread where the maintainer has deliberately not replied yet. Auto-fire is a Agentic Autonomous-shaped problem and inherits Agentic Autonomous's sequencing constraint.
The contributor is the audience, not the maintainer. The agent's voice is patient, specific, and short. It is not formal. It does not lecture. It does not perform empathy. The reader should leave the comment knowing what to do next, not feeling managed.
Every contributor-facing comment ends with the same footer convention used by pr-management-triage/comment-templates.md, adjusted to name the mentoring step rather than the triage step. The expansion lives in the adopter's <project-config>/mentoring-config.md → ai_attribution_footer.
The footer is non-negotiable: it calibrates the contributor‘s trust (AI-drafted, may be wrong) and points at the project’s documented two-stage process.
The agent bows out and pings a human when:
<max_agent_turns> (configurable, default 2). After that the agent stops engaging on the thread regardless of content.The hand-off is one comment: a @-mention of the configured maintainer team, a one-line summary of the open question, and the agent's silence afterwards. The agent does not summarise the conversation; the maintainer reads the thread.
Per-project values live in <project-config>/mentoring-config.md. See the template at projects/_template/mentoring-config.md. Required keys:
| Key | Purpose |
|---|---|
mentoring_invocation_command | Slash-command name (e.g. /magpie-pr-management-mentor). |
maintainer_team_handle | @<org>/<team> mentioned on hand-off. |
ai_attribution_footer | Literal footer markdown. Mirrors the triage-footer convention. |
convention_pointers | Table of {trigger phrase} → {docs link, one-line label} so the agent links rather than paraphrases. |
max_agent_turns | Integer, default 2. Hard ceiling on consecutive agent comments per thread. |
out_of_scope_topics | Explicit list of topics on which the agent always hands off (security, deprecation, license, etc.). |
These questions were open before the skills shipped. The answers are fixed in the shipped implementations.
pr-management-mentor posts to GitHub threads only. Mailing-list mentoring stays with the human maintainer; the agent has no list-subscriber identity.mentoring vs triage). One contributor-trust calibration is easier to reason about than two.MISSION.md § Agentic Mentoring — the mode definition + responsible-AI framing.docs/modes.md § Mentoring — current implementation status (experimental, 7 skills shipped)..claude/skills/pr-management-triage/comment-templates.md — tone-footer convention; pr-management-mentor mirrors its format with a mentoring step token.AGENTS.md — repository-level rules every mode inherits.