Skip to main content

Code Review Rubric

@mgreten/code-review-rubricv2026.08.14.2· 8d agoMODELS
01README

Generic code-review engine: grade a list of PRs against a caller-injected rubric, delegating the LLM call to @mgreten/cli-agent and writing one structured graded-review artifact per PR. PR state is irrelevant (open, merged, or closed); retrospective grading of merged PRs is the common consumer pattern. The engine is philosophy-agnostic — the consumer supplies the criteria, scale, and output contract.

02Models1
@mgreten/code-review-rubricv2026.08.14.2code_review_rubric.ts
fn reviewPrs()
Fan-out: grade each PR in `prs` against `rubric` via cli-agent, writing one review artifact per PR in a single execution.

Resources

review(infinite)— A single PR graded against the injected rubric. One artifact per PR.
03Previous Versions5
2026.08.14.1

updated dependencies

2026.07.16.1

Rebuild against swamp CLI 20260716

2026.06.27.1
2026.06.17.2

Docs-only: clarify the engine grades any PR by number (open/merged/closed); 'merged' was consumer framing. No schema or behavior change.

2026.06.17.1

Initial release: generic rubric-driven PR grading engine with deterministic (enum-constrained) grades, fan-out review, and cli-agent delegation.

04Stats
A
100 / 100
Downloads
3
Archive size
19.8 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
05Platforms