Skip to content

Code Review

MetadataValue
Categoryagents
Capabilitiesllm, shell
Websitehttps://agentos.to

Evaluate code changes against project principles and architectural direction. Reads the principles docs, active refactoring specs, and crate architecture to score diffs and catch violations at commit time.

The evaluator reads these documents before scoring:

SourceWhatWhen to apply
core/principles.mdEngine principles — Rust is generic, templates do the work, etc.Every Rust commit
docs/src/content/docs/principles.mdShape principles — no counts, edges are verbs, etc.Shape/ontology changes
docs/src/content/docs/skills.mdSkill SDK reference — how skills are builtAny skill/Python commit
core/docs/specs/refactoring/*.mdActive refactoring specs — what’s flagged for cleanupAny commit touching flagged files
./dev.sh arch outputLive crate/module sizes, dependency chain, largest filesStructural awareness

Score a git diff against the project’s principles and refactoring specs.

Parameters:

  • diff (required) — the staged git diff
  • files — newline-separated list of changed file paths
  • threshold — minimum passing score (default: 90)
  • model — LLM model to use (default: sonnet)

Returns: { score, maxScore, pass, violations, summary }

  • review_pr — evaluate all commits in a PR