Mav bp code review

From thermiteau/maverick · View interactive version

Mav bp code review is an AI agent skill from the GitHub repository thermiteau/maverick. Code review conventions for all projects. Covers mandatory review requirements, review scope, PR sizing, reviewer and author responsibilities, and automated review integration. Applied when creating or reviewing pull requests.

How to use this skill

Skill file

Code Review Standards

Ensure all code changes are reviewed before merging; in Maverick the reviewer is agent-code-reviewer running in-session, backed by branch-protection gates.

Maverick's Rules

PR Size

| 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).

Detecting Code Review Anti-Patterns

| 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 |

<!-- maverick-plugin-version: 5.3.1 -->

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.