Portable, atelier-agnostic contract for principal-level code review behavior with deterministic, machine-consumable output. Use when implementing or invoking code review across CLI tools, hosted agents, bots, and chat surfaces.
Resources
1Install
npx skillscat add shaug/agent-scripts/modular-code-review-contract Install via the SkillsCat registry.
SKILL.md
Modular Code Review Contract
Use this skill as the canonical behavior contract for generalized code review.
Always load:
references/SPEC.md
Operating rules
- Validate the request against the
ReviewRequestcontract before analysis. - If
review_typeis missing or ambiguous, returnstatus: needs_clarificationand prompt with valid choices. - Keep philosophy and evaluation logic independent from delivery format.
- Enforce deterministic output ordering and stable section presence.
- Treat this contract as runtime-agnostic: no Atelier-only assumptions.
Intended use
- Define shared review semantics across multiple interfaces.
- Keep adapter implementations aligned with one stable core contract.
- Extend review behavior through explicit modifiers and profile versioning.