herdr-code-review
Installation
SKILL.md
Herdr Code Review
Delegate a code review to a fresh coding agent started in a new sibling pane of the current Herdr workspace. The spawned reviewer executes the team-code-review skill end to end and returns its report in the pane. This skill owns only the handoff and the reviewer lifecycle; it does not perform the review itself.
0. Decide whether to delegate
Before spawning anything, verify delegation is actually wanted:
test "${HERDR_ENV:-}" = 1
- Not inside Herdr: say that Herdr control is unavailable and run the
team-code-reviewskill in the current agent instead. Do not attempt Herdr commands. - Already the delegated reviewer: if your current assigned review pass explicitly contains the marker
HERDR_CODE_REVIEW_REVIEWER=1, you are the spawned reviewer, not the caller. Do not spawn another agent; executeteam-code-reviewdirectly and return the report where it was requested. This prevents recursive reviewer spawning even if this skill is loaded by mistake. - User wants the review in the current agent: run
team-code-reviewdirectly without this handoff. - Inside Herdr and delegation is requested: continue below.
Every new review or re-review requires a fresh agent session, including reviewing fixes or repeating an unchanged target. Never send a new pass to the old reviewer or resume its session. If a new pass is requested directly in the reviewer pane, hand control back to the original caller for replacement; do not close your own pane or review again in the existing context.