You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .agents/skills/review/SKILL.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
name: review
3
-
description: Independently verifies an implementation against its authorized final Design, shared working tree, real production call paths, and validation entrypoints. Use automatically through an independent subagent after Act completes or requests follow-up review; run read-only in the existing workspace.
3
+
description: Independently verifies an implementation against its authorized final Design, shared working tree, real production call paths, validation entrypoints, and intended input class rather than visible examples. Use automatically through an independent subagent after Act completes or requests follow-up review; run read-only in the existing workspace.
4
4
---
5
5
6
6
# Workflow Review
@@ -20,10 +20,11 @@ Work read-only in the shared working tree. Never create a worktree, edit files,
20
20
1. Build a checklist from every final Design success criterion, constraint, interface, failure behavior, production integration obligation, and durable project-documentation obligation.
21
21
2. Trace each requirement through the real runtime/editor/tooling call path. Confirm wiring, ownership, error/cleanup behavior, and compatibility boundaries.
22
22
3. Inspect the actual diff and surrounding consumers, not just named declarations or tests.
23
-
4. Cross-check the actual diff against the supplied validation entrypoints and any raw evidence. Verify that each evidence type proves the claimed behavior and follows the project's deterministic-versus-visual validation rules.
24
-
5. Reverse-audit every added dependency, abstraction, interface or factory, wrapper, configuration or flag, state copy or cache, compatibility path, fallback, file, and duplicated helper. Identify the Design criterion or inspected project constraint that requires it, and check whether existing project code, a shared seam, the standard library, the engine/platform, or an installed dependency already provides a complete solution. Report unsupported complexity, but do not optimize for raw line or file count and do not remove required validation, failure handling, security, accessibility, or project ownership boundaries.
25
-
6. Inspect version-control ownership and documentation boundaries.
26
-
7. Report only evidence-backed P0/P1/P2 findings with tight file/line references and causal mechanisms.
23
+
4. Audit generalization from the Design, public contracts, and domain invariants. Inspect implementation and validation for behavior coupled to visible examples, fixture/test names, exact names or IDs, incidental ordering or counts, current dimensions or data values, or the current dataset. Vary those irrelevant properties mentally or through already-authorized evidence and trace whether the same rule still holds. Do not demand behavior outside the authorized input class, and do not treat protocol-, schema-, or domain-required constants as overfitting.
24
+
5. Cross-check the actual diff against the supplied validation entrypoints and any raw evidence. Verify that each evidence type proves the claimed behavior and follows the project's deterministic-versus-visual validation rules. Passing examples are insufficient when the implementation or evidence does not exercise the governing invariant.
25
+
6. Reverse-audit every added dependency, abstraction, interface or factory, wrapper, configuration or flag, state copy or cache, compatibility path, fallback, file, and duplicated helper. Identify the Design criterion or inspected project constraint that requires it, and check whether existing project code, a shared seam, the standard library, the engine/platform, or an installed dependency already provides a complete solution. Report unsupported complexity, but do not optimize for raw line or file count and do not remove required validation, failure handling, security, accessibility, or project ownership boundaries.
26
+
7. Inspect version-control ownership and documentation boundaries.
27
+
8. Report only evidence-backed P0/P1/P2 findings with tight file/line references and causal mechanisms.
short_description: "Independently verify implementation completeness in place"
4
-
default_prompt: "Use $review to inspect the shared working tree and validation evidence against its authorized Design."
3
+
short_description: "Verify completeness and reject example-specific implementations"
4
+
default_prompt: "Use $review to inspect the shared working tree, production paths, generalization, and validation evidence against its authorized Design."
- Treat declarations, selectors, tests, or registration as insufficient unless the real runtime/editor/tooling path consumes them.
10
10
- Verify every final Design success criterion, constraint, contract, failure behavior, and required production integration path has evidence.
11
+
- Derive the intended input class and governing invariants only from the final Design, public contracts, inspected project rules, and domain model. Do not silently broaden the feature while reviewing it.
12
+
- Audit implementation and validation for example-specific coupling: fixture or test names, exact names/IDs, incidental order/count/dimensions, visible sample values, current dataset membership, and branches that recognize known cases instead of implementing the governing rule. Consider equivalent inputs with those irrelevant properties changed and trace the production behavior.
13
+
- Treat a fixed value as legitimate when an explicit protocol, schema, resource format, approved requirement, or domain invariant requires it. Report overfitting only when evidence connects an incidental example property to incorrect or unsupported behavior.
11
14
- For every Design correction that affects implementation, verify the final selected Design is the sole scope authority; if the diff exceeds it, report the excess rather than inferring user authorization.
12
15
- Confirm the supplied workspace is the workspace whose diff is reviewed. When a linked worktree was created, verify the local Design was not copied or staged and that the implementation diff belongs to the supplied workspace.
13
16
- Verify every selected Design decision or amendment that creates a durable project rule has the required project-documentation target; a workflow-only record is insufficient.
@@ -19,7 +22,7 @@ Determine whether the shared working tree fully implements the authorized final
19
22
## Severity
20
23
21
24
-**P0:** Data loss, security boundary break, destructive behavior, or unusable core workflow.
22
-
-**P1:** Unmet success criterion, broken production integration, false validation claim, or material regression.
23
-
-**P2:** Non-blocking maintainability or resilience issue with a concrete risk.
25
+
-**P1:** Unmet success criterion, broken production integration, false validation claim, material regression, or implementation that only satisfies visible examples while failing the authorized input class.
26
+
-**P2:** Non-blocking maintainability or resilience issue with a concrete risk, including suspicious example coupling whose failure is not yet demonstrated.
24
27
25
28
`PASS` requires no P0/P1, no unaccounted success criterion, and no implementation beyond final Design scope. If a finding admits multiple reasonable fixes or changes intent, state the decision needed; the main agent must ask the user.
Copy file name to clipboardExpand all lines: .agents/skills/review/references/reviewer-output.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,9 +5,13 @@
5
5
| Success criterion | Evidence inspected | Result |
6
6
| --- | --- | --- |
7
7
8
+
## Generalization audit
9
+
10
+
For each materially changed behavior, state the intended input class or invariant, the irrelevant example properties varied or counterexamples inspected, the production evidence, and the result. Do not claim broader support than the final Design requires.
11
+
8
12
## Findings
9
13
10
-
For each finding provide severity, concise title, exact file/line, observed evidence, causal mechanism, and violated criterion/constraint. Omit the section when there are no findings.
14
+
For each finding provide severity, concise title, exact file/line, observed evidence, causal mechanism, and violated criterion/constraint. For overfitting, identify the incidental example property the implementation depends on and an equivalent authorized input that would take the wrong path. Omit the section when there are no findings.
0 commit comments