Professor triage

From baekenough/oh-my-customcode · View interactive version

Professor triage is an AI agent skill from the GitHub repository baekenough/oh-my-customcode. Analyze GitHub issues against current codebase and perform automated triage with priority assessment

How to use this skill

Skill file

/professor-triage — Codebase-Driven Issue Triage

Purpose

Analyzes GitHub issues directly against the current codebase. For each issue, searches relevant code, assesses impact and blast radius, determines whether the issue has already been resolved, and performs automated triage with priority and size estimation. Produces a cross-analysis report and executes low-risk triage actions automatically.

Full phase detail: guides/professor-triage/phases.md

Usage

/professor-triage                          # Default: --state open (excludes triage-complete)
/professor-triage 587 589 590 591 592      # Direct issue numbers
/professor-triage --label codex-release    # Custom label filter
/professor-triage --since 2026-03-20       # Date filter

When pipeline auto-dev's triage step invokes this skill with a release manifest (issue numbers from scope-selection) instead of a user typing issue numbers directly, the Phase 5 label differs — see the "Auto-dev manifest detection" bullet under Phase 5 Action Policy below.

Workflow Contract

5-phase pipeline:

| Phase | Name | Owner | Model |

|-------|------|-------|-------|

| 1 | Gather | Orchestrator | — |

| 2 | Codebase Analysis | Explore agents | haiku |

| 3 | Cross-Analyze | Orchestrator (opus for >15 issues) | sonnet/opus |

| 4 | Multi-Perspective Analysis & Output | general-purpose agents | sonnet/opus |

| 5 | Act | mgr-gitnerd | — |

Lightweight Mode (Cross-Tier Substitution)

Independent of the auto-dev compression tier selected, this skill's Phase 1-4 may be replaced by a lightweight orchestrator analysis instead of a full skill spawn, but only when the conditions in .claude/skills/pipeline/workflows/auto-dev.yaml (runtime source) ## Cross-tier — Lightweight Skill-Mode Substitution are met (scope ≤3 issues, code evidence or a measured root cause with the command used, and a mandatory justification log entry). This skill does not duplicate those conditions here — that section is the authoritative gate.

When lightweight mode is used, the triage output (Phase 4E artifact and/or Phase 4D comment) MUST state which mode produced it: mode: full or mode: lightweight.

Delegation Contract

| Phase | Agent | Mode |

|-------|-------|------|

| Phase 2 codebase search | Explore (haiku) | pass bypassPermissions (required on CC < 2.1.212; ignored on 2.1.212+, where the parent session mode applies unless agent frontmatter permissionMode overrides it) |

| Phase 4A Senior Architect | general-purpose (sonnet) | pass bypassPermissions (required on CC < 2.1.212; ignored on 2.1.212+, where the parent session mode applies unless agent frontmatter permissionMode overrides it) |

| Phase 4B Project Colleague | general-purpose (sonnet) | pass bypassPermissions (required on CC < 2.1.212; ignored on 2.1.212+, where the parent session mode applies unless agent frontmatter permissionMode overrides it) |

| Phase 4C Professor Synthesis | general-purpose (opus) | pass bypassPermissions (required on CC < 2.1.212; ignored on 2.1.212+, where the parent session mode applies unless agent frontmatter permissionMode overrides it) |

| Phase 4D triage comment | mgr-gitnerd | pass bypassPermissions (required on CC < 2.1.212; ignored on 2.1.212+, where the parent session mode applies unless agent frontmatter permissionMode overrides it) |

| Phase 4E artifact report | general-purpose | pass bypassPermissions (required on CC < 2.1.212; ignored on 2.1.212+, where the parent session mode applies unless agent frontmatter permissionMode overrides it) |

| Phase 5 GitHub actions | mgr-gitnerd | pass bypassPermissions (required on CC < 2.1.212; ignored on 2.1.212+, where the parent session mode applies unless agent frontmatter permissionMode overrides it) |

Agent selection constraint: Phases 4A, 4B, 4C, 4E MUST use general-purpose (NOT arch-documenter). arch-documenter has disallowedTools: [Bash] — cannot run the gh/shell commands these phases require. See #1043.

Parallelization (R009/R018)

Artifact Output (R006/R010)

Under the bypassPermissions permission mode, agents write directly to .claude/outputs/ with Write/Edit — no temp-script wrapping is needed (CC v2.1.121+, #1101). When spawning Phase 4A/4B/4C/4E agents, include verbatim in each agent prompt:

**Artifact output (for this task)**

If your task involves writing artifacts under `.claude/outputs/`, write the file to
`.claude/outputs/sessions/<date>/<artifact>.md` using the Write tool directly (create the
directory if needed). If your session runs under the `bypassPermissions` permission mode, direct
Write/Edit on `.claude/` is permitted.

See R006 "Sensitive Path Handling" (CC v2.1.121+ direct-write convention).

Phase 5 Action Policy

Automatic (low-risk, reversible):

Confirmation required (high-risk): issue reopen, new issue creation, epic linking, issue body modification.

Ensure triage-complete label exists: gh label create "triage-complete" --color "0E8A16" if missing.

Permission Mode

Pass mode: "bypassPermissions" on Agent calls for compatibility: it is required on CC < 2.1.212 (the per-call default, acceptEdits, overrides agent frontmatter permissionMode) and ignored on 2.1.212+, where subagents inherit the parent session's permission mode (adjustable via agent frontmatter permissionMode). Verify the effective mode before unattended runs: see R010 "Universal bypassPermissions".

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.