From maverick
Defines code review conventions: mandatory reviews, PR sizing, reviewer/author responsibilities, and automated check integration. Use when creating or reviewing pull requests.
How this skill is triggered — by the user, by Claude, or both
Slash command
/maverick:mav-bp-code-reviewThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Ensure all code changes are reviewed before merging; in Maverick the reviewer is agent-code-reviewer running in-session, backed by branch-protection gates.
Ensure all code changes are reviewed before merging; in Maverick the reviewer is agent-code-reviewer running in-session, backed by branch-protection gates.
do-cybersecurity-review (update mode against the diff and impact set) before the PR is opened. By review time, security findings are already surfaced and folded into the PR body.| Size | Lines changed | Review quality | Recommendation |
|---|---|---|---|
| Small | < 100 | Excellent | Ideal. Aim for this size. |
| Medium | 100 - 400 | Good | Acceptable for most feature work. |
| Large | 400 - 800 | Declining | Split if possible. Flag to reviewers. |
| Too large | > 800 | Poor | Must split. Reviewers cannot effectively review this. |
Split strategies: by layer (backend vs frontend), by feature slice (one endpoint/component per PR), by phase (refactor PR before feature PR), or by dependency (extract shared utilities/models into a preparatory PR).
| Pattern | Issue | Fix |
|---|---|---|
| PR merged without any review | No review gate | Enable branch protection requiring approvals |
| PR with 1000+ lines changed | Too large to review effectively | Split into smaller, focused PRs |
| All review comments are style nits | Wasted review effort | Configure linters to catch style; focus on logic |
| Reviewer approves without comments on large PR | Rubber-stamp review | Reviewers must demonstrate understanding of the change |
| Author pushes "fix review" commits without context | Lost review trail | Explain what was changed in response to which comment |
| Self-approval on protected branch | Missing review gate | Configure branch protection to disallow self-approval |
| Skipping CI to merge faster | Bypassing quality gates | CI must pass; fix failures, do not skip them |
npx claudepluginhub thermiteau/maverick --plugin maverickEnforces code review loop: prepares reviewable PRs with structured titles/descriptions/verification, dispatches code-reviewer/security agents on diffs, ensures feedback engagement.
Provides structured code review processes, conventional comments patterns, language-specific checklists, and feedback templates for reviewing PRs or standardizing review practices.
Reviews pull requests with a focus on code quality, standards, and developer growth. Provides structured feedback, change requests, and approval guidance.