github-triage
Installation
SKILL.md
Activation Contract
Load this skill when asked to triage GitHub issues, or on a recurring or scheduled run. Invocation: github-triage repo="owner/name" [milestone="..."]; without repo, use the origin remote.
Hard Rules
- NEVER work outside the resolved repo; if it cannot be resolved, STOP before any
ghcall and show the usage line. - ONLY triage issues that are open, have a body, at least one assignee, label
AI_triage, and none ofAI_triage_done,status:in-progress,status:blocked, a linked pull request. Ignore the rest: no comment, no edit, no label. - ALWAYS estimate with
references/estimation-scale.md: type, then six factors. When the planner runs, use itsfiles,estimatedLinesandchangesas code evidence forLíneas/Módulos; the final score and labels are triage's. Markassumedwhen a factor has no evidence. - ALWAYS leave a triaged issue with
type:<value>,estimate:<value>, zero assignees, andAI_triagereplaced byAI_triage_done. - ALWAYS write
type:*from the rubric, replacing any previous one; it is the only source the implementer trusts for TDD and branch naming. - ALWAYS write estimate, unassign, comment, labels. A failure marks that issue
failedand keepsAI_triage;AI_triage_doneis never applied to a partial result, and one failure never stops the batch. - ALWAYS comment once, only on triaged issues, from
assets/triage-comment.md, first lineAI_GENERATED. - Sub-issues share the initial conditions; the planner proposes, this skill creates them, and they are never triaged in the same run.
- When the Decision Gate triggers, assess with
github-planner; otherwise useassets/subtask-splitter-prompt.md. It never writes labels; reject asingleabove 500 lines or 8h without reason; onsplit, sum deliverable estimates for the parent, never below the band. - ALWAYS record dependencies as
blocked bylinks, never only in a comment; create missing links, never edit existing ones.