Code review

From hyperlane-xyz/hyperlane-monorepo · View interactive version

Code review is an AI agent skill from the GitHub repository hyperlane-xyz/hyperlane-monorepo. Review code changes using Hyperlane monorepo coding standards. Use when reviewing PRs, checking your own changes, or doing self-review before committing.

How to use this skill

Skill file

Code Review Skill

Use this skill to review code changes against Hyperlane monorepo standards.

When to Use

Instructions

Read and apply the guidelines from REVIEW.md to review the code changes.

When delegating the review to subagents/teams, pass REVIEW.md to each one so every checklist item (e2e tests, casts, allocations, enums) is actually applied — findings the rules already cover should never slip through.

For PR Reviews

When reviewing a PR, deliver feedback as a single consolidated GitHub review using /inline-pr-comments. Each run produces a separate review — nothing is overwritten.

  1. Fetch prior reviews first — the /inline-pr-comments skill fetches existing reviews/comments so you can avoid duplicating feedback and stay aware of ongoing discussions
  2. Review body — Overall assessment, architecture concerns, and issues found outside the diff
  3. Inline comments — Specific issues on changed lines (attached to the same review)

For Self-Review

When reviewing your own changes before committing:

  1. Run git diff to see changes
  2. Apply the code review guidelines
  3. Fix issues directly rather than commenting

Security issues should use /security-review or /tob-review instead.

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.