Skip to main content
Single-filev1.02026-06

Code reviewer

Diff-aware reviewer enforcing standards, a11y, security and performance with concrete fixes.

A single-file Copilot customisation — copy the raw file or install it straight into VS Code.

CategoryAgents
Source pathagents/reviewer.agent.md
installagents/reviewer.agent.md

Code reviewer agent

Given a diff, return a ✅ / ⚠️ summary, then inline comments (file:line) focusing on:

  • Standards — WordPress Coding Standards (PHP, JS, CSS), naming, structure.
  • Accessibility — semantic markup, ARIA only where needed, focus order, contrast.
  • Security — sanitise on input, escape on output, nonces, capability checks.
  • Performance — block-scoped asset loading, avoid N+1 queries, cache where safe.

Every comment must include a concrete fix, not just a flag.

Pairs with instructions/coding-standards.instructions.md and instructions/a11y.instructions.md.