Outcome
Build a repository-owned, composable code-review suite that provides three focused review lenses and one orchestrator:
review-correctness
review-solution-simplicity
review-code-simplicity
review-code-change
The suite must replace the runtime dependency on third-party review skills in implement-epic-sequence while remaining useful outside epic execution.
Motivation
A single generic review checklist mixes concerns that need different reasoning:
- correctness review looks for behavioral, security, compatibility, performance, and validation failures;
- solution-simplicity review asks whether the ticket can be satisfied by a materially smaller overall design; and
- code-simplicity review reduces local cognitive load through meaningful reuse, DRY, and smaller control flow.
Keeping the lenses separate prevents correctness hardening, line-level cleanup, and whole-solution redesign from diluting one another. Repository-owned skills also make the workflow deterministic when a third-party skill is not installed.
Architectural decisions
- Each lens is a standalone skill with its own trigger description and UI metadata.
review-code-change is the only review skill that orchestration workflows need to invoke.
- The suite uses one shared review packet and one normalized finding/verdict contract.
- Reviews are read-only. The calling workflow owns implementation, fixes, commits, and pushes.
- The default sequence is:
- capture the change contract and immutable evidence;
- review solution simplicity;
- review correctness;
- review code simplicity; and
- run a targeted correctness recheck after accepted simplification changes.
- Correctness constraints override simplification proposals.
- Review evidence is bound to the reviewed head. Base drift triggers merge-candidate analysis and only invalidates all review evidence when the effective diff or resulting tree changes, conflicts appear, relevant code overlaps, or repository policy explicitly requires a complete reset.
- Runtime behavior must not depend on
code-review-pro, Code Review Master, or any other third-party skill. Those may be used as research sources only.
- Detailed rubric text must live in the owning lens, not be duplicated across the orchestrator and
implement-epic-sequence.
Scope
- Define and validate the shared evidence and finding contracts.
- Implement the three review lenses.
- Implement orchestration, ordering, aggregation, and bounded re-review behavior.
- Add realistic forward-test fixtures covering correctness, genuine simplification, over-engineering, and intentionally necessary complexity.
- Integrate the suite into
implement-epic-sequence.
- Update repository discovery documentation and changelog entries.
Non-goals
- Build a static analyzer, linter, or language server.
- Automatically modify reviewed code from a review-only context.
- Enforce universal line-count, cyclomatic-complexity, SOLID, or design-pattern rules.
- Produce style-only, praise-only, or generic best-practice reports.
- Add more review lenses before the initial three demonstrate a real gap.
- Require every repository to use human or connector review when its policy does not require them.
- Copy or vendor a third-party review skill as the runtime implementation.
Required child sequence
- Define the shared review evidence, finding, verdict, and evaluation contracts.
- Implement
review-correctness.
- Implement
review-solution-simplicity.
- Implement
review-code-simplicity.
- Implement
review-code-change orchestration after all three lenses exist.
- Integrate the repository-owned suite into
implement-epic-sequence.
The three lens skills may proceed in parallel after the shared contract is complete. The orchestrator must wait for all three. Epic integration must wait for the orchestrator.
Epic acceptance criteria
Outcome
Build a repository-owned, composable code-review suite that provides three focused review lenses and one orchestrator:
review-correctnessreview-solution-simplicityreview-code-simplicityreview-code-changeThe suite must replace the runtime dependency on third-party review skills in
implement-epic-sequencewhile remaining useful outside epic execution.Motivation
A single generic review checklist mixes concerns that need different reasoning:
Keeping the lenses separate prevents correctness hardening, line-level cleanup, and whole-solution redesign from diluting one another. Repository-owned skills also make the workflow deterministic when a third-party skill is not installed.
Architectural decisions
review-code-changeis the only review skill that orchestration workflows need to invoke.code-review-pro, Code Review Master, or any other third-party skill. Those may be used as research sources only.implement-epic-sequence.Scope
implement-epic-sequence.Non-goals
Required child sequence
review-correctness.review-solution-simplicity.review-code-simplicity.review-code-changeorchestration after all three lenses exist.implement-epic-sequence.The three lens skills may proceed in parallel after the shared contract is complete. The orchestrator must wait for all three. Epic integration must wait for the orchestrator.
Epic acceptance criteria
review-code-changeinvokes only repository-owned skills and produces one deduplicated aggregate verdict.implement-epic-sequencedepends onreview-code-change, notcode-review-pro.implement-epic-sequenceand its GitHub/review references.just format,just lint, andjust testpass on the final integrated mainline.