loom-code-review
Code review is adversarial evidence and implementation judgment, not politeness or rubber-stamping.
This playbook adapts peer code-review request and reception workflows into Loom's
critique, ticket, evidence, and ship layers.
Core Dependency
This playbook requires loom-core. If using-loom and the core owner-layer
skills are not installed or preloaded, stop and load/install loom-core instead
of treating this playbook as a substitute for Loom doctrine or record grammar.
What This Workflow Coordinates
- five-axis review: correctness, readability, architecture, security, performance
- test and evidence review before acceptance
- review packet/context preparation for humans or agents
- external review feedback classification and response
- ticket-owned finding disposition and follow-up routing
What This Workflow Does Not Own
- critique verdict records; use core critique
- ticket acceptance, finding disposition, or closure; use tickets
- evidence artifacts; use evidence
- Git provenance; use
loom-git
- PR or release wording; use
loom-ship
Use This Skill When
- reviewing a diff before merge or acceptance
- an AI agent or human produced code that needs independent scrutiny
- a bug fix needs both implementation and regression-test review
- receiving review comments that may be correct, unclear, optional, or wrong
- a change is large enough that tests passing is not sufficient evidence
Do Not Use This Skill When
- the request is only to read current code and explain it; use codemap or research
- no implementation or reviewable artifact exists yet
- the target is a Loom record rather than code; use core critique directly
- the next step is only packaging already-reviewed work; use
loom-ship
Default Procedure
- Understand intent before diff details: spec, ticket, acceptance IDs, plan,
evidence, risk class, and claimed behavior.
- Review tests first. Ask whether they prove behavior, cover edge/error cases, and
would fail for the likely regression.
- Review implementation across correctness, readability, architecture, security,
and performance.
- Check change size and concern mixing. Ask for split work when reviewability is poor.
- Verify the verification story: commands, browser evidence, scans, screenshots,
benchmarks, skipped checks, and stale outputs.
- Record durable findings in critique when they should persist. Classify severity,
confidence, evidence reviewed, residual risk, and required follow-up.
- Route every open medium/high finding to ticket-owned disposition before closure.
- When receiving feedback, evaluate it technically before implementing. Clarify
unclear items, push back on incorrect or out-of-scope requests, and implement
valid fixes one at a time with verification.
- Use
loom-ship only after review disposition and evidence are truthful.
Finding Severity And Disposition
Use core critique severity in saved critique findings: low, medium, or
high. Put action semantics in the finding title, impact, or required follow-up;
do not replace core severity with peer labels such as Critical, Important,
Suggestion, Nit, or FYI.
high: likely blocks acceptance unless the ticket records resolved,
accepted_risk, superseded, or converted_to_follow_up disposition.
medium: material risk or quality gap that needs ticket-owned disposition
before closure.
low: useful concern or polish issue; record it when it should persist, but it
does not block closure by default.
For open medium/high findings, use only the ticket-owned finding dispositions
from core: resolved, accepted_risk, superseded, or
converted_to_follow_up.
Common Rationalizations
- Rationalization: "Tests pass, so review can be quick."
Reality: Tests do not cover architecture, security, readability, performance, or evidence sufficiency.
- Rationalization: "It's AI-generated but looks plausible."
Reality: AI code needs more scrutiny because it can be confidently wrong.
- Rationalization: "Reviewer feedback is an order."
Reality: Feedback is a claim to evaluate against codebase truth, scope, and owner records.
- Rationalization: "We can clean it up later."
Reality: Deferred cleanup needs ticket disposition; otherwise it usually disappears.
Red Flags
LGTM without evidence of axes reviewed
- no review of tests or evidence
- required and optional comments are indistinguishable
- large mixed feature/refactor/config changes reviewed as one blob
- security-sensitive diff lacks security review
- external feedback implemented before verification or clarification
- medium/high findings lack ticket disposition
Verification
Done Means
- critique and ticket records tell the truth about review outcome
- evidence supports or limits the acceptance claim
- required findings are
resolved, accepted_risk, superseded, or
converted_to_follow_up
- optional feedback is not treated as hidden mandatory scope
- shipping summaries can mirror owner truth without inventing it
Read In This Order
Read immediately for code review:
references/review-and-feedback-loop.md for five-axis review, review packet
context, core severity/disposition usage, external feedback handling, and
dependency review.
- the core
loom-critique skill for durable findings and verdicts.
- the core
loom-tickets skill for finding disposition and closure gate.
- the core
loom-evidence skill for verification story checks.
Then read conditionally:
skills/loom-security/SKILL.md or skills/loom-performance/SKILL.md for specialized risk.
skills/loom-git/SKILL.md when base/head, diff, branch, or PR provenance matters.
skills/loom-ship/SKILL.md when packaging review outcome for PR or release.
1---
2name: loom-code-review
3description: "Run multi-axis implementation review through Loom critique. Use before merge, after feature or bug-fix implementation, when receiving review feedback, when reviewing AI/human code, or when correctness, readability, architecture, security, performance, tests, or evidence need pressure-testing."
4compatibility: Markdown-native, script-free Loom protocol.
5metadata:
6 source: https://skillmd.com/skills/aibot88/loom-code-review
7 skill_kind: workflow
8---
9
10# loom-code-review
11
12Code review is adversarial evidence and implementation judgment, not politeness or rubber-stamping.
13
14This playbook adapts peer code-review request and reception workflows into Loom's
15critique, ticket, evidence, and ship layers.
16
17## Core Dependency
18
19This playbook requires `loom-core`. If `using-loom` and the core owner-layer
20skills are not installed or preloaded, stop and load/install `loom-core` instead
21of treating this playbook as a substitute for Loom doctrine or record grammar.
22
23## What This Workflow Coordinates
24
25- five-axis review: correctness, readability, architecture, security, performance
26- test and evidence review before acceptance
27- review packet/context preparation for humans or agents
28- external review feedback classification and response
29- ticket-owned finding disposition and follow-up routing
30
31## What This Workflow Does Not Own
32
33- critique verdict records; use core critique
34- ticket acceptance, finding disposition, or closure; use tickets
35- evidence artifacts; use evidence
36- Git provenance; use `loom-git`
37- PR or release wording; use `loom-ship`
38
39## Use This Skill When
40
41- reviewing a diff before merge or acceptance
42- an AI agent or human produced code that needs independent scrutiny
43- a bug fix needs both implementation and regression-test review
44- receiving review comments that may be correct, unclear, optional, or wrong
45- a change is large enough that tests passing is not sufficient evidence
46
47## Do Not Use This Skill When
48
49- the request is only to read current code and explain it; use codemap or research
50- no implementation or reviewable artifact exists yet
51- the target is a Loom record rather than code; use core critique directly
52- the next step is only packaging already-reviewed work; use `loom-ship`
53
54## Default Procedure
55
561. Understand intent before diff details: spec, ticket, acceptance IDs, plan,
57 evidence, risk class, and claimed behavior.
582. Review tests first. Ask whether they prove behavior, cover edge/error cases, and
59 would fail for the likely regression.
603. Review implementation across correctness, readability, architecture, security,
61 and performance.
624. Check change size and concern mixing. Ask for split work when reviewability is poor.
635. Verify the verification story: commands, browser evidence, scans, screenshots,
64 benchmarks, skipped checks, and stale outputs.
656. Record durable findings in critique when they should persist. Classify severity,
66 confidence, evidence reviewed, residual risk, and required follow-up.
677. Route every open medium/high finding to ticket-owned disposition before closure.
688. When receiving feedback, evaluate it technically before implementing. Clarify
69 unclear items, push back on incorrect or out-of-scope requests, and implement
70 valid fixes one at a time with verification.
719. Use `loom-ship` only after review disposition and evidence are truthful.
72
73## Finding Severity And Disposition
74
75Use core critique severity in saved critique findings: `low`, `medium`, or
76`high`. Put action semantics in the finding title, impact, or required follow-up;
77do not replace core severity with peer labels such as `Critical`, `Important`,
78`Suggestion`, `Nit`, or `FYI`.
79
80- `high`: likely blocks acceptance unless the ticket records `resolved`,
81 `accepted_risk`, `superseded`, or `converted_to_follow_up` disposition.
82- `medium`: material risk or quality gap that needs ticket-owned disposition
83 before closure.
84- `low`: useful concern or polish issue; record it when it should persist, but it
85 does not block closure by default.
86
87For open medium/high findings, use only the ticket-owned finding dispositions
88from core: `resolved`, `accepted_risk`, `superseded`, or
89`converted_to_follow_up`.
90
91## Common Rationalizations
92
93- **Rationalization:** "Tests pass, so review can be quick."
94 **Reality:** Tests do not cover architecture, security, readability, performance, or evidence sufficiency.
95- **Rationalization:** "It's AI-generated but looks plausible."
96 **Reality:** AI code needs more scrutiny because it can be confidently wrong.
97- **Rationalization:** "Reviewer feedback is an order."
98 **Reality:** Feedback is a claim to evaluate against codebase truth, scope, and owner records.
99- **Rationalization:** "We can clean it up later."
100 **Reality:** Deferred cleanup needs ticket disposition; otherwise it usually disappears.
101
102## Red Flags
103
104- `LGTM` without evidence of axes reviewed
105- no review of tests or evidence
106- required and optional comments are indistinguishable
107- large mixed feature/refactor/config changes reviewed as one blob
108- security-sensitive diff lacks security review
109- external feedback implemented before verification or clarification
110- medium/high findings lack ticket disposition
111
112## Verification
113
114- [ ] Review target, base/head or changed files, and intent are explicit.
115- [ ] Tests and evidence were reviewed before implementation details.
116- [ ] Five axes were considered or scoped out with rationale.
117- [ ] Findings have severity, confidence, evidence, and required action.
118- [ ] Ticket-owned disposition exists for closure-relevant findings.
119- [ ] External feedback was classified before implementation.
120
121## Done Means
122
123- critique and ticket records tell the truth about review outcome
124- evidence supports or limits the acceptance claim
125- required findings are `resolved`, `accepted_risk`, `superseded`, or
126 `converted_to_follow_up`
127- optional feedback is not treated as hidden mandatory scope
128- shipping summaries can mirror owner truth without inventing it
129
130## Read In This Order
131
132Read immediately for code review:
133
1341. `references/review-and-feedback-loop.md` for five-axis review, review packet
135 context, core severity/disposition usage, external feedback handling, and
136 dependency review.
1372. the core `loom-critique` skill for durable findings and verdicts.
1383. the core `loom-tickets` skill for finding disposition and closure gate.
1394. the core `loom-evidence` skill for verification story checks.
140
141Then read conditionally:
142
1435. `skills/loom-security/SKILL.md` or `skills/loom-performance/SKILL.md` for specialized risk.
1446. `skills/loom-git/SKILL.md` when base/head, diff, branch, or PR provenance matters.
1457. `skills/loom-ship/SKILL.md` when packaging review outcome for PR or release.