From mz-dev-base
ALWAYS invoke when the user wants to check which PRs need attention across repositories. Triggers:"scan PRs","check PRs","what PRs need attention","PR inbox","daily PR report".
npx claudepluginhub doctormozg/claude-pipelines --plugin mz-dev-baseThis skill is limited to using the following tools:
Dispatch the `pr-scanner` agent to find pull requests that need the user's attention across multiple GitHub repositories, fan out per-PR haiku scorers for every PR, and produce a prioritized triage report. Deep code reviews are not part of this skill — for a thorough review on any single PR in the report, the user runs `/review-pr <url>` separately.
Mandates invoking relevant skills via tools before any response in coding sessions. Covers access, priorities, and adaptations for Claude Code, Copilot CLI, Gemini CLI.
Share bugs, ideas, or general feedback.
Dispatch the pr-scanner agent to find pull requests that need the user's attention across multiple GitHub repositories, fan out per-PR haiku scorers for every PR, and produce a prioritized triage report. Deep code reviews are not part of this skill — for a thorough review on any single PR in the report, the user runs /review-pr <url> separately.
Triggers: "scan PRs", "check PRs", "what PRs need attention", "PR inbox", "daily PR report".
review-pr directly.review-branch.$ARGUMENTS should be a list of GitHub repositories:
owner/repoowner/repo1, owner/repo2https://github.com/owner/repoIf no argument is provided, detect the current repository from gh repo view --json nameWithOwner -q .nameWithOwner and use that.
$ARGUMENTS — list of GitHub repositories. If empty, resolve current repo via gh repo view --json nameWithOwner -q .nameWithOwner; if that fails, escalate via AskUserQuestion. Never guess.task_name = <YYYY_MM_DD>_scan_prs_<slug> where <YYYY_MM_DD> is today's date (underscores) and <slug> is a snake_case summary of the repo list (max 20 chars, e.g. owner_repo or multi_repo); on same-day collision append _v2, _v3..mz/task/<task_name>/.state.md with Status: running, Phase: 0, Started: <ISO timestamp>, Repos: [<list>], ScannedPRs: 0, ScoredPRs: 0.task_name, repo list, report dir (.mz/reviews/).pr-scanner agent with the repository list as the prompt.pr-info-scorer haiku agent per PR (in parallel waves of up to 6) to gather metadata, complexity signals, and unanswered-question state..mz/reviews/<YYYY_MM_DD>_pr_scan_<repo_names><_vN>.md (append _v2, _v3 etc. if a report with the same base name already exists).Techniques: delegated to the pr-scanner, github-pr-data-fetcher, and pr-info-scorer agents — see their agent definitions for bulk PR listing, per-PR haiku triage, and tier-based ranking.
N/A — collaboration/reference skill, not discipline.
pr-reviewer agent from this skill — deep reviews belong to /review-pr, not the triage flow.Output the triage report path (.mz/reviews/<YYYY_MM_DD>_pr_scan_<repo_names><_vN>.md), confirm the file exists, and confirm Tier 1 items (if any) appear above Tier 2 and Tier 3 in the report. The report should end with a How to Deep-Review footer pointing users to /review-pr <url> for any single PR that warrants a thorough read.
gh repo view: (1) mcp__*github* MCP tools if exposed, (2) direct REST API (curl -fsSL -H "Authorization: Bearer $GITHUB_TOKEN" -H "Accept: application/vnd.github+json" "https://api.github.com/repos/{owner}/{repo}"). Only escalate via AskUserQuestion after all three tiers fail; never guess.gh unavailable (not installed, not authenticated, rate-limited) → delegate to the fallback chain before blocking. The pr-scanner agent has its own GitHub Access Fallback section that governs downstream calls. Only escalate via AskUserQuestion if MCP and REST tiers also fail.Agent tool absent) → escalate via AskUserQuestion with the exact missing command.pr_data.md / report for ZERO RESULTS disclosure tokens before trusting:
ZERO RESULTS VERIFIED (per-repo smoke test passed) → report "no PRs need attention" and exit cleanly.ZERO RESULTS UNVERIFIED or ZERO RESULTS GLOBAL → do NOT treat as a clean inbox; surface the warning in the final output and prompt the user to verify the GitHub username and repo list via AskUserQuestion before a silent "all clear" masks a real misconfiguration.ZERO RESULTS token present with an empty list → retry the scan once with the same repo list; if still empty, escalate via AskUserQuestion. Malformed agent responses also retry once then escalate.After Phase 1 completes, update .mz/task/<task_name>/state.md with:
Status: complete | complete_with_concerns | blocked | no_prs_foundPhase: 1ScannedPRs: total PR count from the fetcher artifactScoredPRs: count of PRs with valid pr-info-scorer artifacts (should equal ScannedPRs on a clean run)ReportPath: absolute path to the triage reportNever rely on conversation memory — the state file is the source of truth if the session is interrupted.