From maverick
Defines the contract for an optional GitHub Actions workflow that re-runs agent-code-reviewer in CI on every PR. Useful for multi-machine fleets, untrusted environments, or audit needs.
How this skill is triggered — by the user, by Claude, or both
Slash command
/maverick:mav-bp-remote-code-reviewThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Maverick runs PR code review locally by default — `agent-code-reviewer` is dispatched as a subagent during `do-issue-solo` Phase 9 (and equivalent in `do-issue-guided` / `do-epic`) and produces the binary PASS/FAIL verdict that the auto-merge path trusts. The local agent's verdict is the gate.
Maverick runs PR code review locally by default — agent-code-reviewer is dispatched as a subagent during do-issue-solo Phase 9 (and equivalent in do-issue-guided / do-epic) and produces the binary PASS/FAIL verdict that the auto-merge path trusts. The local agent's verdict is the gate.
This skill describes an optional GitHub Actions workflow that re-runs the same agent in CI. Adding it to a project gives you an independent CI-side check on every PR, at the cost of paid Anthropic API tokens for each run and a bit of setup. It is not required, and do-init does not scaffold it — projects that want it adopt it deliberately.
The remote workflow is worth the setup and the per-PR API spend when one or more of these apply:
do-epic dispatches a wave of stories across worktrees in parallel, a single worktree's local review can fail to fire (process crash, network blip, agent skipped). A CI gate guarantees the merge cannot complete without a review having run somewhere, regardless of what happened on any one worker.Code Review check on the PR is that record.For solo / single-machine use, the local agent runs in the same session that opens the PR. Skipping it requires deliberately ignoring its output. A CI re-run mostly duplicates work the local agent already did — and bills against ANTHROPIC_API_KEY for the privilege.
A repository that opts in is compliant iff it ships a GitHub Actions workflow that:
pull_request: types: [opened, synchronize, reopened]. Workflows that only run on push do not satisfy this contract — re-opened PRs, force-pushes, and base-branch retargets must each re-trigger the review.# maverick:code-review on its own line, anywhere in the file. The marker is the convention that lets do-maverick-alignment identify which workflow file plays the code-review role without parsing GitHub Actions semantics.anthropics/claude-code-action; teams using their own Maverick worker pipeline or a custom integration are free to substitute as long as the verdict semantics match.The shipped reference template code-review.yml (alongside this SKILL.md) is a drop-in starting point that satisfies the contract.
The fastest path is to copy the shipped template into the project:
cp "${CLAUDE_PLUGIN_ROOT}/skills/mav-bp-remote-code-review/code-review.yml" .github/workflows/
Then, in the repo's GitHub settings:
ANTHROPIC_API_KEY repository (or organization) secret so the action can authenticate to Anthropic. An org-level secret scoped to selected repositories is the lowest-friction option if Maverick will run across multiple projects.Edit code-review.yml to match the project's secret naming and any environment quirks, commit on a feature branch, and open a PR. The workflow itself will run on its own PR — a useful smoke test that the marker is present and the action invocation works.
When auditing, look for any file under .github/workflows/ that:
# maverick:code-review on a line of its own (after stripping leading whitespace)pull_request: trigger block (presence is sufficient — full validation of the trigger types is out of scope; the marker carries the team's intent)Either condition alone is not enough. The marker without a pull_request: trigger means a misplaced or in-progress workflow; a pull_request: trigger without the marker is some other PR workflow (lint, tests, etc.) and is not the code-review gate.
do-maverick-alignment reports the workflow's presence as informational, not a compliance failure:
pull_request: trigger, or vice versa) → WARN, since the team's intent is unclear.npx claudepluginhub thermiteau/maverick --plugin maverickBlocks PR creation until review artifact exists in issue comments with no unaddressed findings and complete status. Enforced via git hook on gh pr create.
Defines code review conventions: mandatory reviews, PR sizing, reviewer/author responsibilities, and automated check integration. Use when creating or reviewing pull requests.
Reviews open human-authored pull requests one at a time with stack-aware agents, local build/test under baseline-diff gates, and squash-merge on approval. Use when triaging PR queues or verifying external PRs.