code-review-change-size

$npx mdskill add openai/codex/code-review-change-size

Assess proposed code modifications to ensure they fit within recommended review size limits.

  • Guides developers on keeping pull requests manageable for efficient peer review.
  • Requires access to the code diff to calculate line counts and analyze structure.
  • Analyzes the total lines changed and suggests splitting large modifications into stages.
  • Outputs a recommendation detailing size compliance or proposing a staged rollout plan.
SKILL.md
.github/skills/code-review-change-sizeView on GitHub ↗
---
name: code-review-change-size
description: Change size guidance (800 lines)
---

Unless the change is mechanical the total number of changed lines should not exceed 800 lines.
For complex logic changes the size should be under 500 lines.

If the change is larger, explain whether it can be split into reviewable stages and identify the smallest coherent stage to land first.
Base the staging suggestion on the actual diff, dependencies, and affected call sites.

More from openai/codex