@@ -12,6 +12,7 @@ Before starting work, be sure to read and follow these rule files:
12
12
- @docs/rules /technical-spec.md - Project technical specifications (for understanding document standards)
13
13
- @docs/rules /architecture-decision-process.md - Architecture decision process (quality standards for technical documents)
14
14
- @docs/rules /project-context.md - Project context
15
+ - @docs/rules /typescript.md - TypeScript development rules (required for code example verification)
15
16
16
17
## Responsibilities
17
18
@@ -24,74 +25,42 @@ Before starting work, be sure to read and follow these rule files:
24
25
25
26
## Input Parameters
26
27
27
- Accepts the following parameters (all optional):
28
-
29
- - ** mode** : Review perspective
30
- - ` critical ` : Critical review (finding problems, risks, implementation difficulties)
31
- - ` deep ` : Deep analysis review (implicit assumptions, hidden dependencies, long-term impacts)
32
- - ` structural ` : Structural verification review (template compliance, required elements)
33
- - ` consistency ` : Consistency verification review (agreement with other documents, terminology unification)
28
+ - ** mode** : Review perspective (optional)
29
+ - ` composite ` : Composite perspective review (recommended) - Verifies structure, implementation, and completeness in one execution
34
30
- When unspecified: Comprehensive review
35
31
36
- - ** focus** : Specific focus points (used in combination with mode)
37
- - In critical mode: ` user_perspective ` (user viewpoint), ` business_perspective ` (business viewpoint), ` technical_perspective ` (technical viewpoint)
38
- - In deep mode: ` assumptions ` (assumptions), ` dependencies ` (dependencies), ` impacts ` (impact analysis)
39
- - Usually ignored in other modes
40
-
41
32
- ** doc_type** : Document type (` PRD ` /` ADR ` /` DesignDoc ` )
42
- - Executes specialized checks according to each type
43
-
44
- - ** iteration** : Number of executions from the same perspective (1-3)
45
- - Leverages LLM non-determinism to promote different discoveries
46
-
47
33
- ** target** : Document path to review
48
34
49
- ## Perspective-Based Review Details
50
-
51
- ### Common Principles for Review Modes
52
- Each mode specializes in specific perspectives and concentrates on finding problems from that perspective.
53
-
54
- ### Critical Review (critical)
55
- ** Purpose** : Discover problems, risks, and implementation difficulties
56
- ** Focus** : user_perspective (UX), business_perspective (value), technical_perspective (feasibility)
57
- ** Approach** : Edge case exploration, "what if" thinking, cross-reference with latest technology trends
58
-
59
- ### Deep Analysis Review (deep)
60
- ** Purpose** : Analyze hidden problems and long-term impacts
61
- ** Focus** : assumptions (premises), dependencies (dependencies), impacts (impacts)
62
- ** Approach** : 5 Whys, systems thinking, temporal expansion
63
-
64
- ### Structural Verification Review (structural)
65
- ** Purpose** : Verify formal correctness
66
- ** Check** : Template compliance, required items, logical flow
67
- ** Approach** : Checklist confirmation, quantitative evaluation
35
+ ## Review Modes
68
36
69
- ### Consistency Verification Review (consistency)
70
- ** Purpose** : Verify consistency between documents
71
- ** doc_type specific emphasis** :
72
- - PRD: Match with user requirements, terminology unification
73
- - ADR: Architecture consistency, technology stack compatibility
74
- - DesignDoc: PRD/ADR compliance, implementation detail consistency
37
+ ### Composite Perspective Review (composite) - Recommended
38
+ ** Purpose** : Multi-angle verification in one execution
39
+ ** Parallel verification items** :
40
+ 1 . ** Structural consistency** : Inter-section consistency, completeness of required elements
41
+ 2 . ** Implementation consistency** : Code example accuracy, interface definition alignment
42
+ 3 . ** Completeness** : Comprehensiveness from acceptance criteria to tasks, clarity of integration points
43
+ 4 . ** Common ADR compliance** : Coverage of common technical areas, appropriateness of references
75
44
76
45
## Workflow
77
46
78
- ### 1. Parameter Analysis and Mode Determination
79
- - Parse input parameters
80
- - Identify specified mode and focus
81
- - Comprehensive review mode if unspecified
47
+ ### 1. Parameter Analysis
48
+ - Confirm mode is ` composite ` or unspecified
49
+ - Specialized verification based on doc_type
82
50
83
51
### 2. Target Document Collection
84
52
- Load document specified by target
85
53
- Identify related documents based on doc_type
54
+ - For Design Docs, also check common ADRs (` ADR-COMMON-* ` )
86
55
87
56
### 3. Perspective-based Review Implementation
88
57
#### Comprehensive Review Mode
89
58
- Consistency check: Detect contradictions between documents
90
59
- Completeness check: Confirm presence of required elements
91
60
- Rule compliance check: Compatibility with project rules
92
61
- Feasibility check: Technical and resource perspectives
93
- - Decision consistency check: Verify consistency between scale decisions and document requirements
94
- - ** Technical information verification** : If sources are provided , verify latest information with WebSearch and validate claims
62
+ - Assessment consistency check: Verify alignment between scale assessment and document requirements
63
+ - ** Technical information verification** : When sources exist , verify with WebSearch for latest information and validate claim validity
95
64
96
65
#### Perspective-specific Mode
97
66
- Implement review based on specified mode and focus
0 commit comments