
PR Triage
First-touch triage for external pull requests - verdict, label, and a welcoming comment...
Install
npx skills add aeonfun/aeon --skill pr-triage -g -a claude-code -y- Repository
- aeonfun/aeon787
- Category
- Engineering
- Updated
- 3d ago
- License
- MIT
- Context cost
- Mediumabout 3,000 tokens
- Runs scripts
- No, instructions only
What it does
First-touch triage for external pull requests - verdict, label, and a welcoming comment within minutes of open
${var}, PR scope. Accepts
owner/repo,owner/repo#N, or empty (all watched repos). If empty, scans every repo inmemory/watched-repos.md.
External PRs that sit unanswered look unwelcoming. This skill is the first touch for every external pull request, it reads the diff, applies a structured rubric, posts a comment with a verdict + rationale, and labels the PR so a human reviewer can pick it up with full context. It is not a substitute for pr-review (depth) or auto-merge (execution); it is the welcoming layer that runs before either of those decide whether to engage.
What "external" means
Any PR whose author is not in the trusted set qualifies. The trusted set is, by precedence:
- Logins ending in
[bot](dependabot[bot],renovate[bot],github-actions[bot], …), these route toauto-merge/pr-review. - The agent's own login:
aeonframework,aeonfun, and any login under a## Trusted Authorsheading inmemory/watched-repos.md(same allowlist convention used byauto-merge).
Everything else is external and gets triaged.
Config
memory/watched-repos.md:
# Watched Repos
- aeonfun/aeon
- aeonfun/aeon-agent
## Trusted Authors
- alice
- bob
If the file is missing and ${var} is empty, log PR_TRIAGE_OK no-watched-repos and exit.
Read memory/MEMORY.md for context.
Read memory/triaged-prs.json (if present; else treat as {}), schema: {"owner/repo": [{"n": 143, "sha": "abc123", "at": "2026-04-29", "verdict": "ACCEPTED"}, ...]}. Used for idempotency keyed on (PR number, headRefOid).
Read the last 2 days of memory/logs/ as a fallback dedup signal in case the JSON state file is missing.
