pr-hero
Installation
SKILL.md
Activation Contract
Load when the user wants to operate or configure pr-hero on their machine or repo:
- Change which model or backend reviews run on (a custom model, OpenCode, DeepSeek, a pinned snapshot).
- Tune effort, caps, the size gate,
.prheroignore,gotchas.md, or anyconfig.jsonkey. - Run a review (local branch or
--pr <n>), understand its cost, or read its artifacts. - Set up the watcher (
pr-hero watch) or worktree GC (pr-hero gc). - Diagnose a broken install or a refused run (
pr-hero doctor,pr-hero config).
Route away: GitHub Actions, CI secrets, PRHERO_ROUTING, /pr-hero review comments → load pr-hero-ci-setup. Replying to posted <!-- pr-hero-finding comments → load pr-hero-triage.
Source of Truth
This skill holds the mental model and the traps, not the reference. Before acting, read the live state, and for detail follow the linked section — do not answer from memory:
pr-hero config— every key, its effective value, and which layer decided it. Read-only, $0.pr-hero --help— the installed version's real commands and flags.- The docs on GitHub (they are not shipped in the npm package): README, configuration.md.
If pr-hero is not on PATH, run every command as npx -y pr-hero <command> (Node is enough).